[Privoxy-devel] Release date for Privoxy 4.2.0 stable

Roland Rosenfeld roland at spinnaker.de
Sun May 17 09:15:26 CEST 2026


On Sun, 17 May 2026, Fabian Keil via Privoxy-devel wrote:

> Roland Rosenfeld <roland at spinnaker.de> wrote on 2026-05-16 at 10:01:06:
> Thanks for checking. I admit that I did not actually test on GNU/Linux.
> 
> The tests that fail on your system have in common that they require
> local IP addresses that aren't available on most systems by default
> (for example 127.0.1.2 and 127.0.1.3).
>
> There's a helper script that is supposed to check if an IP address
> is available. If it isn't, the test is supposed to be skipped.
> 
> I suspect that this isn't working on your system and it's conceivable
> that this is something Linux-specific and not limited to your local
> system.
> 
> Do you get an error message if you run "./tests/cts/bind-to-address.pl 127.0.1.3"?
> 
> Is 127.0.1.3 available on your system and is curl allowed to use
> the address when testing?

This was a limitation in my local package filter (nftables), which
only allowed 127.0.0.1 on loopback.  I extended this allow 127.0.0.0/8
and the problems were reduced.
Now acl-multiple-ip-addresses-specified-with-destination succeeds.

acl-multiple-ip-addresses-specified-without-destination was reduced to
two fails:

test 0004...[Request from client address from denied network range]
 
curl returned 52, when expecting 56
 4: exit FAILED
test 0005...[Request from client address from denied network range]
 
curl returned 52, when expecting 56
 5: exit FAILED
test 0006...[Request from client address from denied network range to destination that has an exception]
---d---e--- OK (6   out of 6  , remaining: 00:00, took 0.059s, duration: 00:01)
TESTDONE: 6 tests were considered during 1 seconds.
TESTDONE: 4 tests out of 6 reported OK: 66%
 
FAIL 4: 'Request from client address from denied network range' HTTP, HTTP GET
FAIL 5: 'Request from client address from denied network range' HTTP, HTTP GET
 
TESTFAIL: These test cases failed: 4 5

I didn't understand what's going wrong here, yet.


acl-permit-access-with-exceptions fails on only one test:
test 0004...[Request from client address from denied network range]
 
 4: data FAILED:
Unprocessed headers:
--- log/check-expected  2026-05-17 09:01:42.068380568 +0200
+++ log/check-generated 2026-05-17 09:01:42.068380568 +0200
@@ -1,11 +1,17 @@
-HTTP/1.1 503 Connect failed[LF]
-Content-Length: 44[LF]
-Content-Type: text/html[LF]
-Cache-Control: no-cache[LF]
-X-Ignore-Header: Date[LF]
+HTTP/1.1 404 Not Found[LF]
 Date: Wed, 01 Apr 2026 07:30:49 GMT[LF]
-Last-Modified: Wed, 08 Jun 1955 12:00:00 GMT[LF]
-Expires: Sat, 17 Jun 2000 12:00:00 GMT[LF]
-Pragma: no-cache[LF]
+Server: Apache/2.4.67 (Debian)[LF]
+Content-Length: 311[LF]
+Connection: close[LF]
+Content-Type: text/html; charset=iso-8859-1[LF]
+Proxy-Connection: keep-alive[LF]
 [LF]
-Could not connect to destination 127.0.0.1.[LF]
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">[LF]
+<html><head>[LF]
+<title>404 Not Found</title>[LF]
+</head><body>[LF]
+<h1>Not Found</h1>[LF]
+<p>The requested URL was not found on this server.</p>[LF]
+<hr>[LF]
+<address>Apache/2.4.67 (Debian) Server at 127.0.0.1 Port 80</address>[LF]
+</body></html>[LF]
Processed headers:
--- log/check-expected  2026-05-17 09:01:42.072380416 +0200
+++ log/check-generated 2026-05-17 09:01:42.072380416 +0200
@@ -1,11 +1,16 @@
-HTTP/1.1 503 Connect failed[LF]
-Content-Length: 44[LF]
-Content-Type: text/html[LF]
-Cache-Control: no-cache[LF]
+HTTP/1.1 404 Not Found[LF]
 X-Ignore-Header: Date[LF]
 Date: Wed, 01 Apr 2026 07:30:49 GMT[LF]
-Last-Modified: Wed, 08 Jun 1955 12:00:00 GMT[LF]
-Expires: Sat, 17 Jun 2000 12:00:00 GMT[LF]
-Pragma: no-cache[LF]
+Server: Apache/2.4.67 (Debian)[LF]
+Content-Length: 311[LF]
+Content-Type: text/html; charset=iso-8859-1[LF]
 [LF]
-Could not connect to destination 127.0.0.1.[LF]
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">[LF]
+<html><head>[LF]
+<title>404 Not Found</title>[LF]
+</head><body>[LF]
+<h1>Not Found</h1>[LF]
+<p>The requested URL was not found on this server.</p>[LF]
+<hr>[LF]
+<address>Apache/2.4.67 (Debian) Server at 127.0.0.1 Port 80</address>[LF]
+</body></html>[LF]


Okay, this test expects, that no server is listening on 127.0.0.1:80,
which isn't true on my development machine.  If I stop apache2, the
test succeeds :-)


Greetings
Roland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20260517/0c50443a/attachment-0001.bin>


More information about the Privoxy-devel mailing list