privoxy.git
14 years agoFix comment typo.
Fabian Keil [Sun, 13 Jun 2010 12:24:49 +0000 (12:24 +0000)]
Fix comment typo.

14 years agoAccept and highlight actions and filter filte loading:
Fabian Keil [Sun, 30 May 2010 16:44:25 +0000 (16:44 +0000)]
Accept and highlight actions and filter filte loading:
Loading actions file: /usr/local/etc/privoxy/default.action
Loading filter file: /usr/local/etc/privoxy/default.filter

14 years agoDoes it make any difference if it's
Lee [Sun, 30 May 2010 12:17:54 +0000 (12:17 +0000)]
Does it make any difference if it's
#Blocked URL
instead of
# Blocked URL
like all the others?

14 years agojavascript needs to be blocked with +handle-as-empty-document to
Lee [Sun, 30 May 2010 12:13:05 +0000 (12:13 +0000)]
javascript needs to be blocked with +handle-as-empty-document to
work around Firefox bug 492459.  So move .js blockers from
  +block{Might be a web-bug.} -handle-as-empty-document
to
  +block{Might be a web-bug.} +handle-as-empty-document

14 years agoijbswa-Feature Requests-3006719 - Block 160x578 Banners
Lee [Sat, 29 May 2010 20:03:14 +0000 (20:03 +0000)]
ijbswa-Feature Requests-3006719 - Block 160x578 Banners
I'm not sure about blocking 160x578 images, but
  pagead2.googlesyndication.com/pagead/imagad?xxx
could use blocking.

14 years agocreate a log record when reading an action, filter or trust file.
Lee [Wed, 26 May 2010 23:01:47 +0000 (23:01 +0000)]
create a log record when reading an action, filter or trust file.

14 years agoRemove an incorrect cgi_error_unknown() call in a cannnot-happen-situation in send_cr...
Fabian Keil [Mon, 24 May 2010 11:40:27 +0000 (11:40 +0000)]
Remove an incorrect cgi_error_unknown() call in a cannnot-happen-situation in send_crunch_response().

14 years agoClean up white-space in http_response definition and move the crunch_reason to the...
Fabian Keil [Mon, 24 May 2010 11:39:36 +0000 (11:39 +0000)]
Clean up white-space in http_response definition and move the crunch_reason to the beginning.

14 years agoTurn http_response.reason into an enum and rename it to http_response.crunch_reason.
Fabian Keil [Mon, 24 May 2010 11:38:22 +0000 (11:38 +0000)]
Turn http_response.reason into an enum and rename it to http_response.crunch_reason.

14 years agoEnable user.filter by default. Suggested by David White in #3001830.
Fabian Keil [Sun, 23 May 2010 12:11:18 +0000 (12:11 +0000)]
Enable user.filter by default. Suggested by David White in #3001830.

14 years agoBlock .sitestat.com/. Reported by johnd16 in #3002725.
Fabian Keil [Sun, 23 May 2010 11:54:54 +0000 (11:54 +0000)]
Block .sitestat.com/. Reported by johnd16 in #3002725.

14 years agoBlock .atemda.com/. Reported by johnd16 in #3002723.
Fabian Keil [Sun, 23 May 2010 11:54:31 +0000 (11:54 +0000)]
Block .atemda.com/. Reported by johnd16 in #3002723.

14 years agoBlock js.adlink.net/. Reported by johnd16 in #3002720.
Fabian Keil [Sun, 23 May 2010 11:53:57 +0000 (11:53 +0000)]
Block js.adlink.net/. Reported by johnd16 in #3002720.

14 years agoAdd missing protocol in block tests.
Fabian Keil [Sun, 23 May 2010 11:53:35 +0000 (11:53 +0000)]
Add missing protocol in block tests.

14 years agoBlock .analytics.yahoo.com/. Reported by johnd16 in #3002713.
Fabian Keil [Sun, 23 May 2010 11:20:48 +0000 (11:20 +0000)]
Block .analytics.yahoo.com/. Reported by johnd16 in #3002713.

14 years agofix for ijbswa-Support Requests-3001830: Activate user.filter by default
Lee [Sat, 22 May 2010 16:50:07 +0000 (16:50 +0000)]
fix for ijbswa-Support Requests-3001830: Activate user.filter by default

14 years agoFix regression test for metrics.torproject.org.
Fabian Keil [Sat, 1 May 2010 18:23:00 +0000 (18:23 +0000)]
Fix regression test for metrics.torproject.org.

14 years agoBlock sb.scorecardresearch.com, too.
Fabian Keil [Sat, 1 May 2010 18:22:13 +0000 (18:22 +0000)]
Block sb.scorecardresearch.com, too.

Reported by dg1727 in #2992652.

14 years agoExplicitly mention how to match any URL.
Fabian Keil [Sat, 1 May 2010 18:21:30 +0000 (18:21 +0000)]
Explicitly mention how to match any URL.

14 years agoFactor filters_available() out of filter_header(), header_tagger() and pcrs_filter_re...
Fabian Keil [Sat, 1 May 2010 18:20:50 +0000 (18:20 +0000)]
Factor filters_available() out of filter_header(), header_tagger() and pcrs_filter_response().

14 years agoFactor prepare_csp_for_next_request() out of serve().
Fabian Keil [Sat, 1 May 2010 18:19:56 +0000 (18:19 +0000)]
Factor prepare_csp_for_next_request() out of serve().

14 years agoRename socket_is_still_usable() to socket_is_still_alive().
Fabian Keil [Fri, 23 Apr 2010 11:53:48 +0000 (11:53 +0000)]
Rename socket_is_still_usable() to socket_is_still_alive().

The fact that a socket is still alive doesn't mean that it's
still (re)usable and given that the function only checks the
former, the previous name was a bit misleading.

14 years agoIn finish_http_response(), continue to add the 'Connection: close' header if the...
Fabian Keil [Wed, 21 Apr 2010 20:48:06 +0000 (20:48 +0000)]
In finish_http_response(), continue to add the 'Connection: close' header if the client connection will not be kept alive.

Anonymously pointed out in #2987454.

14 years agoAlso let refresh-tags filter invalid refresh tags where the 'url=' part is missing.
Fabian Keil [Sun, 18 Apr 2010 11:20:48 +0000 (11:20 +0000)]
Also let refresh-tags filter invalid refresh tags where the 'url=' part is missing.

Anonymously reported in #2986382.

While at it, update the description to mention the fact that only
refresh tags with refresh times above 9 seconds are covered.

14 years agoAllow to keep the client connection alive after crunching the previous request.
Fabian Keil [Mon, 12 Apr 2010 16:51:31 +0000 (16:51 +0000)]
Allow to keep the client connection alive after crunching the previous request.

Already opened server connections can be kept alive, too.

14 years agoStop adding a "Connection: close" header in finish_http_response(), as we're no longe...
Fabian Keil [Mon, 12 Apr 2010 16:48:45 +0000 (16:48 +0000)]
Stop adding a "Connection: close" header in finish_http_response(), as we're no longer required to do it.

14 years agoAdd: 79) Evaluate pcre alternatives.
Fabian Keil [Mon, 12 Apr 2010 16:43:21 +0000 (16:43 +0000)]
Add: 79) Evaluate pcre alternatives.

14 years agoAdd: 78) Allow to optionally use pcre's DFA algorithm.
Fabian Keil [Mon, 12 Apr 2010 16:42:54 +0000 (16:42 +0000)]
Add: 78) Allow to optionally use pcre's DFA algorithm.

14 years agoAllow metrics.torproject.org
Lee [Sat, 10 Apr 2010 18:34:17 +0000 (18:34 +0000)]
Allow metrics.torproject.org

14 years agoTwo minor style fixes for block_url().
Fabian Keil [Sat, 3 Apr 2010 13:23:28 +0000 (13:23 +0000)]
Two minor style fixes for block_url().

14 years agoDitch code in block_url() that has been dead for years.
Fabian Keil [Sat, 3 Apr 2010 13:22:56 +0000 (13:22 +0000)]
Ditch code in block_url() that has been dead for years.

14 years agoFix the tense in a comment in send_crunch_response().
Fabian Keil [Sat, 3 Apr 2010 13:21:53 +0000 (13:21 +0000)]
Fix the tense in a comment in send_crunch_response().

14 years agoImprove chat()'s description a bit.
Fabian Keil [Sat, 3 Apr 2010 13:21:30 +0000 (13:21 +0000)]
Improve chat()'s description a bit.

14 years agoFix a regression introduced with the previous commit.
Fabian Keil [Sun, 28 Mar 2010 18:02:22 +0000 (18:02 +0000)]
Fix a regression introduced with the previous commit.

The (url_param[0] != '\0') check wasn't supposed to prevent
strstr() from segfaulting (which makes no sense), but to detect
whether or not an URL has been specified.

'Optimizing' it away was thus a dumb move.

14 years agoMention that the internal PCRE version is outdated.
Fabian Keil [Sun, 28 Mar 2010 17:35:09 +0000 (17:35 +0000)]
Mention that the internal PCRE version is outdated.

14 years agoDon't handle view.atdmt.com as image. It's used for click-throughs so users should...
Fabian Keil [Sat, 27 Mar 2010 18:58:38 +0000 (18:58 +0000)]
Don't handle view.atdmt.com as image. It's used for click-throughs so users should be able to "go there anyway".

Reported by Adam Piggott in #2975927.

14 years agoTag CSS and image requests with cautious and medium settings, too.
Fabian Keil [Sat, 27 Mar 2010 18:48:38 +0000 (18:48 +0000)]
Tag CSS and image requests with cautious and medium settings, too.

14 years agoBump BROWSER_FOO variables for Firefox 3.6.2.
Fabian Keil [Sat, 27 Mar 2010 18:30:33 +0000 (18:30 +0000)]
Bump BROWSER_FOO variables for Firefox 3.6.2.

14 years agoIn cgi_show_url_info(), don't forget to prefix URLs that only contain http:// or...
Fabian Keil [Sat, 27 Mar 2010 18:29:59 +0000 (18:29 +0000)]
In cgi_show_url_info(), don't forget to prefix URLs that only contain  or https:/ in the path.

Fixes #2975765 reported by Adam Piggott.

14 years agoActionsfile feedback item #2974204 2010-03-21
Lee [Sat, 27 Mar 2010 16:13:28 +0000 (16:13 +0000)]
Actionsfile feedback item #2974204 2010-03-21
don't block adesklets.sourceforge.net

14 years agoActionsfile feedback item #2975895 2010-03-24
Lee [Sat, 27 Mar 2010 15:44:57 +0000 (15:44 +0000)]
Actionsfile feedback item #2975895 2010-03-24
block chartbeat ping tracking

14 years agoRemove the too broad yahoo section, only keeping the fast-redirects exception as...
Fabian Keil [Sun, 7 Mar 2010 12:25:56 +0000 (12:25 +0000)]
Remove the too broad yahoo section, only keeping the fast-redirects exception as discussed on ijbswa-devel@.

14 years agoShow the 404 CGI page if cgi_send_user_manual() is called while local user manual...
Fabian Keil [Sun, 7 Mar 2010 12:07:51 +0000 (12:07 +0000)]
Show the 404 CGI page if cgi_send_user_manual() is called while local user manual delivery is disabled.

14 years agoBump version to 3.0.17 UNRELEASED.
Fabian Keil [Sun, 7 Mar 2010 12:05:46 +0000 (12:05 +0000)]
Bump version to 3.0.17 UNRELEASED.

14 years agoFix problems noticed on Yahoo mail and news pages
Lee [Sun, 28 Feb 2010 16:49:05 +0000 (16:49 +0000)]
Fix problems noticed on Yahoo mail and news pages

14 years agoFix spelling.
Fabian Keil [Sat, 27 Feb 2010 12:13:17 +0000 (12:13 +0000)]
Fix spelling.

14 years agoConsistently recommending socks5 in the Tor entry and mention its advantage compared...
Fabian Keil [Sat, 27 Feb 2010 12:12:13 +0000 (12:12 +0000)]
Consistently recommending socks5 in the Tor entry and mention its advantage compared to socks4a.
Reported by David in #2960129.

14 years agofix typo
Lee [Sat, 20 Feb 2010 18:08:31 +0000 (18:08 +0000)]
fix typo

14 years agoFix incorrect regression test markup.
Fabian Keil [Sat, 20 Feb 2010 15:31:19 +0000 (15:31 +0000)]
Fix incorrect regression test markup.

The action is actually called hide-referrer. While Privoxy accepts
hide-referer, too, it uses the real name for the final results,
letting the test for hide-referer fail.

I didn't investigate this earlier as I'm overriding this section
locally anyway, so the test failure is expected. Looks like
Privoxy-Regression-Test really needs Override-URL support ...

14 years agoUse $(SSH) instead of ssh, so one only needs to specify a username once.
Fabian Keil [Sat, 20 Feb 2010 12:53:30 +0000 (12:53 +0000)]
Use $(SSH) instead of ssh, so one only needs to specify a username once.

Yet to be tested ...

14 years agoThe action feedback thingy hasn't been working for years, so don't let the webserver...
Fabian Keil [Sat, 20 Feb 2010 12:51:38 +0000 (12:51 +0000)]
The action feedback thingy hasn't been working for years, so don't let the webserver target mess with it.

This didn't actually work anyway, as the permissions seem to be busted.

14 years agoConsistently use shell.sourceforge.net instead of shell.sf.net so one doesn't need...
Fabian Keil [Sat, 20 Feb 2010 12:50:44 +0000 (12:50 +0000)]
Consistently use shell.sourceforge.net instead of shell.sf.net so one doesn't need to check server fingerprints twice.

14 years agoFix webserver and webactions targets to work with standard tar.
Fabian Keil [Sat, 20 Feb 2010 12:49:54 +0000 (12:49 +0000)]
Fix webserver and webactions targets to work with standard tar.

14 years agoThis is the traditional "fix announcement after tagging and releasing the tarball...
Fabian Keil [Sat, 20 Feb 2010 12:01:16 +0000 (12:01 +0000)]
This is the traditional "fix announcement after tagging and releasing the tarball" commit.

14 years agoUpdate for 3.0.16 stable.
Fabian Keil [Fri, 19 Feb 2010 17:21:55 +0000 (17:21 +0000)]
Update for 3.0.16 stable.

14 years agoHopefully the final rebuilt for 3.0.16 stable ...
Fabian Keil [Fri, 19 Feb 2010 17:00:42 +0000 (17:00 +0000)]
Hopefully the final rebuilt for 3.0.16 stable ...

14 years agoRebuild from source.
Fabian Keil [Fri, 19 Feb 2010 16:58:37 +0000 (16:58 +0000)]
Rebuild from source.

14 years agoLet the default listen-address match reality.
Fabian Keil [Fri, 19 Feb 2010 16:50:05 +0000 (16:50 +0000)]
Let the default listen-address match reality.

14 years agoRemove a Debian/Ubuntu reference in the RUN section.
Fabian Keil [Fri, 19 Feb 2010 16:46:03 +0000 (16:46 +0000)]
Remove a Debian/Ubuntu reference in the RUN section.

The section is about Privoxy the binary, not about specific distribution packages.

14 years agoLet the donate link appear in the README too and add a link to the participate FAQ...
Fabian Keil [Fri, 19 Feb 2010 16:44:42 +0000 (16:44 +0000)]
Let the donate link appear in the README too and add a link to the participate FAQ entry.

While at it, call the license by its full name.

14 years agoSome manual improvements that need to be moved over to readme.sgml later on.
Fabian Keil [Fri, 19 Feb 2010 16:21:07 +0000 (16:21 +0000)]
Some manual improvements that need to be moved over to readme.sgml later on.

14 years agoEven more fixes.
Fabian Keil [Fri, 19 Feb 2010 16:00:38 +0000 (16:00 +0000)]
Even more fixes.

14 years agoAdd missing word.
Fabian Keil [Fri, 19 Feb 2010 15:22:47 +0000 (15:22 +0000)]
Add missing word.

14 years agoManually add the changes from the last p-config.sgml update.
Fabian Keil [Mon, 15 Feb 2010 16:47:14 +0000 (16:47 +0000)]
Manually add the changes from the last p-config.sgml update.

Somehow they didn't make it previously.

14 years agoRebuilt for 3.0.16 stable. Once more, with feeling.
Fabian Keil [Mon, 15 Feb 2010 15:50:38 +0000 (15:50 +0000)]
Rebuilt for 3.0.16 stable. Once more, with feeling.

14 years agoRebuilt man page for 3.0.16 stable.
Fabian Keil [Mon, 15 Feb 2010 15:49:37 +0000 (15:49 +0000)]
Rebuilt man page for 3.0.16 stable.

14 years agoRebuilt for 3.0.16 stable.
Fabian Keil [Mon, 15 Feb 2010 15:49:08 +0000 (15:49 +0000)]
Rebuilt for 3.0.16 stable.

14 years agoRebuilt for 3.0.16 stable. Two debug lines needed manual interaction.
Fabian Keil [Mon, 15 Feb 2010 15:48:44 +0000 (15:48 +0000)]
Rebuilt for 3.0.16 stable. Two debug lines needed manual interaction.

14 years agoMention the use of the no-such-domain template for DNS problems with FEATURE_IPV6_SUP...
Fabian Keil [Mon, 15 Feb 2010 15:30:13 +0000 (15:30 +0000)]
Mention the use of the no-such-domain template for DNS problems with FEATURE_IPV6_SUPPORT enabled.

14 years agoAlso use the no-such-domain template if resolving addresses with getaddrinfo() fails.
Fabian Keil [Mon, 15 Feb 2010 15:14:10 +0000 (15:14 +0000)]
Also use the no-such-domain template if resolving addresses with getaddrinfo() fails.

Reported by 'zebul666' in #2950483.

14 years agoTurns out forwarded-connect-retries is partly broken. Spread the news.
Fabian Keil [Mon, 15 Feb 2010 15:07:56 +0000 (15:07 +0000)]
Turns out forwarded-connect-retries is partly broken. Spread the news.

14 years agoUpdate for 3.0.16 stable.
Fabian Keil [Mon, 15 Feb 2010 14:47:38 +0000 (14:47 +0000)]
Update for 3.0.16 stable.

14 years agoMinor rewording.
Fabian Keil [Sun, 14 Feb 2010 17:59:31 +0000 (17:59 +0000)]
Minor rewording.

14 years agoRebuilt with p-status stable. D'oh.
Fabian Keil [Sat, 13 Feb 2010 17:51:24 +0000 (17:51 +0000)]
Rebuilt with p-status stable. D'oh.

14 years agoUpdate entities for 3.0.16 stable.
Fabian Keil [Sat, 13 Feb 2010 17:38:39 +0000 (17:38 +0000)]
Update entities for 3.0.16 stable.

14 years agoCosmetics.
Fabian Keil [Sat, 13 Feb 2010 16:43:35 +0000 (16:43 +0000)]
Cosmetics.

14 years agoUpdate copyright.
Fabian Keil [Sat, 13 Feb 2010 16:41:03 +0000 (16:41 +0000)]
Update copyright.

14 years agoRebuilt with updated 'What's new?' section.
Fabian Keil [Sat, 13 Feb 2010 16:40:25 +0000 (16:40 +0000)]
Rebuilt with updated 'What's new?' section.

14 years agoRebuilt with 'How did you manage to get Privoxy on my computer without my consent...
Fabian Keil [Sat, 13 Feb 2010 16:39:07 +0000 (16:39 +0000)]
Rebuilt with 'How did you manage to get Privoxy on my computer without my consent?' entry.

14 years agoUpdate 'What's new?' section.
Fabian Keil [Sat, 13 Feb 2010 16:37:37 +0000 (16:37 +0000)]
Update 'What's new?' section.

14 years agoRebuild with recently changed keep-alive-timeout default.
Fabian Keil [Sat, 13 Feb 2010 16:36:14 +0000 (16:36 +0000)]
Rebuild with recently changed keep-alive-timeout default.

14 years agoChange CODE_STATUS to stable.
Fabian Keil [Sat, 13 Feb 2010 16:35:45 +0000 (16:35 +0000)]
Change CODE_STATUS to stable.

14 years agoIgnore: Can not resolve doesnotexist: hostname nor servname provided, or not known
Fabian Keil [Sat, 13 Feb 2010 15:25:38 +0000 (15:25 +0000)]
Ignore: Can not resolve doesnotexist: hostname nor servname provided, or not known

14 years agoPolish 3.0.16 changes.
Fabian Keil [Sat, 13 Feb 2010 13:25:16 +0000 (13:25 +0000)]
Polish 3.0.16 changes.

14 years agoAdd two recent changes.
Fabian Keil [Sat, 13 Feb 2010 13:05:47 +0000 (13:05 +0000)]
Add two recent changes.

14 years agoMention that the headers added by the add-header action aren't modified by other...
Fabian Keil [Thu, 11 Feb 2010 13:59:48 +0000 (13:59 +0000)]
Mention that the headers added by the add-header action aren't modified by other actions.

14 years agoBump BROWSER_FOO variables for Firefox 3.6.
Fabian Keil [Thu, 11 Feb 2010 13:59:09 +0000 (13:59 +0000)]
Bump BROWSER_FOO variables for Firefox 3.6.

14 years agoAdd "77) Allow to control the IP address used for outgoing connections".
Fabian Keil [Tue, 9 Feb 2010 16:21:46 +0000 (16:21 +0000)]
Add "77) Allow to control the IP address used for outgoing connections".

14 years agoAdd "76) Cache DNS responses", even though it's not a priority.
Fabian Keil [Tue, 9 Feb 2010 16:20:42 +0000 (16:20 +0000)]
Add "76) Cache DNS responses", even though it's not a priority.

14 years agoPut webbug URLs that look like they lead to actual images into a handle-as-image...
Fabian Keil [Tue, 9 Feb 2010 16:18:53 +0000 (16:18 +0000)]
Put webbug URLs that look like they lead to actual images into a handle-as-image section.

Blocking image requests with handle-as-empty-document causes
WebKit-using clients to show a "missing image" placeholder,
which may mess up the layout.

14 years agoUnbreak the fun filter. Due to an unescaped dot in a negative look-ahead, it overlook...
Fabian Keil [Fri, 5 Feb 2010 21:41:31 +0000 (21:41 +0000)]
Unbreak the fun filter. Due to an unescaped dot in a negative look-ahead, it overlooked quite a few 'Microsoft' occurrences.

Regression introduced in r1.32 by yours truly.
Reported by 'thawt' in #2946394.

14 years agoRemove -prevent-compression from yahoo special case and add a regression test.
Fabian Keil [Thu, 4 Feb 2010 09:45:31 +0000 (09:45 +0000)]
Remove -prevent-compression from yahoo special case and add a regression test.

14 years agoDecrease default keep-alive-timeout to 5 seconds and explain why.
Fabian Keil [Thu, 4 Feb 2010 09:35:04 +0000 (09:35 +0000)]
Decrease default keep-alive-timeout to 5 seconds and explain why.

14 years agoAdd changes in 3.0.16 stable.
Fabian Keil [Thu, 4 Feb 2010 09:33:27 +0000 (09:33 +0000)]
Add changes in 3.0.16 stable.

14 years agoEbay enlarge picture function doesn't work.
Lee [Mon, 1 Feb 2010 00:38:57 +0000 (00:38 +0000)]
Ebay enlarge picture function doesn't work.
Fix reported by John

14 years agoNew FAQ entry: How did you manage to get Privoxy on my computer without my consent?
Fabian Keil [Sat, 30 Jan 2010 19:51:28 +0000 (19:51 +0000)]
New FAQ entry: How did you manage to get Privoxy on my computer without my consent?

Also bump copyright.

14 years agoEnable handle-as-empty-doc-returns-ok here, too.
Fabian Keil [Fri, 29 Jan 2010 17:02:59 +0000 (17:02 +0000)]
Enable handle-as-empty-doc-returns-ok here, too.

14 years agoDitch trailing white space.
Fabian Keil [Fri, 29 Jan 2010 15:39:59 +0000 (15:39 +0000)]
Ditch trailing white space.

Also update the pretty well hidden copyright text at the bottom of the file.

14 years agoThe '# URL = http://apps.facebook.com/onthefarm/track.php?...' split
Lee [Fri, 29 Jan 2010 15:36:10 +0000 (15:36 +0000)]
The '# URL = apps.facebook.com/onthefarm/track.php?...' split
into multiple lines.  Make it one line.

14 years agodon't leave firefox hanging by default
Lee [Fri, 29 Jan 2010 13:52:06 +0000 (13:52 +0000)]
don't leave firefox hanging by default