privoxy.git
10 years agoRename STATIC_PCRE to FEATURE_DYNAMIC_PCRE
Fabian Keil [Tue, 20 May 2014 11:55:10 +0000 (11:55 +0000)]
Rename STATIC_PCRE to FEATURE_DYNAMIC_PCRE

... to be more consistent with other feature names.

STATIC_PCRE is still defined as it's expected by the internal
pcre to statically link on Windows.

10 years agoDijkstraize show_defines(): two or more, use a for
Fabian Keil [Tue, 20 May 2014 11:54:24 +0000 (11:54 +0000)]
Dijkstraize show_defines(): two or more, use a for

10 years agoUpdate #56 and add #126: Dealing with the compliance test results
Fabian Keil [Tue, 20 May 2014 11:52:46 +0000 (11:52 +0000)]
Update #56 and add #126: Dealing with the compliance test results

10 years agoFix spelling
Fabian Keil [Tue, 13 May 2014 11:42:20 +0000 (11:42 +0000)]
Fix spelling

10 years agoAdd the hosting wish list relevant for #53
Fabian Keil [Tue, 13 May 2014 11:16:12 +0000 (11:16 +0000)]
Add the hosting wish list relevant for #53

Originally proposed in:
http://sourceforge.net/p/ijbswa/mailman/message/32306540/
Slightly modified to fix spelling errors etc.

10 years agoNote that #56 is work in progress
Fabian Keil [Tue, 13 May 2014 11:15:28 +0000 (11:15 +0000)]
Note that #56 is work in progress

10 years agoTone down #123 a bit
Fabian Keil [Mon, 12 May 2014 10:38:54 +0000 (10:38 +0000)]
Tone down #123 a bit

On second thought it probably makes no sense.

10 years agoClarify which Capsicum #124 is referring to
Fabian Keil [Mon, 12 May 2014 10:37:15 +0000 (10:37 +0000)]
Clarify which Capsicum #124 is referring to

10 years agoFix spelling
Fabian Keil [Sun, 11 May 2014 13:17:49 +0000 (13:17 +0000)]
Fix spelling

10 years agoAdd #125: Allow clients to HTTPS-encrypt the proxy connection.
Fabian Keil [Sun, 11 May 2014 13:17:08 +0000 (13:17 +0000)]
Add #125: Allow clients to HTTPS-encrypt the proxy connection.

10 years agoAdd #124: Add Capsicum support
Fabian Keil [Sun, 11 May 2014 13:16:58 +0000 (13:16 +0000)]
Add #124: Add Capsicum support

10 years agoAdd #123: Allow to decrypt encrypted traffic using Firefox' session keys
Fabian Keil [Sun, 11 May 2014 13:15:53 +0000 (13:15 +0000)]
Add #123: Allow to decrypt encrypted traffic using Firefox' session keys

10 years agoFix a typo and try to clarify two sentences
Fabian Keil [Mon, 5 May 2014 10:08:43 +0000 (10:08 +0000)]
Fix a typo and try to clarify two sentences

10 years agoAdd a missing word
Fabian Keil [Mon, 5 May 2014 10:04:19 +0000 (10:04 +0000)]
Add a missing word

10 years agoLet the msn filter take care of a couple of CSS width restrictions again
Fabian Keil [Mon, 5 May 2014 09:59:51 +0000 (09:59 +0000)]
Let the msn filter take care of a couple of CSS width restrictions again

While at it, let it hide one of the two "related search" boxes.

10 years agoRecommend forward-socks5t when using Tor
Fabian Keil [Mon, 5 May 2014 09:59:30 +0000 (09:59 +0000)]
Recommend forward-socks5t when using Tor

It seems to work fine and modifying the Tor configuration
to profit from it hasn't been necessary for a while now.

10 years agoDynamically linking to PCRS hasn't been supported for years - stop pretending
Fabian Keil [Mon, 5 May 2014 09:55:51 +0000 (09:55 +0000)]
Dynamically linking to PCRS hasn't been supported for years - stop pretending

10 years agoDisable HTML filters if the response was tagged ^application/javascript$
Fabian Keil [Mon, 5 May 2014 09:55:25 +0000 (09:55 +0000)]
Disable HTML filters if the response was tagged ^application/javascript$

Filtering JavaScript code with filters intended to deal with HTML
is usually a waste of time and, more importantly, may break stuff.

10 years agoLet log_error() use its own buffer size #define
Fabian Keil [Mon, 5 May 2014 09:51:19 +0000 (09:51 +0000)]
Let log_error() use its own buffer size #define

.. to make changing the log buffer size slightly less inconvenient.

10 years agoRemove #117, now that dynamic variables are mentioned in the user manual
Fabian Keil [Mon, 5 May 2014 09:49:16 +0000 (09:49 +0000)]
Remove #117, now that dynamic variables are mentioned in the user manual

10 years agoReplace redundant contact information with a license summary
Fabian Keil [Mon, 5 May 2014 09:48:55 +0000 (09:48 +0000)]
Replace redundant contact information with a license summary

10 years agoMention the PCRS option letters T and D in the filter section
Fabian Keil [Mon, 5 May 2014 09:48:36 +0000 (09:48 +0000)]
Mention the PCRS option letters T and D in the filter section

10 years agoBlock requests for .adcash.com/script/
Fabian Keil [Mon, 5 May 2014 09:48:15 +0000 (09:48 +0000)]
Block requests for .adcash.com/script/

Reported by Tyrexionibus in #3615289.

10 years agoAdd an example for a host pattern that matches an IP address
Fabian Keil [Mon, 5 May 2014 09:47:41 +0000 (09:47 +0000)]
Add an example for a host pattern that matches an IP address

10 years agoRename the 'domain pattern' to 'host pattern' as it may contain IP addresses as well
Fabian Keil [Mon, 5 May 2014 09:47:20 +0000 (09:47 +0000)]
Rename the 'domain pattern' to 'host pattern' as it may contain IP addresses as well

10 years agoLet the msn filter hide 'related' ads again
Fabian Keil [Sat, 3 May 2014 17:18:38 +0000 (17:18 +0000)]
Let the msn filter hide 'related' ads again

10 years agoDecrease the chances that js-annoyances creates invalid JavaScript
Fabian Keil [Fri, 25 Apr 2014 11:49:12 +0000 (11:49 +0000)]
Decrease the chances that js-annoyances creates invalid JavaScript

Adding double quotes can cause problems if the filtered text
is part of an already double-quoted string.

Submitted by John McGowan on ijbswa-users@.

10 years agoAdd #122: Allow customized log messages
Fabian Keil [Mon, 21 Apr 2014 12:04:58 +0000 (12:04 +0000)]
Add #122: Allow customized log messages

10 years agoAdd #121: Add HTTP/2 support
Fabian Keil [Mon, 21 Apr 2014 12:04:40 +0000 (12:04 +0000)]
Add #121: Add HTTP/2 support

10 years agoAdd an example hostname to the --pre-chroot-nslookup description
Fabian Keil [Mon, 21 Apr 2014 12:04:23 +0000 (12:04 +0000)]
Add an example hostname to the --pre-chroot-nslookup description

10 years agoFix clang warnings
Fabian Keil [Mon, 21 Apr 2014 12:04:01 +0000 (12:04 +0000)]
Fix clang warnings

10 years agoUnblock .stopwatchingus.info/ whose banners aren't commercial ads
Fabian Keil [Sat, 8 Mar 2014 20:08:09 +0000 (20:08 +0000)]
Unblock .stopwatchingus.info/ whose banners aren't commercial ads

Full disclosure: As a member of Arbeitskreis Vorratsdatenspeicherung
(German Working Group on Data Retention) I'm also involved with
Stop Watching Us Cologne.

10 years agoMake 'demoronizer' FAQ entries more generic
Fabian Keil [Mon, 10 Feb 2014 14:43:46 +0000 (14:43 +0000)]
Make 'demoronizer' FAQ entries more generic

10 years agoAdd tests for invalid Keep-Alive headers that should be removed
Fabian Keil [Mon, 10 Feb 2014 14:43:22 +0000 (14:43 +0000)]
Add tests for invalid Keep-Alive headers that should be removed

10 years agoAdd a couple of Keep-Alive header tests
Fabian Keil [Mon, 10 Feb 2014 14:43:03 +0000 (14:43 +0000)]
Add a couple of Keep-Alive header tests

10 years agoDo not pass rejected keep-alive timeouts to the server
Fabian Keil [Mon, 10 Feb 2014 14:42:42 +0000 (14:42 +0000)]
Do not pass rejected keep-alive timeouts to the server

It might not have caused any problems (we know of),
but doing the right thing shouldn't hurt either.

10 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.

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

10 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

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

10 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

10 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.

10 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

10 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.

10 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

10 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.

10 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()

10 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

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

10 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()

10 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()

10 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.

10 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()

10 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()

10 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

10 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

10 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.

10 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.

10 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

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

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

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

10 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

10 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()

10 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.

10 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.

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

10 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.

10 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.

10 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

10 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

11 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.

11 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

11 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

11 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.

11 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.

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

11 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

11 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.

11 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

11 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/

11 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

11 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'

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

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

11 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

11 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

11 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

11 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

11 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.

11 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.

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

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

11 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.

11 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.

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

11 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.

11 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.

11 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

11 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/