privoxy.git
8 years agoProperly deal with Keep-Alive headers with timeout= parameters
Fabian Keil [Mon, 10 Feb 2014 14:42:18 +0000 (14:42 +0000)]
Properly deal with Keep-Alive headers with timeout= parameters

If the timeout still can't be parsed, use the configured
timeout instead of preventing the client from keeping the
connection alive.

Should fix #3615312/#870 reported by Bernard Guillot.

8 years agoFix comment typo
Fabian Keil [Mon, 10 Feb 2014 14:39:43 +0000 (14:39 +0000)]
Fix comment typo

8 years agoBe more explicit about accept-intercepted-requests's lack of MITM support
Fabian Keil [Mon, 10 Feb 2014 14:39:13 +0000 (14:39 +0000)]
Be more explicit about accept-intercepted-requests's lack of MITM support

8 years agoFix spelling
Fabian Keil [Mon, 10 Feb 2014 14:38:45 +0000 (14:38 +0000)]
Fix spelling

8 years agoAdd #120: Add an option to limit pcre's recursion limit below the default
Fabian Keil [Sun, 2 Feb 2014 12:03:50 +0000 (12:03 +0000)]
Add #120: Add an option to limit pcre's recursion limit below the default

8 years agoAdd #119: Evaluate using pcre's jit mode.
Fabian Keil [Sun, 2 Feb 2014 12:03:36 +0000 (12:03 +0000)]
Add #119: Evaluate using pcre's jit mode.

8 years agoAdd #118: There should be 'escaped' dynamic variables
Fabian Keil [Fri, 31 Jan 2014 12:47:43 +0000 (12:47 +0000)]
Add #118: There should be 'escaped' dynamic variables

8 years agoAdd #117: Dynamic variables are documented poorly.
Fabian Keil [Fri, 31 Jan 2014 12:47:31 +0000 (12:47 +0000)]
Add #117: Dynamic variables are documented poorly.

8 years agoAdd #116: Privoxy will fail to parse large chunks
Fabian Keil [Fri, 31 Jan 2014 12:47:15 +0000 (12:47 +0000)]
Add #116: Privoxy will fail to parse large chunks

8 years agoDowngrade mark_matching_tests_for_skipping()'s log message
Fabian Keil [Tue, 24 Dec 2013 13:36:58 +0000 (13:36 +0000)]
Downgrade mark_matching_tests_for_skipping()'s log message

... to LL_FILE_LOADING.

8 years agoUpdate #96 as things have been slightly improved by the introduction of get_filter()
Fabian Keil [Tue, 24 Dec 2013 13:36:01 +0000 (13:36 +0000)]
Update #96 as things have been slightly improved by the introduction of get_filter()

8 years agoRemove #90 now that negative tag patterns are implemented
Fabian Keil [Tue, 24 Dec 2013 13:35:41 +0000 (13:35 +0000)]
Remove #90 now that negative tag patterns are implemented

8 years agoFix a comment typo
Fabian Keil [Tue, 24 Dec 2013 13:35:23 +0000 (13:35 +0000)]
Fix a comment typo

8 years agoUse get_filter() in referenced_filters_are_missing()
Fabian Keil [Tue, 24 Dec 2013 13:35:07 +0000 (13:35 +0000)]
Use get_filter() in referenced_filters_are_missing()

8 years agoFlatten indentation in header_tagger() and filter_header()
Fabian Keil [Tue, 24 Dec 2013 13:34:45 +0000 (13:34 +0000)]
Flatten indentation in header_tagger() and filter_header()

8 years agoRemove code duplication in header_tagger() and filter_header()
Fabian Keil [Tue, 24 Dec 2013 13:34:22 +0000 (13:34 +0000)]
Remove code duplication in header_tagger() and filter_header()

... by using get_filter().

Hohoho.

8 years agoFlatten indentation in pcrs_filter_response()
Fabian Keil [Tue, 24 Dec 2013 13:33:13 +0000 (13:33 +0000)]
Flatten indentation in pcrs_filter_response()

8 years agoFactor get_filter() out of pcrs_filter_response()
Fabian Keil [Tue, 24 Dec 2013 13:32:51 +0000 (13:32 +0000)]
Factor get_filter() out of pcrs_filter_response()

8 years agoNote that documentation issues are bugs, too
Fabian Keil [Mon, 16 Dec 2013 11:31:07 +0000 (11:31 +0000)]
Note that documentation issues are bugs, too

8 years agoAdd Reuben Thomas as contributor for #3615276
Fabian Keil [Mon, 16 Dec 2013 11:20:30 +0000 (11:20 +0000)]
Add Reuben Thomas as contributor for #3615276

8 years agoSpell 'more reliably' more correctly
Fabian Keil [Mon, 16 Dec 2013 11:20:14 +0000 (11:20 +0000)]
Spell 'more reliably' more correctly

Reported by Reuben Thomas in #3615276.

9 years agoFinish the unionization of struct pattern_spec
Fabian Keil [Sun, 24 Nov 2013 14:47:45 +0000 (14:47 +0000)]
Finish the unionization of struct pattern_spec

Previously I missed the "#ifndef FEATURE_EXTENDED_HOST_PATTERNS"
parts. Oops.

9 years agoupdate_action_bits_for_all_tags() got removed in 2011, ditch an overlooked function...
Fabian Keil [Sun, 24 Nov 2013 14:27:27 +0000 (14:27 +0000)]
update_action_bits_for_all_tags() got removed in 2011, ditch an overlooked function definition

9 years agoDocument negative tag patterns
Fabian Keil [Sun, 24 Nov 2013 14:27:09 +0000 (14:27 +0000)]
Document negative tag patterns

9 years agoFix a comment typo
Fabian Keil [Sun, 24 Nov 2013 14:26:39 +0000 (14:26 +0000)]
Fix a comment typo

9 years agoRemove an unused FOREVER definition
Fabian Keil [Sun, 24 Nov 2013 14:26:27 +0000 (14:26 +0000)]
Remove an unused FOREVER definition

9 years agoUse an enum for JB_ERR_* values so they are available in the debugger
Fabian Keil [Sun, 24 Nov 2013 14:26:16 +0000 (14:26 +0000)]
Use an enum for JB_ERR_* values so they are available in the debugger

9 years agoReduce code duplication in create_pattern_spec()
Fabian Keil [Sun, 24 Nov 2013 14:25:55 +0000 (14:25 +0000)]
Reduce code duplication in create_pattern_spec()

9 years agoRename (create|free)_url_spec() to _pattern_spec()
Fabian Keil [Sun, 24 Nov 2013 14:25:19 +0000 (14:25 +0000)]
Rename (create|free)_url_spec() to _pattern_spec()

They deal with all kinds of patterns now.

9 years agoIntroduce negative tag patterns NO-REQUEST-TAG and NO-RESPONSE-TAG
Fabian Keil [Sun, 24 Nov 2013 14:24:18 +0000 (14:24 +0000)]
Introduce negative tag patterns NO-REQUEST-TAG and NO-RESPONSE-TAG

They apply if no matching tag is found after parsing client
or server headers.

9 years agoDitch useless C++ compatibility goo
Fabian Keil [Sun, 24 Nov 2013 14:23:28 +0000 (14:23 +0000)]
Ditch useless C++ compatibility goo

9 years agoTurn url_spec into an union and rename it to pattern_spec
Fabian Keil [Sun, 24 Nov 2013 14:22:51 +0000 (14:22 +0000)]
Turn url_spec into an union and rename it to pattern_spec

... nowadays it can contain TAG patterns as well.

9 years agoMicro-optimization to reduce the size of struct http_response
Fabian Keil [Sun, 24 Nov 2013 14:21:58 +0000 (14:21 +0000)]
Micro-optimization to reduce the size of struct http_response

On my amd64 system the size goes down from 72 to 64 bytes.

9 years agoAdd David Wagner as contributor for #3615179
Fabian Keil [Sun, 24 Nov 2013 14:21:17 +0000 (14:21 +0000)]
Add David Wagner as contributor for #3615179

9 years agoAdd Anatoly Arzhnikov as contributor for #3615187
Fabian Keil [Sun, 24 Nov 2013 14:21:06 +0000 (14:21 +0000)]
Add Anatoly Arzhnikov as contributor for #3615187

9 years agoLet --with-group properly deal with secondary groups
Fabian Keil [Thu, 7 Nov 2013 15:11:32 +0000 (15:11 +0000)]
Let --with-group properly deal with secondary groups

Patch submitted by Anatoly Arzhnikov in #3615187.

9 years agoWhite-space adjustments for the previous commit
Fabian Keil [Thu, 7 Nov 2013 14:42:02 +0000 (14:42 +0000)]
White-space adjustments for the previous commit

9 years agoAdded an entry for the _privoxy user account deletion issue when upgrading to OS...
Ian Silvester [Wed, 6 Nov 2013 19:24:18 +0000 (19:24 +0000)]
Added an entry for the _privoxy user account deletion issue when upgrading to OS X 10.9

9 years agoUnblock Stackexchange popup URLs that aren't used to serve ads
Fabian Keil [Wed, 6 Nov 2013 16:30:23 +0000 (16:30 +0000)]
Unblock Stackexchange popup URLs that aren't used to serve ads

Reported by David Wagner in #3615179.

9 years agoRephrase the 'Why is the configuration so complicated?' answer
Fabian Keil [Wed, 6 Nov 2013 16:28:58 +0000 (16:28 +0000)]
Rephrase the 'Why is the configuration so complicated?' answer

.. to be slightly less condescending.

Anonymously suggested in #3615122.

9 years agoRemove an unhelpful comment
Fabian Keil [Wed, 6 Nov 2013 16:28:00 +0000 (16:28 +0000)]
Remove an unhelpful comment

9 years agoRemove a couple of unnecessary struct forward definitions
Fabian Keil [Wed, 6 Nov 2013 16:27:37 +0000 (16:27 +0000)]
Remove a couple of unnecessary struct forward definitions

9 years agoAdd #115: Add ICAP (RFC 3507) support.
Fabian Keil [Wed, 30 Oct 2013 14:31:37 +0000 (14:31 +0000)]
Add #115: Add ICAP (RFC 3507) support.

9 years agoRephrase #114, uploading OpenPGP keys only fails on some servers
Fabian Keil [Wed, 30 Oct 2013 14:31:23 +0000 (14:31 +0000)]
Rephrase #114, uploading OpenPGP keys only fails on some servers

9 years agoDisable fast-redirects for creativecommons.org/
Fabian Keil [Wed, 30 Oct 2013 14:31:05 +0000 (14:31 +0000)]
Disable fast-redirects for creativecommons.org/

9 years agoDisable fast-redirects for .facebook.com/plugins/like.php
Fabian Keil [Wed, 30 Oct 2013 14:30:52 +0000 (14:30 +0000)]
Disable fast-redirects for .facebook.com/plugins/like.php

9 years agoRemove an already commented-out section about stuff that is 'not likely to happen'
Fabian Keil [Wed, 30 Oct 2013 14:30:24 +0000 (14:30 +0000)]
Remove an already commented-out section about stuff that is 'not likely to happen'

9 years agoDitch stray 'one'
Fabian Keil [Thu, 29 Aug 2013 11:21:00 +0000 (11:21 +0000)]
Ditch stray 'one'

9 years agoFix typos
Fabian Keil [Thu, 29 Aug 2013 11:13:00 +0000 (11:13 +0000)]
Fix typos

9 years agoAdd #114: Properly deal with status code 100
Fabian Keil [Thu, 29 Aug 2013 11:12:50 +0000 (11:12 +0000)]
Add #114: Properly deal with status code 100

9 years agoAdd #113: Log statistics upon receiving a certain signal
Fabian Keil [Thu, 29 Aug 2013 11:12:37 +0000 (11:12 +0000)]
Add #113: Log statistics upon receiving a certain signal

9 years agoAdd #112: Detect header insertion with \r\n and split the header
Fabian Keil [Thu, 29 Aug 2013 11:12:27 +0000 (11:12 +0000)]
Add #112: Detect header insertion with \r\n and split the header

9 years agoFix a warning in case of empty lines
Fabian Keil [Thu, 29 Aug 2013 11:12:13 +0000 (11:12 +0000)]
Fix a warning in case of empty lines

9 years agoDo not repeatedly complain about missing header taggers or filters ...
Fabian Keil [Tue, 6 Aug 2013 12:59:34 +0000 (12:59 +0000)]
Do not repeatedly complain about missing header taggers or filters ...

... when trying to execute them.

Nowadays Privoxy already warns about missing filters and taggers
after loading action files. One log message per missing filter or
tagger should be enough.

9 years agoDon't complain about missing header taggers or filters ...
Fabian Keil [Tue, 6 Aug 2013 12:58:28 +0000 (12:58 +0000)]
Don't complain about missing header taggers or filters ...

... just because no filter file is being used. As long as no action
file is referencing any header taggers or filters that's perfectly
fine.

Reported by Stefan Kurtz in #3614835.

9 years agoUnblock .rote-hilfe.de/
Fabian Keil [Wed, 31 Jul 2013 17:21:33 +0000 (17:21 +0000)]
Unblock .rote-hilfe.de/

9 years agoRebuild with recent changes
Fabian Keil [Fri, 21 Jun 2013 14:47:10 +0000 (14:47 +0000)]
Rebuild with recent changes

9 years agoLink to the SPI homepage instead of the "About SPI" page which no longer exists
Fabian Keil [Fri, 21 Jun 2013 14:46:46 +0000 (14:46 +0000)]
Link to the SPI homepage instead of the "About SPI" page which no longer exists

Reported by Mark Nelson in #3614557.

9 years agoUpdate link to the SF registration form
Fabian Keil [Fri, 21 Jun 2013 14:46:09 +0000 (14:46 +0000)]
Update link to the SF registration form

Reported by Mark Nelson in #3614557.

9 years agoUnblock .bundestag.de/
Fabian Keil [Sun, 2 Jun 2013 14:11:46 +0000 (14:11 +0000)]
Unblock .bundestag.de/

9 years agoUnblock .conrad./newsletter/
Fabian Keil [Sun, 2 Jun 2013 14:11:31 +0000 (14:11 +0000)]
Unblock .conrad./newsletter/

Reported by David Bo in #3614238.

9 years agoBlock requests to data.gosquared.com/
Fabian Keil [Tue, 28 May 2013 14:39:30 +0000 (14:39 +0000)]
Block requests to data.gosquared.com/

Reported by cbug in #3613653.

9 years agoAdd a test for http://adn.speedtest.net which shouldn't be blocked
Fabian Keil [Tue, 28 May 2013 14:39:18 +0000 (14:39 +0000)]
Add a test for adn.speedtest.net which shouldn't be blocked

9 years agoDisable filter{banners-by-size} for creativecommons.org/
Fabian Keil [Tue, 28 May 2013 14:39:05 +0000 (14:39 +0000)]
Disable filter{banners-by-size} for creativecommons.org/

9 years agoAdd #111: Reject requests if hosts and ports in request line and Host header don...
Fabian Keil [Tue, 28 May 2013 14:38:39 +0000 (14:38 +0000)]
Add #111: Reject requests if hosts and ports in request line and Host header don't match.

9 years agoShow the absolute number of improperly accounted requests
Fabian Keil [Tue, 28 May 2013 14:38:15 +0000 (14:38 +0000)]
Show the absolute number of improperly accounted requests

While at it, add a comment describing why accounting issues aren't (necessarily) bugs.

9 years agoSupport request #3612908; add adn.speedtest.net as a site-specific unblocker
Ian Silvester [Thu, 9 May 2013 12:58:46 +0000 (12:58 +0000)]
Support request #3612908; add adn.speedtest.net as a site-specific unblocker

9 years agoDisable filter{banners-by-size} for .dgb-tagungszentren.de/
Fabian Keil [Sat, 4 May 2013 05:37:16 +0000 (05:37 +0000)]
Disable filter{banners-by-size} for .dgb-tagungszentren.de/

9 years agoDisable fast-redirects for .microsofttranslator.com/
Fabian Keil [Sat, 4 May 2013 05:36:28 +0000 (05:36 +0000)]
Disable fast-redirects for .microsofttranslator.com/

Apparently Microsoft took over babelfish.altavista.com
which might explain why the translation no longer works
on my system.

9 years agoFix a comment typo in header_tagger()
Fabian Keil [Tue, 23 Apr 2013 09:43:25 +0000 (09:43 +0000)]
Fix a comment typo in header_tagger()

9 years agoTurn single-threaded into a "proper" toggle directive
Fabian Keil [Tue, 23 Apr 2013 09:42:53 +0000 (09:42 +0000)]
Turn single-threaded into a "proper" toggle directive

This turns "single-threaded" without argument into a syntax
error, but as it's only supposed to be used for debugging,
this shouldn't cause any problems.

The good news is that "single-threaded 0" no longer means
the same as "single-threaded 1" which was kinda non-intuitive.

9 years agoRemove an unreachable else clause in match_sockaddr()
Fabian Keil [Tue, 23 Apr 2013 09:37:28 +0000 (09:37 +0000)]
Remove an unreachable else clause in match_sockaddr()

Family mismatches are already checked for and dealt with at
the beginning of the function (and aren't supposed to happen
anyway).

9 years agoStop blocking 'promotions.'
Fabian Keil [Wed, 20 Mar 2013 11:35:35 +0000 (11:35 +0000)]
Stop blocking 'promotions.'

It was initially added to block http://promotions.newegg.com/
but it's no longer appropriate. According to my logs the pattern
doesn't seem to be useful for lots of other sites either.

Reported by rakista in #3608540.

9 years agoLink to our own copy of the license
Fabian Keil [Wed, 20 Mar 2013 11:33:26 +0000 (11:33 +0000)]
Link to our own copy of the license

9 years agoLet the user control how links in the templates are opened
Fabian Keil [Wed, 20 Mar 2013 11:33:02 +0000 (11:33 +0000)]
Let the user control how links in the templates are opened

Enforcing new windows is rude.

9 years agoAdd Edward Carrel to the list of contributors
Fabian Keil [Wed, 20 Mar 2013 11:31:41 +0000 (11:31 +0000)]
Add Edward Carrel to the list of contributors

He submitted Mac OS X patches in #1409623.

9 years agoRemove an undocumented workaround for an Apple iTunes bug
Fabian Keil [Wed, 20 Mar 2013 11:31:20 +0000 (11:31 +0000)]
Remove an undocumented workaround for an Apple iTunes bug

According to #729900 Apple fixed the bug in 2003.

9 years agoTwo white-space fixes
Fabian Keil [Wed, 20 Mar 2013 11:30:45 +0000 (11:30 +0000)]
Two white-space fixes

9 years agoFix grammar in the redirect{} description
Fabian Keil [Wed, 20 Mar 2013 11:30:28 +0000 (11:30 +0000)]
Fix grammar in the redirect{} description

9 years agoFix a comment typo
Fabian Keil [Wed, 20 Mar 2013 11:30:05 +0000 (11:30 +0000)]
Fix a comment typo

9 years agoSet version to 3.0.22 UNRELEASED
Fabian Keil [Wed, 20 Mar 2013 11:25:52 +0000 (11:25 +0000)]
Set version to 3.0.22 UNRELEASED

9 years agoChangeLog cosmetics
Fabian Keil [Sun, 10 Mar 2013 13:52:04 +0000 (13:52 +0000)]
ChangeLog cosmetics

This commit will be used on the website and for the
announcement mail but is too late for the tarball.

9 years agoSync the announcement with the ChangeLog
Fabian Keil [Thu, 7 Mar 2013 14:28:19 +0000 (14:28 +0000)]
Sync the announcement with the ChangeLog

9 years agoGrammar fix for the enable-proxy-authentication-forwarding entry
Fabian Keil [Thu, 7 Mar 2013 14:26:47 +0000 (14:26 +0000)]
Grammar fix for the enable-proxy-authentication-forwarding entry

9 years agoRebuild documentation for enable-proxy-authentication-forwarding
Fabian Keil [Thu, 7 Mar 2013 14:12:22 +0000 (14:12 +0000)]
Rebuild documentation for enable-proxy-authentication-forwarding

9 years agoRebuild config for enable-proxy-authentication-forwarding
Fabian Keil [Thu, 7 Mar 2013 14:11:51 +0000 (14:11 +0000)]
Rebuild config for enable-proxy-authentication-forwarding

9 years agoAdd ChangeLog entry for enable-proxy-authentication-forwarding
Fabian Keil [Thu, 7 Mar 2013 14:11:11 +0000 (14:11 +0000)]
Add ChangeLog entry for enable-proxy-authentication-forwarding

9 years agoDocument enable-proxy-authentication-forwarding
Fabian Keil [Thu, 7 Mar 2013 14:10:48 +0000 (14:10 +0000)]
Document enable-proxy-authentication-forwarding

9 years agoFix the table of content which was missing the MISCELLANEOUS section
Fabian Keil [Thu, 7 Mar 2013 14:10:34 +0000 (14:10 +0000)]
Fix the table of content which was missing the MISCELLANEOUS section

9 years agoFix verbose messages which didn't show the test number since r1.89
Fabian Keil [Thu, 7 Mar 2013 14:10:04 +0000 (14:10 +0000)]
Fix verbose messages which didn't show the test number since r1.89

9 years agoBump copyright
Fabian Keil [Thu, 7 Mar 2013 14:09:34 +0000 (14:09 +0000)]
Bump copyright

9 years agoAdd tests for enable-proxy-authentication-forwarding
Fabian Keil [Thu, 7 Mar 2013 14:09:20 +0000 (14:09 +0000)]
Add tests for enable-proxy-authentication-forwarding

9 years agoAdd an enable-proxy-authentication-forwarding directive
Fabian Keil [Thu, 7 Mar 2013 14:08:50 +0000 (14:08 +0000)]
Add an enable-proxy-authentication-forwarding directive

It allows to keep Proxy-Authorization headers in requests
and Proxy-Authenticate headers in responses.

This was previously done by default, but forwarding such
headers potentially allows malicious sites to trick the
user into providing them with login information.

Reported by Chris John Riley.

9 years agoRemoved __APPLE_CC__ from two conditional defines in order to prevent a compiler...
Ian Silvester [Wed, 6 Mar 2013 21:06:18 +0000 (21:06 +0000)]
Removed __APPLE_CC__ from two conditional defines in order to prevent a compiler warning on OS X

9 years agoAdd the '/js/slider\.js' removal to the ChangeLog
Fabian Keil [Sun, 3 Mar 2013 11:25:16 +0000 (11:25 +0000)]
Add the '/js/slider\.js' removal to the ChangeLog

9 years agoStop blocking '/js/slider\.js'
Fabian Keil [Sun, 3 Mar 2013 10:53:36 +0000 (10:53 +0000)]
Stop blocking '/js/slider\.js'

Apparently it nowadays mostly breaks stuff.

Reported by Adam Piggott in #3606635.

9 years agoRegenerate config for 3.0.21 stable
Fabian Keil [Sat, 2 Mar 2013 14:47:05 +0000 (14:47 +0000)]
Regenerate config for 3.0.21 stable

9 years agoRemove another pointless version prefix 'v'
Fabian Keil [Sat, 2 Mar 2013 14:46:06 +0000 (14:46 +0000)]
Remove another pointless version prefix 'v'

9 years agoRebuild docs with recent changes
Fabian Keil [Sat, 2 Mar 2013 14:41:28 +0000 (14:41 +0000)]
Rebuild docs with recent changes

9 years agoRegenerate man page
Fabian Keil [Sat, 2 Mar 2013 14:40:39 +0000 (14:40 +0000)]
Regenerate man page