privoxy.git
6 hours agoRegenerate curl-test-manifest-for-privoxy master
Fabian Keil [Wed, 1 Oct 2025 09:56:34 +0000 (11:56 +0200)]
Regenerate curl-test-manifest-for-privoxy

6 hours agogen-skip-reasons.pl: Skip tests with non-standard 'Connection: mooo' headers
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

6 hours agotests/cts: Add 'DISABLED' files to the data directories
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.

6 hours agoDisable the forward-to-socks-proxy and forward-to-http-proxy scenarios for now
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

6 hours agotests/cts: Remove 'none' server section from tests
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.

6 hours agoWiden block pattern from 'metrics.' to '.metricts.'
Fabian Keil [Fri, 19 Sep 2025 09:51:18 +0000 (11:51 +0200)]
Widen block pattern from 'metrics.' to '.metricts.'

6 hours agoprivoxy-log-parser: Highlight: Socket 8 timed out while waiting for client headers
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

6 hours agoLet get_destination_from_headers() handle the https case as well to reduce code dupli...
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

6 hours agoget_destination_from_https_headers(): Properly handle IPv6 addresses
Fabian Keil [Thu, 11 Sep 2025 12:37:38 +0000 (14:37 +0200)]
get_destination_from_https_headers(): Properly handle IPv6 addresses

6 hours agoget_destination_from_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

6 hours agoclient_host(): 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

6 hours agosocks4_connect(): Fix the dstsize passed to strlcpy() in case of socks4a
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

6 hours agoclient_host_adder(): Remove stray space
Fabian Keil [Tue, 9 Sep 2025 14:01:21 +0000 (16:01 +0200)]
client_host_adder(): Remove stray space

6 hours agoerror_response(): Prevent a theoretical memory leak
Fabian Keil [Tue, 9 Sep 2025 12:42:54 +0000 (14:42 +0200)]
error_response(): Prevent a theoretical memory leak

Reported by Joshua Rogers.

6 hours agolog_error(): Fix segmentation fault
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.

6 hours agoaccept_connection(): Fix memory and socket leak
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.

4 weeks agoRegenerate homepage with new vanity onion service address
Fabian Keil [Fri, 5 Sep 2025 12:22:22 +0000 (14:22 +0200)]
Regenerate homepage with new vanity onion service address

4 weeks agoUse new vanity onion address for the privoxy.org onion service
Fabian Keil [Fri, 5 Sep 2025 12:18:08 +0000 (14:18 +0200)]
Use new vanity onion address for the privoxy.org onion service

4 weeks agoDisable filter{banners-by-size} for .jwz.org/
Fabian Keil [Wed, 27 Aug 2025 10:05:28 +0000 (12:05 +0200)]
Disable filter{banners-by-size} for .jwz.org/

4 weeks agoDisable fast-redirects for report.error-report.com/
Fabian Keil [Tue, 26 Aug 2025 16:51:33 +0000 (18:51 +0200)]
Disable fast-redirects for report.error-report.com/

2 months agotests/cts/gzip-compression/data/test13: Fix repetitive sequence by adding a missing %
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 %

2 months agotests: Increase the socket-timeout for the upstream tests to 6 seconds
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.

2 months agoRegenerate curl-test-manifest-for-privoxy
Fabian Keil [Fri, 8 Aug 2025 11:06:50 +0000 (13:06 +0200)]
Regenerate curl-test-manifest-for-privoxy

2 months agotests/cts/gen-skip-reasons.pl: Skip a bunch more tests that fail when using more...
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

2 months agoUnblock .crates.io/
Fabian Keil [Wed, 23 Jul 2025 03:29:22 +0000 (05:29 +0200)]
Unblock .crates.io/

2 months agoDisable deanimate-gifs for .githubusercontent.com/
Fabian Keil [Tue, 22 Jul 2025 18:48:14 +0000 (20:48 +0200)]
Disable deanimate-gifs for .githubusercontent.com/

2 months agoprivoxy-log-parser: Highlight 'Giving up draining socket 35.'
Fabian Keil [Tue, 8 Jul 2025 18:16:55 +0000 (20:16 +0200)]
privoxy-log-parser: Highlight 'Giving up draining socket 35.'

2 months agoprivoxy-log-parser: Highlight: "Tagger 'http-method' didn't add tag 'POST': suppressed"
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"

2 months agoprocess_encrypted_request_headers(): Add periods to a couple of log messages
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

3 months agoFix typos
Fabian Keil [Fri, 4 Jul 2025 17:27:07 +0000 (19:27 +0200)]
Fix typos

3 months agoprivoxy-log-parser: Fix typos
Fabian Keil [Fri, 4 Jul 2025 17:22:58 +0000 (19:22 +0200)]
privoxy-log-parser: Fix typos

3 months agourl-pattern-translator: Fix typos
Fabian Keil [Fri, 4 Jul 2025 17:19:32 +0000 (19:19 +0200)]
url-pattern-translator: Fix typos

3 months agoFix comment typo
Fabian Keil [Fri, 4 Jul 2025 17:18:01 +0000 (19:18 +0200)]
Fix comment typo

3 months agoFix typo
Fabian Keil [Fri, 4 Jul 2025 17:16:36 +0000 (19:16 +0200)]
Fix typo

3 months agoDisable the banners-by-size filter for github.com
Fabian Keil [Tue, 1 Jul 2025 11:38:13 +0000 (13:38 +0200)]
Disable the banners-by-size filter for github.com

3 months agoBump copyright
Fabian Keil [Thu, 26 Jun 2025 11:29:09 +0000 (13:29 +0200)]
Bump copyright

3 months agoAdd Jakub Kulik as contributor
Fabian Keil [Thu, 26 Jun 2025 11:28:02 +0000 (13:28 +0200)]
Add Jakub Kulik as contributor

3 months agoFix detection and use of pcre2.h from a subdirectory
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.

3 months agoAdd Zstandard-decompression support
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/

3 months agoBump copyright
Fabian Keil [Sun, 22 Jun 2025 09:25:42 +0000 (11:25 +0200)]
Bump copyright

3 months agoLet the "clean" target remove logs from the cts tests
Fabian Keil [Sun, 22 Jun 2025 09:22:29 +0000 (11:22 +0200)]
Let the "clean" target remove logs from the cts tests

3 months agoAdd a couple of tests for connection headers with keep-alive-timeout set
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

3 months agoIf the server sends multiple Connection headers, only parse and forward the first one
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

3 months agoRename connection_header_contains_keep_alive_keyword()
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.

3 months agoDon't forward unsupported Connection keywords if there are "too many" keywords to...
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

3 months agoRemove support for pcre1
Fabian Keil [Sun, 7 Feb 2021 03:12:14 +0000 (04:12 +0100)]
Remove support for pcre1

3 months agoUpdate 25_standard_medium to changed upstream.
Roland Rosenfeld [Sun, 22 Jun 2025 13:21:48 +0000 (15:21 +0200)]
Update 25_standard_medium to changed upstream.

3 months agoDebian: Update debian/ dir to Debian 4.0.0-2 package.
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

3 months agoStop downgrading the HTTP version for port 631
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 ...

3 months agoFix sticky actions for .flickr.com to match the action section
Fabian Keil [Fri, 20 Jun 2025 06:02:34 +0000 (08:02 +0200)]
Fix sticky actions for .flickr.com to match the action section

3 months agoRemove an action section without an URL pattern
Fabian Keil [Fri, 20 Jun 2025 06:01:33 +0000 (08:01 +0200)]
Remove an action section without an URL pattern

3 months agoPrevent a fingerprinting issue with various login pages
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.

3 months agoinit_domain_components(): Assert that the http->dbuffer and http->dvec are NULL
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.

3 months agoparse_http_url(): Fail if no host is found when we expected one
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.

3 months agoRemove ifdef FEATURE_HTTPS_INSPECTION that is always true
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.

3 months agohandle_established_connection(): Improve an error message
Fabian Keil [Sat, 3 May 2025 15:31:09 +0000 (17:31 +0200)]
handle_established_connection(): Improve an error message

3 months agoAdd +server-header-tagger{content-type} to all standard settings
Fabian Keil [Thu, 27 Mar 2025 13:29:47 +0000 (14:29 +0100)]
Add +server-header-tagger{content-type} to all standard settings

3 months agoDon't forward connection options Privoxy doesn't understand
Fabian Keil [Mon, 10 Feb 2025 11:05:22 +0000 (12:05 +0100)]
Don't forward connection options Privoxy doesn't understand

3 months agoBump copyright
Fabian Keil [Sun, 9 Feb 2025 14:17:39 +0000 (15:17 +0100)]
Bump copyright

3 months agoLook for the "keep-alive" keyword more carefully
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".

3 months agoBump copyright
Fabian Keil [Thu, 23 Jan 2025 09:49:07 +0000 (10:49 +0100)]
Bump copyright

5 months agoRemove Bronze sponsor www.proxidize.com
Fabian Keil [Fri, 9 May 2025 07:38:42 +0000 (09:38 +0200)]
Remove Bronze sponsor www.proxidize.com

5 months agotrivial nit: fix the comment
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?

5 months agoReally remove the obsolete ie-exploits filter
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.

5 months ago../privoxy-runtests.pm: Prevent warning if $_ is undefined
Fabian Keil [Mon, 14 Apr 2025 12:11:30 +0000 (14:11 +0200)]
../privoxy-runtests.pm: Prevent warning if $_ is undefined

5 months agoBump copyright
Fabian Keil [Mon, 7 Apr 2025 14:32:35 +0000 (16:32 +0200)]
Bump copyright

5 months agoUpdate imdb filter to remove wasted space below the search field
Fabian Keil [Mon, 7 Apr 2025 14:25:12 +0000 (16:25 +0200)]
Update imdb filter to remove wasted space below the search field

5 months agotests/cts/runtests-wrapper.sh: Stop explicitly setting HOSTIP
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.

5 months agoprivoxy-log-parser: Bump copyright
Fabian Keil [Tue, 8 Apr 2025 12:49:29 +0000 (14:49 +0200)]
privoxy-log-parser: Bump copyright

5 months agoprivoxy-log-parser: Highlight: 'Skipped filter 'banners-by-size' after job number...
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)'

6 months agoUpdate RSS feed for the 4.0.0 Windows binaries with HTTPS inspection support
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

6 months agoRemove claims that path matching can be turned case-sensitive
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.

6 months agoRemove the ie-exploits filter from the documentation
Fabian Keil [Thu, 6 Feb 2025 13:58:16 +0000 (14:58 +0100)]
Remove the ie-exploits filter from the documentation

6 months agoRemove the obsolete ie-exploits filter
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.

6 months agoBump copyright
Fabian Keil [Sun, 26 Jan 2025 12:37:44 +0000 (13:37 +0100)]
Bump copyright

6 months agocompile_pattern(): Use pcre2_get_error_message() to provide better error messages
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

6 months agoBlock requests for mv.outbrain.com/
Fabian Keil [Fri, 24 Jan 2025 18:10:58 +0000 (19:10 +0100)]
Block requests for mv.outbrain.com/

6 months agoBump SMGL entities for 4.1.0 UNRELEASED
Fabian Keil [Thu, 6 Feb 2025 14:08:04 +0000 (15:08 +0100)]
Bump SMGL entities for 4.1.0 UNRELEASED

6 months agoconfigure: Bump version to 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

6 months agowindows build: add a comment for "openssl" being an option for building
Lee [Thu, 3 Apr 2025 13:54:07 +0000 (09:54 -0400)]
windows build: add a comment for "openssl" being an option for building

6 months agowindows: add the option to build with openssl
Lee [Thu, 3 Apr 2025 13:52:23 +0000 (09:52 -0400)]
windows: add the option to build with openssl

6 months agowindows: use the mbedtls-3.6.3 library for https inspection
Lee [Thu, 3 Apr 2025 13:47:32 +0000 (09:47 -0400)]
windows: use the mbedtls-3.6.3 library for https inspection

8 months agoMerge Debian 4.0.0-1 changes.
Roland Rosenfeld [Fri, 31 Jan 2025 15:06:08 +0000 (16:06 +0100)]
Merge Debian 4.0.0-1 changes.

8 months agoRegenerate FAQ
Fabian Keil [Thu, 23 Jan 2025 08:50:18 +0000 (09:50 +0100)]
Regenerate FAQ

8 months agoAdd new FAQ: 'Is the Privoxy source tarball infected by a virus?'
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?'

8 months ago.../content-filters/content-filters.action: Remove duplicate action section
Fabian Keil [Thu, 23 Jan 2025 08:40:32 +0000 (09:40 +0100)]
.../content-filters/content-filters.action: Remove duplicate action section

8 months agoBump copyright
Fabian Keil [Sat, 18 Jan 2025 14:10:51 +0000 (15:10 +0100)]
Bump copyright

8 months agoAdd fetch test for the How-Tos in the user manual
Fabian Keil [Sat, 18 Jan 2025 14:10:22 +0000 (15:10 +0100)]
Add fetch test for the How-Tos in the user manual

8 months agoBump copyright
Fabian Keil [Tue, 14 Jan 2025 15:19:39 +0000 (16:19 +0100)]
Bump copyright

8 months agoUpdate RSS feed for the 4.0.0 release
Fabian Keil [Wed, 22 Jan 2025 06:00:51 +0000 (07:00 +0100)]
Update RSS feed for the 4.0.0 release

8 months agotests/cts: quote % in skip-reasons and manifest. v_4_0_0
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.

8 months agotests/cts/runtests-wrapper: make curl_source_directory configurable
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.

8 months agoRegenerate HTML user manual
Fabian Keil [Tue, 14 Jan 2025 14:55:04 +0000 (15:55 +0100)]
Regenerate HTML user manual

8 months agoUpdate SGML ChangeLog
Fabian Keil [Tue, 14 Jan 2025 15:03:05 +0000 (16:03 +0100)]
Update SGML ChangeLog

8 months agoUpdate ChangeLog in the announcement
Fabian Keil [Tue, 14 Jan 2025 15:01:29 +0000 (16:01 +0100)]
Update ChangeLog in the announcement

8 months agoUpdate ChangeLog
Fabian Keil [Tue, 14 Jan 2025 14:59:07 +0000 (15:59 +0100)]
Update ChangeLog

8 months agouser-manual: Don't claim that all TLS libararies behave the same
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.

8 months agoBlock requests to b.6sc.co/
Fabian Keil [Tue, 14 Jan 2025 13:32:30 +0000 (14:32 +0100)]
Block requests to b.6sc.co/

8 months agoBlock requests to 0.css-load.com/
Fabian Keil [Tue, 14 Jan 2025 13:37:19 +0000 (14:37 +0100)]
Block requests to 0.css-load.com/

8 months agoBlock requests to html-load.com/ and 1.html-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/