privoxy.git
16 years agoRemove kill-popups action.
Fabian Keil [Thu, 27 Mar 2008 18:31:21 +0000 (18:31 +0000)]
Remove kill-popups action.

16 years agoTurn the favicon blobs into locals.
Fabian Keil [Thu, 27 Mar 2008 17:00:05 +0000 (17:00 +0000)]
Turn the favicon blobs into locals.

16 years agoMention the shiny new hostname directive.
Fabian Keil [Wed, 26 Mar 2008 19:55:04 +0000 (19:55 +0000)]
Mention the shiny new hostname directive.

16 years agoComment fix reloaded.
Fabian Keil [Wed, 26 Mar 2008 19:05:51 +0000 (19:05 +0000)]
Comment fix reloaded.

16 years agoCosmetics.
Fabian Keil [Wed, 26 Mar 2008 18:38:35 +0000 (18:38 +0000)]
Cosmetics.

16 years agoAdd hostname directive. Closes PR#1918189.
Fabian Keil [Wed, 26 Mar 2008 18:07:18 +0000 (18:07 +0000)]
Add hostname directive. Closes PR#1918189.

16 years ago- Add a bunch of hints for Privoxy-Regression-Test.
Fabian Keil [Wed, 26 Mar 2008 17:42:24 +0000 (17:42 +0000)]
- Add a bunch of hints for Privoxy-Regression-Test.
- Fix a few incorrect patterns that showed up in the first test run.

16 years ago- Add the directives "Sticky Actions" and "URL" which allow
Fabian Keil [Wed, 26 Mar 2008 17:25:40 +0000 (17:25 +0000)]
- Add the directives "Sticky Actions" and "URL" which allow
  to verify that action sections have the expected effect.
- In check_for_forbidden_characters, allow asterisks and carets.
- Update documentation.

16 years agoDocument "Blocked URL".
Fabian Keil [Tue, 25 Mar 2008 17:17:46 +0000 (17:17 +0000)]
Document "Blocked URL".

16 years agoUse sizeof() more often.
Fabian Keil [Mon, 24 Mar 2008 18:12:52 +0000 (18:12 +0000)]
Use sizeof() more often.

16 years agoPet gcc43.
Fabian Keil [Mon, 24 Mar 2008 15:29:51 +0000 (15:29 +0000)]
Pet gcc43.

16 years ago- Add ".ebay.de/ws/eBayISAPI\.dll\?" to -fast-redirects section.
Fabian Keil [Mon, 24 Mar 2008 11:31:10 +0000 (11:31 +0000)]
- Add ".ebay.de/ws/eBayISAPI\.dll\?" to -fast-redirects section.
- Remove obsolete -prevent-compression section.

16 years agoShare the action settings for multiple patterns in the same
Fabian Keil [Mon, 24 Mar 2008 11:21:03 +0000 (11:21 +0000)]
Share the action settings for multiple patterns in the same
section so we waste less memory for gigantic block lists
(and load them slightly faster). Reported by Franz Schwartau.

16 years ago- Add some "Blocked URL" directives for Privoxy-Regression-Test.
Fabian Keil [Fri, 21 Mar 2008 13:22:20 +0000 (13:22 +0000)]
- Add some "Blocked URL" directives for Privoxy-Regression-Test.
- Fix a pattern detected while testing the shiny new directives.
- Fix a broken #MASTER# REMARKS: which wasn't completely commented.

16 years ago- Normalize whitespace in directives.
Fabian Keil [Fri, 21 Mar 2008 13:00:37 +0000 (13:00 +0000)]
- Normalize whitespace in directives.
- Ignore directives without values.

16 years agoGarbage-collect csp->my_ip_addr_str and csp->my_hostname.
Fabian Keil [Fri, 21 Mar 2008 11:16:30 +0000 (11:16 +0000)]
Garbage-collect csp->my_ip_addr_str and csp->my_hostname.

16 years agoOnly gather host information if it's actually needed.
Fabian Keil [Fri, 21 Mar 2008 11:14:00 +0000 (11:14 +0000)]
Only gather host information if it's actually needed.
Also move the code out of accept_connection() so it's less likely
to delay other incoming connections if the host is misconfigured.

16 years ago- Rename "Block Test" directive to "Blocked URL".
Fabian Keil [Wed, 19 Mar 2008 16:19:20 +0000 (16:19 +0000)]
- Rename "Block Test" directive to "Blocked URL".
- In get_final_results(), save the action parameter properly.
- In tokenize(), reverse HTML-encoding for ampersands.
- Allow tildes in check_for_forbidden_characters().

16 years ago- Don't allow colons in token names.
Fabian Keil [Tue, 18 Mar 2008 22:09:21 +0000 (22:09 +0000)]
- Don't allow colons in token names.
- Let get_final_results() quote the URL.

16 years ago- Add "block test" directive.
Fabian Keil [Tue, 18 Mar 2008 16:54:24 +0000 (16:54 +0000)]
- Add "block test" directive.
- Fix typo.

16 years agoSome exceptions for Encyclopedia Dramatica. I did it for the lulz.
Fabian Keil [Sun, 16 Mar 2008 18:02:19 +0000 (18:02 +0000)]
Some exceptions for Encyclopedia Dramatica. I did it for the lulz.

16 years agoAdd %config lines for regression-tests.action and forwarding-failed.
Fabian Keil [Sun, 16 Mar 2008 14:17:25 +0000 (14:17 +0000)]
Add %config lines for regression-tests.action and forwarding-failed.
This might or might not help with #1915185, reported by Bernardo Bacic.

16 years agoAdd CGI editor support for the "disable all filters of this type"
Fabian Keil [Sat, 15 Mar 2008 14:52:36 +0000 (14:52 +0000)]
Add CGI editor support for the "disable all filters of this type"
directives "-client-header-filter", "-server-header-filter",
"-client-header-tagger" and "-server-header-tagger".

16 years agoAfter three file modification time mismatches, turn the CGI editor off.
Fabian Keil [Sat, 8 Mar 2008 16:25:56 +0000 (16:25 +0000)]
After three file modification time mismatches, turn the CGI editor off.

16 years agoReword limit-connect{} entry.
Fabian Keil [Fri, 7 Mar 2008 16:46:49 +0000 (16:46 +0000)]
Reword limit-connect{} entry.

16 years agoIf limit-connect isn't used, don't limit CONNECT requests to port 443.
Fabian Keil [Thu, 6 Mar 2008 16:33:47 +0000 (16:33 +0000)]
If limit-connect isn't used, don't limit CONNECT requests to port 443.

16 years agoUpdate to 2008-02-05.
Fabian Keil [Thu, 6 Mar 2008 16:01:36 +0000 (16:01 +0000)]
Update to 2008-02-05.

16 years agoUpdate to 2008-01-23.
Fabian Keil [Thu, 6 Mar 2008 15:59:59 +0000 (15:59 +0000)]
Update to 2008-01-23.

16 years agoRemove the treat-forbidden-connects-like-blocks action. We now
Fabian Keil [Tue, 4 Mar 2008 18:30:44 +0000 (18:30 +0000)]
Remove the treat-forbidden-connects-like-blocks action. We now
use the "blocked" page for forbidden CONNECT requests by default.

16 years agoStop calling "handle-as-image" by its old name.
Fabian Keil [Tue, 4 Mar 2008 18:15:52 +0000 (18:15 +0000)]
Stop calling "handle-as-image" by its old name.

16 years agoUpdate copyright year in win32_blurb[].
Fabian Keil [Sun, 2 Mar 2008 18:15:41 +0000 (18:15 +0000)]
Update copyright year in win32_blurb[].

16 years agoNo point in keeping this here. We can revive it as soon as someone comes up
Fabian Keil [Sun, 2 Mar 2008 18:08:43 +0000 (18:08 +0000)]
No point in keeping this here. We can revive it as soon as someone comes up
with data that shows that our current list implementation isn't good enough.

16 years agoSet version to 3.0.9.
Fabian Keil [Sun, 2 Mar 2008 17:36:43 +0000 (17:36 +0000)]
Set version to 3.0.9.

16 years agoAlso use shiny new connect_port_is_forbidden() in jcc.c.
Fabian Keil [Sun, 2 Mar 2008 12:25:25 +0000 (12:25 +0000)]
Also use shiny new connect_port_is_forbidden() in jcc.c.

16 years ago- Add dependency checks for test levels 9 and 12.
Fabian Keil [Sat, 1 Mar 2008 15:53:47 +0000 (15:53 +0000)]
- Add dependency checks for test levels 9 and 12.
- Update to use new block syntax.
- Add some tests for limit-connect{} and block{}.
- Verify that methods are checked case-insensitive.
- Cosmetics.

16 years agoDon't reference non-existing nimbda filter.
Fabian Keil [Sat, 1 Mar 2008 15:25:34 +0000 (15:25 +0000)]
Don't reference non-existing nimbda filter.

16 years agoUse new block syntax. Still needs some polishing.
Fabian Keil [Sat, 1 Mar 2008 15:13:03 +0000 (15:13 +0000)]
Use new block syntax. Still needs some polishing.

16 years agoUse new block syntax. Still needs some polishing.
Fabian Keil [Sat, 1 Mar 2008 14:10:28 +0000 (14:10 +0000)]
Use new block syntax. Still needs some polishing.

16 years agoLet the block action take the reason for the block
Fabian Keil [Sat, 1 Mar 2008 14:00:47 +0000 (14:00 +0000)]
Let the block action take the reason for the block
as argument and show it on the "blocked" page.

16 years agoRename url_actions() to get_url_actions() and let it
Fabian Keil [Sat, 23 Feb 2008 16:57:12 +0000 (16:57 +0000)]
Rename url_actions() to get_url_actions() and let it
use the standard parameter ordering.

16 years agoLet forward_url() use the standard parameter ordering
Fabian Keil [Sat, 23 Feb 2008 16:33:43 +0000 (16:33 +0000)]
Let forward_url() use the standard parameter ordering
and mark its second parameter immutable.

16 years agoApply small Slackware patch from Laurence Darby.
hal9 [Fri, 22 Feb 2008 11:38:55 +0000 (11:38 +0000)]
Apply small Slackware patch from Laurence Darby.

16 years agoupdates for mac os x
markm68k [Fri, 22 Feb 2008 05:54:27 +0000 (05:54 +0000)]
updates for mac os x

16 years agofix merge problem
markm68k [Fri, 22 Feb 2008 05:50:37 +0000 (05:50 +0000)]
fix merge problem

16 years ago- Don't redirect dmoz edit URLs.
Fabian Keil [Tue, 19 Feb 2008 18:52:02 +0000 (18:52 +0000)]
- Don't redirect dmoz edit URLs.
- Unblock Google's adsense info/login page. Reported by Sebastian in #1897121.

16 years ago- Send HEAD requests with --request + --head instead of --head only,
Fabian Keil [Sun, 17 Feb 2008 15:22:06 +0000 (15:22 +0000)]
- Send HEAD requests with --request + --head instead of --head only,
  to make sure the spelling from the configuration file is maintained.
- Remove some unused code and white space.

16 years agoFix typo.
Fabian Keil [Sat, 16 Feb 2008 16:54:51 +0000 (16:54 +0000)]
Fix typo.

16 years agoAdd Mark Miller to AUTHORS
hal9 [Sat, 16 Feb 2008 14:27:48 +0000 (14:27 +0000)]
Add Mark Miller to AUTHORS

16 years agoAllow to skip tests that depend on unavailable options.
Fabian Keil [Sat, 16 Feb 2008 12:55:51 +0000 (12:55 +0000)]
Allow to skip tests that depend on unavailable options.

16 years agoCosmetics.
Fabian Keil [Sat, 16 Feb 2008 12:46:52 +0000 (12:46 +0000)]
Cosmetics.

16 years ago- Add a hide-tor-exit-notation test with a fingerprint
Fabian Keil [Mon, 11 Feb 2008 21:02:58 +0000 (21:02 +0000)]
- Add a hide-tor-exit-notation test with a fingerprint
  instead of the node's name.
- Trigger some forward-socks5 errors.
- Bump for-privoxy-version.

16 years agoStop pretending to maintain OpenBSD and Solaris packages.
Fabian Keil [Mon, 11 Feb 2008 17:59:23 +0000 (17:59 +0000)]
Stop pretending to maintain OpenBSD and Solaris packages.

16 years agoRebuild for reason updates for Mac OS X.
hal9 [Mon, 11 Feb 2008 11:54:21 +0000 (11:54 +0000)]
Rebuild for reason updates for Mac OS X.

16 years agoFix entity ... s/&/&
hal9 [Mon, 11 Feb 2008 11:52:23 +0000 (11:52 +0000)]
Fix entity ... s/&/&

16 years agomore updates for mac os x
markm68k [Mon, 11 Feb 2008 03:41:47 +0000 (03:41 +0000)]
more updates for mac os x

16 years agomore updates for mac os x
markm68k [Mon, 11 Feb 2008 03:40:25 +0000 (03:40 +0000)]
more updates for mac os x

16 years agoreflect new changes for mac os x
markm68k [Mon, 11 Feb 2008 00:52:34 +0000 (00:52 +0000)]
reflect new changes for mac os x

16 years agoReduce superfluous white space by not marking
Fabian Keil [Sun, 10 Feb 2008 17:26:52 +0000 (17:26 +0000)]
Reduce superfluous white space by not marking
up the final results list as paragraph.

16 years agoUnblock cURL advisories.
Fabian Keil [Sat, 9 Feb 2008 20:34:31 +0000 (20:34 +0000)]
Unblock cURL advisories.

16 years agoList active and inactive actions in the show-url-info's
Fabian Keil [Sat, 9 Feb 2008 15:15:38 +0000 (15:15 +0000)]
List active and inactive actions in the show-url-info's
"Final results" section separately. Patch submitted by Lee
in #1830056, modified to list active actions first.

16 years agoActionsfile feedback item #1889118 to unblock
hal9 [Fri, 8 Feb 2008 11:48:53 +0000 (11:48 +0000)]
Actionsfile feedback item #1889118 to unblock
adventuresinopensource.blogspot.com.

16 years agoIn socks5_connect:
Fabian Keil [Thu, 7 Feb 2008 18:09:46 +0000 (18:09 +0000)]
In socks5_connect:
- make the buffers quite a bit smaller.
- properly report "socks5 server unreachable" failures.
- let strncpy() use the whole buffer. Using a length of 0xffu wasn't actually
  wrong, but requires too much thinking as it doesn't depend on the buffer size.
- log a message if the socks5 server sends more data than expected.
- add some assertions and comments.

16 years agoUpdating text to reflect release versioning.
hal9 [Tue, 5 Feb 2008 00:47:12 +0000 (00:47 +0000)]
Updating text to reflect release versioning.

16 years ago- Fix a compiler warning.
Fabian Keil [Mon, 4 Feb 2008 14:56:29 +0000 (14:56 +0000)]
- Fix a compiler warning.
- Stop assuming that htonl(INADDR_NONE) equals INADDR_NONE.

16 years agoRemember the cause of the SOCKS5 error for the CGI message.
Fabian Keil [Mon, 4 Feb 2008 13:11:35 +0000 (13:11 +0000)]
Remember the cause of the SOCKS5 error for the CGI message.

16 years agoChange "Edit Packages" URL to use https.
Fabian Keil [Mon, 4 Feb 2008 12:14:06 +0000 (12:14 +0000)]
Change "Edit Packages" URL to use https.

16 years agoRemove the <br> in front of the error message.
Fabian Keil [Mon, 4 Feb 2008 12:05:46 +0000 (12:05 +0000)]
Remove the <br> in front of the error message.

16 years agoApply patch from Mark: s/OSX/OS X/
hal9 [Sun, 3 Feb 2008 21:37:41 +0000 (21:37 +0000)]
Apply patch from Mark: s/OSX/OS X/

16 years ago- Mention forward-socks5.
Fabian Keil [Sun, 3 Feb 2008 19:15:54 +0000 (19:15 +0000)]
- Mention forward-socks5.
- Shorten some lines in the forward section.
- Fix forward port range.

16 years agoMention forward-socks5.
Fabian Keil [Sun, 3 Feb 2008 19:10:14 +0000 (19:10 +0000)]
Mention forward-socks5.

16 years agoAdd SOCKS5 support for "Forwarding failure" CGI page.
Fabian Keil [Sun, 3 Feb 2008 15:45:06 +0000 (15:45 +0000)]
Add SOCKS5 support for "Forwarding failure" CGI page.

16 years agoRemove unused OSX_DARWIN macro. Reported by Mark Miller in #1852529.
Fabian Keil [Sun, 3 Feb 2008 14:40:47 +0000 (14:40 +0000)]
Remove unused OSX_DARWIN macro. Reported by Mark Miller in #1852529.

16 years agoAdd Eric M. Hopper for contributing SOCKS5 support.
Fabian Keil [Sun, 3 Feb 2008 14:15:33 +0000 (14:15 +0000)]
Add Eric M. Hopper for contributing SOCKS5 support.

16 years agoMention SOCKS5 support.
Fabian Keil [Sun, 3 Feb 2008 14:00:42 +0000 (14:00 +0000)]
Mention SOCKS5 support.

16 years agoAdd SOCKS5 support for forward-override{}.
Fabian Keil [Sun, 3 Feb 2008 13:57:58 +0000 (13:57 +0000)]
Add SOCKS5 support for forward-override{}.

16 years agoAdd SOCKS5 support for show-url-info CGI page.
Fabian Keil [Sun, 3 Feb 2008 13:56:07 +0000 (13:56 +0000)]
Add SOCKS5 support for show-url-info CGI page.

16 years agoAdd SOCKS5 support. Patch #1862863 by Eric M. Hopper with minor changes.
Fabian Keil [Sun, 3 Feb 2008 13:46:15 +0000 (13:46 +0000)]
Add SOCKS5 support. Patch #1862863 by Eric M. Hopper with minor changes.

16 years agoRemove the "Listening ... for local connections only" log message.
Fabian Keil [Sat, 2 Feb 2008 19:36:56 +0000 (19:36 +0000)]
Remove the "Listening ... for local connections only" log message.
Whether or not remote connections are able to reach Privoxy is up
to the operating system.

16 years agoYet another yahoo update to get the width limitation removal working again.
Fabian Keil [Sat, 2 Feb 2008 15:27:19 +0000 (15:27 +0000)]
Yet another yahoo update to get the width limitation removal working again.

16 years agoIf edit buttons on the show-url-info CGI page are hidden, explain why.
Fabian Keil [Fri, 1 Feb 2008 06:04:31 +0000 (06:04 +0000)]
If edit buttons on the show-url-info CGI page are hidden, explain why.

16 years agoHide edit buttons on the show-url-info CGI page if enable-edit-action
Fabian Keil [Fri, 1 Feb 2008 05:52:40 +0000 (05:52 +0000)]
Hide edit buttons on the show-url-info CGI page if enable-edit-action
is disabled. Patch by Lee with additional white space adjustments.

16 years agoLet the +client-header-filter{hide-tor-exit-notation} example apply
Fabian Keil [Thu, 31 Jan 2008 19:11:35 +0000 (19:11 +0000)]
Let the +client-header-filter{hide-tor-exit-notation} example apply
to all requests as "tainted" Referers aren't limited to exit TLDs.

16 years ago- Make the logfp assertion more strict. As of 1.63, the "||" could
Fabian Keil [Thu, 31 Jan 2008 15:38:14 +0000 (15:38 +0000)]
- Make the logfp assertion more strict. As of 1.63, the "||" could
  have been an "&&", which means we can use two separate assertions
  and skip on of them on Windows.
- Break a long commit message line in two.

16 years agoUse (a != b) instead of !(a == b) so the sanity check looks less insane.
Fabian Keil [Thu, 31 Jan 2008 14:44:33 +0000 (14:44 +0000)]
Use (a != b) instead of !(a == b) so the sanity check looks less insane.

16 years ago- Mark some parameters as immutable.
Fabian Keil [Mon, 28 Jan 2008 20:17:40 +0000 (20:17 +0000)]
- Mark some parameters as immutable.
- Hide update_action_bits_for_all_tags() while it's unused.

16 years agoDon't let the less-download-windows filter mess up
Fabian Keil [Sat, 26 Jan 2008 15:45:39 +0000 (15:45 +0000)]
Don't let the less-download-windows filter mess up
"Content-Type: application/x-shockwave-flash" headers.

16 years agoAdd two "Since 3.0.8" items and clarify a 3.0.7 item.
Fabian Keil [Sat, 26 Jan 2008 12:52:30 +0000 (12:52 +0000)]
Add two "Since 3.0.8" items and clarify a 3.0.7 item.

16 years agoIf enable-edit-actions is disabled, hide the edit buttons and explain why.
Fabian Keil [Sat, 26 Jan 2008 11:13:25 +0000 (11:13 +0000)]
If enable-edit-actions is disabled, hide the edit buttons and explain why.

16 years agoChange version to 3.0.9 UNRELEASED.
Fabian Keil [Sat, 26 Jan 2008 10:52:13 +0000 (10:52 +0000)]
Change version to 3.0.9 UNRELEASED.

16 years agoUpdate hide-forwarded-for-headers description.
Fabian Keil [Fri, 25 Jan 2008 19:29:20 +0000 (19:29 +0000)]
Update hide-forwarded-for-headers description.

16 years ago- Add yet another new yahoo ad id.
Fabian Keil [Fri, 25 Jan 2008 19:12:40 +0000 (19:12 +0000)]
- Add yet another new yahoo ad id.
- Don't let the first banners-by-link job punish URLs for merely
  containing the pattern "/jump/" when it should really look for
  "doubleclick\.net/jump/".

16 years agoRemove the "Fix build on OS/2" item as I just broke it differently.
Fabian Keil [Wed, 23 Jan 2008 19:27:52 +0000 (19:27 +0000)]
Remove the "Fix build on OS/2" item as I just broke it differently.

16 years ago- Ditch the pathetic "and security holes fixed" "feature" which should
Fabian Keil [Tue, 22 Jan 2008 17:34:54 +0000 (17:34 +0000)]
- Ditch the pathetic "and security holes fixed" "feature" which should
  have been removed several releases ago. It has been added in 2002,
  I can't tell from the commit log what it's about and it gives the
  impression that we have tons of security issues but don't properly
  disclose them. Existence of the "feature" pointed out by Secunia.
- Remove the (already hidden) bogus claim about Privoxy being
  HTTP/1.1 compliant.
- Fix URL in comment.

16 years agoSwap #def from negative to positive, re-joined it so it didn't span an assertion...
David Schmidt [Mon, 21 Jan 2008 18:56:46 +0000 (18:56 +0000)]
Swap #def from negative to positive, re-joined it so it didn't span an assertion (compilation failure on OS/2)

16 years ago- Factor enlist_new_test() out of load_action_files().
Fabian Keil [Mon, 21 Jan 2008 18:43:16 +0000 (18:43 +0000)]
- Factor enlist_new_test() out of load_action_files().
- Let --test-number work independent of the chosen level.

16 years agoAllow Privoxy-Regression-Test to CONNECT to port 80 v_3_0_8
Fabian Keil [Sun, 20 Jan 2008 15:07:15 +0000 (15:07 +0000)]
Allow Privoxy-Regression-Test to CONNECT to port 80
so the CONNECT method check works by default.

16 years agoSet version to 3.0.8.
Fabian Keil [Sun, 20 Jan 2008 14:30:59 +0000 (14:30 +0000)]
Set version to 3.0.8.

16 years agoSet CODE_STATUS to stable.
Fabian Keil [Sun, 20 Jan 2008 14:07:09 +0000 (14:07 +0000)]
Set CODE_STATUS to stable.

16 years agoAdd forward-override examples.
Fabian Keil [Sun, 20 Jan 2008 13:19:58 +0000 (13:19 +0000)]
Add forward-override examples.

16 years agoFix some more utf issues.
Fabian Keil [Sun, 20 Jan 2008 12:57:31 +0000 (12:57 +0000)]
Fix some more utf issues.