Fabian Keil [Wed, 1 Oct 2025 09:56:34 +0000 (11:56 +0200)]
Regenerate curl-test-manifest-for-privoxy
Fabian Keil [Wed, 1 Oct 2025 09:54:54 +0000 (11:54 +0200)]
gen-skip-reasons.pl: Skip tests with non-standard 'Connection: mooo' headers
Fabian Keil [Fri, 26 Sep 2025 13:59:04 +0000 (15:59 +0200)]
tests/cts: Add 'DISABLED' files to the data directories
Since curl commit
b0394b1535db the files are required to
be present even if no tests are being disabled.
Fabian Keil [Fri, 26 Sep 2025 13:47:12 +0000 (15:47 +0200)]
Disable the forward-to-socks-proxy and forward-to-http-proxy scenarios for now
Since curl commit
d39db811929f the port randomisation can no
longer be disabled by the injected module so the tests don't
work at the moment.
Discussion on the curl library mailinglist didn't result in
a solution [0].
[0]: https://curl.se/mail/lib-2025-08/0000.html
Fabian Keil [Fri, 26 Sep 2025 13:38:23 +0000 (15:38 +0200)]
tests/cts: Remove 'none' server section from tests
It's no longer supported as of curl commit
71c9706959cb.
Fabian Keil [Fri, 19 Sep 2025 09:51:18 +0000 (11:51 +0200)]
Widen block pattern from 'metrics.' to '.metricts.'
Fabian Keil [Fri, 12 Sep 2025 10:25:15 +0000 (12:25 +0200)]
privoxy-log-parser: Highlight: Socket 8 timed out while waiting for client headers
Fabian Keil [Thu, 11 Sep 2025 12:44:38 +0000 (14:44 +0200)]
Let get_destination_from_headers() handle the https case as well to reduce code duplication
Fabian Keil [Thu, 11 Sep 2025 12:37:38 +0000 (14:37 +0200)]
get_destination_from_https_headers(): Properly handle IPv6 addresses
Fabian Keil [Thu, 11 Sep 2025 12:27:03 +0000 (14:27 +0200)]
get_destination_from_headers(): Properly handle IPv6 addresses
Fabian Keil [Thu, 11 Sep 2025 12:13:57 +0000 (14:13 +0200)]
client_host(): Properly handle IPv6 addresses
Reported by: Joshua Rogers
Fabian Keil [Thu, 11 Sep 2025 11:54:17 +0000 (13:54 +0200)]
socks4_connect(): Fix the dstsize passed to strlcpy() in case of socks4a
Previously we would substract sizeof(struct socks_op) twice
as it's already part of csiz. While this was wrong it didn't
cause any actual problems as the buffer size is so large that
it didn't matter.
Reported by: Joshua Rogers
Fabian Keil [Tue, 9 Sep 2025 14:01:21 +0000 (16:01 +0200)]
client_host_adder(): Remove stray space
Fabian Keil [Tue, 9 Sep 2025 12:42:54 +0000 (14:42 +0200)]
error_response(): Prevent a theoretical memory leak
Reported by Joshua Rogers.
Fabian Keil [Tue, 9 Sep 2025 11:57:44 +0000 (13:57 +0200)]
log_error(): Fix segmentation fault
... when logging %E on a platform that isn't Windows
and doesn't have strerror().
Reported by Joshua Rogers.
Fabian Keil [Tue, 9 Sep 2025 11:39:58 +0000 (13:39 +0200)]
accept_connection(): Fix memory and socket leak
... if the server name and port number ASCII decimal
representation don't fit. This is not expected to happen.
Reported by Joshua Rogers.
Fabian Keil [Fri, 5 Sep 2025 12:22:22 +0000 (14:22 +0200)]
Regenerate homepage with new vanity onion service address
Fabian Keil [Fri, 5 Sep 2025 12:18:08 +0000 (14:18 +0200)]
Use new vanity onion address for the privoxy.org onion service
Fabian Keil [Wed, 27 Aug 2025 10:05:28 +0000 (12:05 +0200)]
Disable filter{banners-by-size} for .jwz.org/
Fabian Keil [Tue, 26 Aug 2025 16:51:33 +0000 (18:51 +0200)]
Disable fast-redirects for report.error-report.com/
Fabian Keil [Wed, 6 Aug 2025 13:37:41 +0000 (15:37 +0200)]
tests/cts/gzip-compression/data/test13: Fix repetitive sequence by adding a missing %
Fabian Keil [Fri, 8 Aug 2025 10:20:54 +0000 (12:20 +0200)]
tests: Increase the socket-timeout for the upstream tests to 6 seconds
... so the upstream test 671 works which uses a pause of 5 seconds.
Fabian Keil [Fri, 8 Aug 2025 11:06:50 +0000 (13:06 +0200)]
Regenerate curl-test-manifest-for-privoxy
Fabian Keil [Fri, 8 Aug 2025 09:50:20 +0000 (11:50 +0200)]
tests/cts/gen-skip-reasons.pl: Skip a bunch more tests that fail when using more recent upstream sources
Fabian Keil [Wed, 23 Jul 2025 03:29:22 +0000 (05:29 +0200)]
Unblock .crates.io/
Fabian Keil [Tue, 22 Jul 2025 18:48:14 +0000 (20:48 +0200)]
Disable deanimate-gifs for .githubusercontent.com/
Fabian Keil [Tue, 8 Jul 2025 18:16:55 +0000 (20:16 +0200)]
privoxy-log-parser: Highlight 'Giving up draining socket 35.'
Fabian Keil [Tue, 8 Jul 2025 14:06:58 +0000 (16:06 +0200)]
privoxy-log-parser: Highlight: "Tagger 'http-method' didn't add tag 'POST': suppressed"
Fabian Keil [Wed, 2 Jul 2025 14:12:22 +0000 (16:12 +0200)]
process_encrypted_request_headers(): Add periods to a couple of log messages
Fabian Keil [Fri, 4 Jul 2025 17:27:07 +0000 (19:27 +0200)]
Fix typos
Fabian Keil [Fri, 4 Jul 2025 17:22:58 +0000 (19:22 +0200)]
privoxy-log-parser: Fix typos
Fabian Keil [Fri, 4 Jul 2025 17:19:32 +0000 (19:19 +0200)]
url-pattern-translator: Fix typos
Fabian Keil [Fri, 4 Jul 2025 17:18:01 +0000 (19:18 +0200)]
Fix comment typo
Fabian Keil [Fri, 4 Jul 2025 17:16:36 +0000 (19:16 +0200)]
Fix typo
Fabian Keil [Tue, 1 Jul 2025 11:38:13 +0000 (13:38 +0200)]
Disable the banners-by-size filter for github.com
Fabian Keil [Thu, 26 Jun 2025 11:29:09 +0000 (13:29 +0200)]
Bump copyright
Fabian Keil [Thu, 26 Jun 2025 11:28:02 +0000 (13:28 +0200)]
Add Jakub Kulik as contributor
Jakub Kulik [Thu, 26 Jun 2025 10:39:32 +0000 (12:39 +0200)]
Fix detection and use of pcre2.h from a subdirectory
SF bug #946.
Fabian Keil [Sun, 26 Jan 2025 13:12:23 +0000 (14:12 +0100)]
Add Zstandard-decompression support
Using the reference library zstd:
https://facebook.github.io/zstd/
Fabian Keil [Sun, 22 Jun 2025 09:25:42 +0000 (11:25 +0200)]
Bump copyright
Fabian Keil [Sun, 22 Jun 2025 09:22:29 +0000 (11:22 +0200)]
Let the "clean" target remove logs from the cts tests
Fabian Keil [Thu, 19 Jun 2025 10:27:36 +0000 (12:27 +0200)]
Add a couple of tests for connection headers with keep-alive-timeout set
Fabian Keil [Sun, 22 Jun 2025 08:57:09 +0000 (10:57 +0200)]
If the server sends multiple Connection headers, only parse and forward the first one
Fabian Keil [Fri, 20 Jun 2025 11:40:47 +0000 (13:40 +0200)]
Rename connection_header_contains_keep_alive_keyword()
... to keep_alive_keyword_detected() as the function may
return FALSE if there are "too many" keywords.
Document this behaviour explicitly.
Fabian Keil [Thu, 19 Jun 2025 10:14:07 +0000 (12:14 +0200)]
Don't forward unsupported Connection keywords if there are "too many" keywords to parse
Fabian Keil [Sun, 7 Feb 2021 03:12:14 +0000 (04:12 +0100)]
Remove support for pcre1
Roland Rosenfeld [Sun, 22 Jun 2025 13:21:48 +0000 (15:21 +0200)]
Update 25_standard_medium to changed upstream.
Roland Rosenfeld [Sun, 22 Jun 2025 13:13:28 +0000 (15:13 +0200)]
Debian: Update debian/ dir to Debian 4.0.0-2 package.
And change gitsnapshot version to 4.1.0~gitsnapshot-1
Fabian Keil [Fri, 20 Jun 2025 06:04:05 +0000 (08:04 +0200)]
Stop downgrading the HTTP version for port 631
It was supposed to work around a problem with the CUPS
webinterface but about 20 years later we probably don't
need it anymore ...
Fabian Keil [Fri, 20 Jun 2025 06:02:34 +0000 (08:02 +0200)]
Fix sticky actions for .flickr.com to match the action section
Fabian Keil [Fri, 20 Jun 2025 06:01:33 +0000 (08:01 +0200)]
Remove an action section without an URL pattern
Fabian Keil [Fri, 20 Jun 2025 03:31:06 +0000 (05:31 +0200)]
Prevent a fingerprinting issue with various login pages
... by not handling the requests as image requests
or fast-redirecting them.
Without the added section a request to a blocked or
redirected login URL could be misdetected by third
parties as the user being logged in to the given site,
thus making fingerprinting Privoxy users easier.
Note that this does not prevent the fingerprinting issue
if the client is actually logged in. For details see:
https://robinlinus.github.io/socialmedia-leak/
Doing that would probably be too invasive for a default
configuration.
Fabian Keil [Sun, 4 May 2025 13:13:06 +0000 (15:13 +0200)]
init_domain_components(): Assert that the http->dbuffer and http->dvec are NULL
To detect memory leaks earlier.
Fabian Keil [Sun, 4 May 2025 13:08:58 +0000 (15:08 +0200)]
parse_http_url(): Fail if no host is found when we expected one
This can happen in case of invalid requests in which case
Privoxy priviously would leak a couple of bytes of memory.
Fabian Keil [Sat, 3 May 2025 17:05:44 +0000 (19:05 +0200)]
Remove ifdef FEATURE_HTTPS_INSPECTION that is always true
... as it's in an ifdef FEATURE_HTTPS_INSPECTION block.
Fabian Keil [Sat, 3 May 2025 15:31:09 +0000 (17:31 +0200)]
handle_established_connection(): Improve an error message
Fabian Keil [Thu, 27 Mar 2025 13:29:47 +0000 (14:29 +0100)]
Add +server-header-tagger{content-type} to all standard settings
Fabian Keil [Mon, 10 Feb 2025 11:05:22 +0000 (12:05 +0100)]
Don't forward connection options Privoxy doesn't understand
Fabian Keil [Sun, 9 Feb 2025 14:17:39 +0000 (15:17 +0100)]
Bump copyright
Fabian Keil [Sat, 8 Feb 2025 12:55:15 +0000 (13:55 +0100)]
Look for the "keep-alive" keyword more carefully
... in Connection headers. Previously connections were not
kept alive if the Connection header contained additional
keywords like "Upgrade".
Fabian Keil [Thu, 23 Jan 2025 09:49:07 +0000 (10:49 +0100)]
Bump copyright
Fabian Keil [Fri, 9 May 2025 07:38:42 +0000 (09:38 +0200)]
Remove Bronze sponsor www.proxidize.com
Lee [Mon, 5 May 2025 22:52:54 +0000 (18:52 -0400)]
trivial nit: fix the comment
it was backwaqrds, but who looks at comments anyway?
Fabian Keil [Thu, 6 Feb 2025 13:56:56 +0000 (14:56 +0100)]
Really remove the obsolete ie-exploits filter
It doesn't actually reliably protect against Nimda, there never
were active maintainers and IE is obsolete anyway.
Also some virus scanners seem to be offended by the test case
for the filter in the source tarball.
This should have been committed with
62b68d363a7e71b.
Fabian Keil [Mon, 14 Apr 2025 12:11:30 +0000 (14:11 +0200)]
../privoxy-runtests.pm: Prevent warning if $_ is undefined
Fabian Keil [Mon, 7 Apr 2025 14:32:35 +0000 (16:32 +0200)]
Bump copyright
Fabian Keil [Mon, 7 Apr 2025 14:25:12 +0000 (16:25 +0200)]
Update imdb filter to remove wasted space below the search field
Fabian Keil [Sat, 11 Jan 2025 13:39:31 +0000 (14:39 +0100)]
tests/cts/runtests-wrapper.sh: Stop explicitly setting HOSTIP
It doesn't work with curl master at the moment.
Fabian Keil [Tue, 8 Apr 2025 12:49:29 +0000 (14:49 +0200)]
privoxy-log-parser: Bump copyright
Fabian Keil [Tue, 8 Apr 2025 12:45:54 +0000 (14:45 +0200)]
privoxy-log-parser: Highlight: 'Skipped filter 'banners-by-size' after job number 1: match limit exceeded (-47)'
Fabian Keil [Sun, 6 Apr 2025 09:25:15 +0000 (11:25 +0200)]
Update RSS feed for the 4.0.0 Windows binaries with HTTPS inspection support
Fabian Keil [Thu, 27 Mar 2025 13:27:29 +0000 (14:27 +0100)]
Remove claims that path matching can be turned case-sensitive
The suggested method doesn't actually work.
Fabian Keil [Thu, 6 Feb 2025 13:58:16 +0000 (14:58 +0100)]
Remove the ie-exploits filter from the documentation
Fabian Keil [Thu, 6 Feb 2025 13:56:56 +0000 (14:56 +0100)]
Remove the obsolete ie-exploits filter
It doesn't actually reliably protect against Nimda, there never
were active maintainers and IE is obsolete anyway.
Also some virus scanners seem to be offended by the test case
for the filter in the source tarball.
Fabian Keil [Sun, 26 Jan 2025 12:37:44 +0000 (13:37 +0100)]
Bump copyright
Fabian Keil [Sat, 25 Jan 2025 18:11:26 +0000 (19:11 +0100)]
compile_pattern(): Use pcre2_get_error_message() to provide better error messages
Fabian Keil [Fri, 24 Jan 2025 18:10:58 +0000 (19:10 +0100)]
Block requests for mv.outbrain.com/
Fabian Keil [Thu, 6 Feb 2025 14:08:04 +0000 (15:08 +0100)]
Bump SMGL entities for 4.1.0 UNRELEASED
Fabian Keil [Sun, 26 Jan 2025 12:54:22 +0000 (13:54 +0100)]
configure: Bump version to 4.1.0 UNRELEASED
Lee [Thu, 3 Apr 2025 13:54:07 +0000 (09:54 -0400)]
windows build: add a comment for "openssl" being an option for building
Lee [Thu, 3 Apr 2025 13:52:23 +0000 (09:52 -0400)]
windows: add the option to build with openssl
Lee [Thu, 3 Apr 2025 13:47:32 +0000 (09:47 -0400)]
windows: use the mbedtls-3.6.3 library for https inspection
Roland Rosenfeld [Fri, 31 Jan 2025 15:06:08 +0000 (16:06 +0100)]
Merge Debian 4.0.0-1 changes.
Fabian Keil [Thu, 23 Jan 2025 08:50:18 +0000 (09:50 +0100)]
Regenerate FAQ
Fabian Keil [Thu, 23 Jan 2025 08:49:55 +0000 (09:49 +0100)]
Add new FAQ: 'Is the Privoxy source tarball infected by a virus?'
Fabian Keil [Thu, 23 Jan 2025 08:40:32 +0000 (09:40 +0100)]
.../content-filters/content-filters.action: Remove duplicate action section
Fabian Keil [Sat, 18 Jan 2025 14:10:51 +0000 (15:10 +0100)]
Bump copyright
Fabian Keil [Sat, 18 Jan 2025 14:10:22 +0000 (15:10 +0100)]
Add fetch test for the How-Tos in the user manual
Fabian Keil [Tue, 14 Jan 2025 15:19:39 +0000 (16:19 +0100)]
Bump copyright
Fabian Keil [Wed, 22 Jan 2025 06:00:51 +0000 (07:00 +0100)]
Update RSS feed for the 4.0.0 release
Roland Rosenfeld [Fri, 17 Jan 2025 19:31:32 +0000 (20:31 +0100)]
tests/cts: quote % in skip-reasons and manifest.
curl testsuite runtests.pl uses the skip reason as sprintf() template.
So we have to quote % as %% in the skip reasons, otherwise runtests.pl
writes the following errors on stderr:
Invalid conversion in sprintf: "%{" at ./runtests.pl line 3904.
Invalid conversion in sprintf: "%H" at ./runtests.pl line 3904.
Invalid conversion in sprintf: "%H" at ./runtests.pl line 3904.
Invalid conversion in sprintf: "%H" at ./runtests.pl line 3904.
Roland Rosenfeld [Fri, 17 Jan 2025 19:29:53 +0000 (20:29 +0100)]
tests/cts/runtests-wrapper: make curl_source_directory configurable
by setting CURL_SOURCE_DIRECTORY environment variable.
Fabian Keil [Tue, 14 Jan 2025 14:55:04 +0000 (15:55 +0100)]
Regenerate HTML user manual
Fabian Keil [Tue, 14 Jan 2025 15:03:05 +0000 (16:03 +0100)]
Update SGML ChangeLog
Fabian Keil [Tue, 14 Jan 2025 15:01:29 +0000 (16:01 +0100)]
Update ChangeLog in the announcement
Fabian Keil [Tue, 14 Jan 2025 14:59:07 +0000 (15:59 +0100)]
Update ChangeLog
Fabian Keil [Tue, 14 Jan 2025 14:53:34 +0000 (15:53 +0100)]
user-manual: Don't claim that all TLS libararies behave the same
... and explicitly mention that the best choice depends on
various factors.
Fabian Keil [Tue, 14 Jan 2025 13:32:30 +0000 (14:32 +0100)]
Block requests to b.6sc.co/
Fabian Keil [Tue, 14 Jan 2025 13:37:19 +0000 (14:37 +0100)]
Block requests to 0.css-load.com/
Fabian Keil [Tue, 14 Jan 2025 13:32:11 +0000 (14:32 +0100)]
Block requests to html-load.com/ and 1.html-load.com/