privoxy.git
13 years agoNow that init_log_module() is called earlier, call show_version()
Fabian Keil [Mon, 9 Feb 2009 21:21:16 +0000 (21:21 +0000)]
Now that init_log_module() is called earlier, call show_version()
later on from main() directly so it doesn't get called for --help
or --version.

13 years agoBump copyright year in win32_blurb[].
Fabian Keil [Mon, 9 Feb 2009 19:16:35 +0000 (19:16 +0000)]
Bump copyright year in win32_blurb[].

13 years agoUpdate limit-connect{} description.
Fabian Keil [Mon, 9 Feb 2009 18:51:17 +0000 (18:51 +0000)]
Update limit-connect{} description.
The default behaviour changed a while ago.

13 years agoUpdate purpose text.
Fabian Keil [Mon, 9 Feb 2009 18:39:08 +0000 (18:39 +0000)]
Update purpose text.

13 years agoComment out the trust-info-url entries by default.
Fabian Keil [Mon, 9 Feb 2009 16:49:47 +0000 (16:49 +0000)]
Comment out the trust-info-url entries by default.

13 years agoMaybe I should commit the match-all.action file itself as well ...
Fabian Keil [Sun, 8 Feb 2009 22:53:49 +0000 (22:53 +0000)]
Maybe I should commit the match-all.action file itself as well ...

13 years agoNow that we have the match-all.action file, the other action
Fabian Keil [Sun, 8 Feb 2009 19:18:57 +0000 (19:18 +0000)]
Now that we have the match-all.action file, the other action
files changed their position in config->actions_file[] back
to the way it was before standard.action got removed and the
changes from revision 1.84 have to be reverted.

13 years agoMove the match-all section into a separate file
Fabian Keil [Sun, 8 Feb 2009 18:35:48 +0000 (18:35 +0000)]
Move the match-all section into a separate file
(match-all.action) so we can safely overwrite the
default actions when updating. Based on Roland's
patch #1563977.

13 years agoDon't list the author of the snprintf() code as former
Fabian Keil [Sun, 8 Feb 2009 18:13:26 +0000 (18:13 +0000)]
Don't list the author of the snprintf() code as former
Privoxy developer. He's already correctly credited a
few paragraphs below.

13 years agoRebuild.
Fabian Keil [Sun, 8 Feb 2009 18:02:12 +0000 (18:02 +0000)]
Rebuild.

13 years agoCall initialize_mutexes() before init_log_module() again.
Fabian Keil [Sun, 8 Feb 2009 12:56:51 +0000 (12:56 +0000)]
Call initialize_mutexes() before init_log_module() again.
Broken since r220, might be the cause of Lee's #2579448.

13 years ago- Add Matthias Drochner for providing the patch to
Fabian Keil [Sat, 7 Feb 2009 11:12:02 +0000 (11:12 +0000)]
- Add Matthias Drochner for providing the patch to
  give up membership in supplementary groups.
- Remove trailing white space.

13 years agoRebuild with the updated links.
Fabian Keil [Fri, 6 Feb 2009 18:33:41 +0000 (18:33 +0000)]
Rebuild with the updated links.

13 years agoBoldly enable keep-alive support where possible.
Fabian Keil [Fri, 6 Feb 2009 18:17:32 +0000 (18:17 +0000)]
Boldly enable keep-alive support where possible.

13 years agoWhen dropping privileges, also give up membership in supplementary
Fabian Keil [Fri, 6 Feb 2009 18:02:58 +0000 (18:02 +0000)]
When dropping privileges, also give up membership in supplementary
groups. Thanks to Matthias Drochner for reporting the problem,
providing the initial patch and testing the final version.

13 years agoBe prepared if I break the log module initialization again.
Fabian Keil [Fri, 6 Feb 2009 17:51:38 +0000 (17:51 +0000)]
Be prepared if I break the log module initialization again.

13 years agoInitialize the log module before parsing arguments.
Fabian Keil [Wed, 4 Feb 2009 18:29:07 +0000 (18:29 +0000)]
Initialize the log module before parsing arguments.
Thanks to Matthias Drochner for the report.

13 years agoRemove redundant error check in receive_client_request().
Fabian Keil [Sat, 31 Jan 2009 16:08:21 +0000 (16:08 +0000)]
Remove redundant error check in receive_client_request().

13 years agoFlatten indentation in receive_client_request().
Fabian Keil [Sat, 31 Jan 2009 12:25:54 +0000 (12:25 +0000)]
Flatten indentation in receive_client_request().

13 years agoAdd a socket-timeout section.
Fabian Keil [Fri, 23 Jan 2009 14:06:07 +0000 (14:06 +0000)]
Add a socket-timeout section.

13 years agoDon't keep connections alive when running single-threaded.
Fabian Keil [Thu, 22 Jan 2009 12:06:26 +0000 (12:06 +0000)]
Don't keep connections alive when running single-threaded.

13 years ago- Use https for SF URLs.
Fabian Keil [Thu, 15 Jan 2009 17:25:30 +0000 (17:25 +0000)]
- Use https for SF URLs.
- Remove link to privacy.net which is a spam site now.
- Update Tor project URL.

13 years agoFix unblock pattern from revision 1.157. Yay for regression tests.
Fabian Keil [Wed, 14 Jan 2009 21:50:58 +0000 (21:50 +0000)]
Fix unblock pattern from revision 1.157. Yay for regression tests.

13 years agoDue to the standard.action file removal, the other action
Fabian Keil [Wed, 14 Jan 2009 16:14:36 +0000 (16:14 +0000)]
Due to the standard.action file removal, the other action
files changed their position in config->actions_file[].
Update mingw32 kludge accordingly.

13 years agoRebuilt after standard.action file removal.
Fabian Keil [Tue, 13 Jan 2009 20:52:10 +0000 (20:52 +0000)]
Rebuilt after standard.action file removal.

13 years agoSkip pre-setting names.
Fabian Keil [Tue, 13 Jan 2009 17:01:04 +0000 (17:01 +0000)]
Skip pre-setting names.

13 years agoRebuilt after standard.action file removal.
Fabian Keil [Tue, 13 Jan 2009 16:57:30 +0000 (16:57 +0000)]
Rebuilt after standard.action file removal.

13 years agoThe standard.action file is gone.
Fabian Keil [Tue, 13 Jan 2009 16:50:36 +0000 (16:50 +0000)]
The standard.action file is gone.

13 years agoDelete the standard.action file after moving
Fabian Keil [Tue, 13 Jan 2009 16:44:32 +0000 (16:44 +0000)]
Delete the standard.action file after moving
the pre-settings over to the default actions.

13 years agoMove .googleadservices.com/~ into block-as-image section, since it seems to
hal9 [Sun, 11 Jan 2009 20:26:00 +0000 (20:26 +0000)]
Move .googleadservices.com/~ into block-as-image section, since it seems to
img content.

13 years agoReverted previous commit for googleadservices. Its already covered.
hal9 [Sun, 11 Jan 2009 16:02:53 +0000 (16:02 +0000)]
Reverted previous commit for googleadservices. Its already covered.

13 years agoActionsfile feedback item #2498279, for googles rss ads.
hal9 [Sat, 10 Jan 2009 21:23:28 +0000 (21:23 +0000)]
Actionsfile feedback item #2498279, for googles rss ads.

13 years ago- Check header names for valid characters before
Fabian Keil [Sat, 10 Jan 2009 16:34:10 +0000 (16:34 +0000)]
- Check header names for valid characters before
  registering them for highlighting. Fixes a regex
  error noticed while fuzzing.
- Highlight:
  Connection from 81.163.28.218 dropped due to ACL

13 years ago- If the socket-timeout has been reached and the client
Fabian Keil [Wed, 7 Jan 2009 19:50:09 +0000 (19:50 +0000)]
- If the socket-timeout has been reached and the client
  hasn't received any data yet, send an explanation before
  closing the connection.
- In get_request_line(), signal timeouts the right way.

13 years agoremove non-standard <nobr> tags
Lee [Thu, 1 Jan 2009 17:36:41 +0000 (17:36 +0000)]
remove non-standard <nobr> tags

13 years agoActionsfile feedback item #2017126 2008-07-13
Lee [Thu, 1 Jan 2009 15:31:37 +0000 (15:31 +0000)]
Actionsfile feedback item #2017126  2008-07-13
The dutch newspaper site of Algemeen Dagblad (http://www.ad.nl) is blocked

13 years agoadd windows taskbar icon to use when privoxy is toggled off.
Lee [Thu, 1 Jan 2009 15:11:57 +0000 (15:11 +0000)]
add windows taskbar icon to use when privoxy is toggled off.

13 years agoChange the Windows taskbar icon when privoxy is toggled off.
Lee [Thu, 1 Jan 2009 15:09:23 +0000 (15:09 +0000)]
Change the Windows taskbar icon when privoxy is toggled off.

13 years agokeep the input field and 'go' button on the same line.
Lee [Thu, 1 Jan 2009 14:51:21 +0000 (14:51 +0000)]
keep the input field and 'go' button on the same line.

13 years agonew block section for domain parking sites.
Lee [Thu, 1 Jan 2009 14:46:25 +0000 (14:46 +0000)]
new block section for domain parking sites.

13 years agoAdd missing colon in regex.
Fabian Keil [Thu, 25 Dec 2008 19:54:28 +0000 (19:54 +0000)]
Add missing colon in regex.

13 years agoHighlight:
Fabian Keil [Thu, 25 Dec 2008 18:38:42 +0000 (18:38 +0000)]
Highlight:
Waiting for 1 connections to timeout.
Ignore:
No connections to wait for left.

13 years agofix GCC 3.4.4 warning
Lee [Wed, 24 Dec 2008 22:13:11 +0000 (22:13 +0000)]
fix GCC 3.4.4 warning

13 years agoKeep a thread around to timeout alive connections
Fabian Keil [Wed, 24 Dec 2008 17:06:19 +0000 (17:06 +0000)]
Keep a thread around to timeout alive connections
even if no new requests are coming in.

13 years agoAnchor a few regexes in handle_loglevel_connect().
Fabian Keil [Wed, 24 Dec 2008 13:40:44 +0000 (13:40 +0000)]
Anchor a few regexes in handle_loglevel_connect().

13 years agoThe crunch log message format changed, so update the strings to highlight
Lee [Sat, 20 Dec 2008 15:27:40 +0000 (15:27 +0000)]
The crunch log message format changed, so update the strings to highlight
in the log window.

13 years agoAdd config option socket-timeout to control the time
Fabian Keil [Sat, 20 Dec 2008 14:53:55 +0000 (14:53 +0000)]
Add config option socket-timeout to control the time
Privoxy waits for data to arrive on a socket. Useful
in case of stale ssh tunnels or when fuzz-testing.

13 years ago- Sync comment with for-privoxy-version.
Fabian Keil [Fri, 19 Dec 2008 17:21:54 +0000 (17:21 +0000)]
- Sync comment with for-privoxy-version.
- Disable fast-redirects for .youtube.com/swf/.*swf=
- Disable the banners-by-size filter for .couchsurfing.com/.

13 years agoWhen logging crunches, log the whole URL, so one can easily
Fabian Keil [Mon, 15 Dec 2008 18:45:51 +0000 (18:45 +0000)]
When logging crunches, log the whole URL, so one can easily
differentiate between vanilla HTTP and CONNECT requests.

13 years agoFix a cparser warning.
Fabian Keil [Sun, 14 Dec 2008 17:02:54 +0000 (17:02 +0000)]
Fix a cparser warning.

13 years ago- Mention the new log level for crunched requests.
Fabian Keil [Sun, 14 Dec 2008 16:34:32 +0000 (16:34 +0000)]
- Mention the new log level for crunched requests.
- In the mingw32 entry, replace "mutex locks" with
  "critical sections".

13 years ago- Handle shiny new LOG_LEVEL_CRUNCH.
Fabian Keil [Sun, 14 Dec 2008 16:26:00 +0000 (16:26 +0000)]
- Handle shiny new LOG_LEVEL_CRUNCH.
- Remove some empty lines.

13 years agoGive crunched requests their own log level.
Fabian Keil [Sun, 14 Dec 2008 15:46:23 +0000 (15:46 +0000)]
Give crunched requests their own log level.

13 years agoAdd keep-alive-timeout section.
Fabian Keil [Sat, 13 Dec 2008 18:19:44 +0000 (18:19 +0000)]
Add keep-alive-timeout section.

13 years agoReword FEATURE_CONNECTION_KEEP_ALIVE description.
Fabian Keil [Sat, 13 Dec 2008 11:20:41 +0000 (11:20 +0000)]
Reword FEATURE_CONNECTION_KEEP_ALIVE description.

13 years agoRemove duplicated debugging checks
Fabian Keil [Sat, 13 Dec 2008 11:07:23 +0000 (11:07 +0000)]
Remove duplicated debugging checks
in connection_destination_matches().

13 years agoDocument the keep-alive-timeout directive.
Fabian Keil [Sat, 13 Dec 2008 10:48:21 +0000 (10:48 +0000)]
Document the keep-alive-timeout directive.

13 years agoBlock feedproxy.google.com/~r/.*/~4/.
Fabian Keil [Sat, 13 Dec 2008 10:05:29 +0000 (10:05 +0000)]
Block feedproxy.google.com/~r/.*/~4/.

13 years agoHighlight:
Fabian Keil [Sat, 6 Dec 2008 16:19:18 +0000 (16:19 +0000)]
Highlight:
Connect: Received 206 bytes while expecting 12103.

13 years agoHighlight:
Fabian Keil [Sat, 6 Dec 2008 11:31:26 +0000 (11:31 +0000)]
Highlight:
Continuing buffering headers. byte_count: 19. header_offset: 517. len: 536.

13 years agoDowngrade "Received x bytes while expecting y." message to
Fabian Keil [Sat, 6 Dec 2008 10:05:03 +0000 (10:05 +0000)]
Downgrade "Received x bytes while expecting y." message to
LOG_LEVEL_CONNECT as it doesn't necessarily indicate an error.

13 years agoFix some cparser warnings.
Fabian Keil [Thu, 4 Dec 2008 18:18:56 +0000 (18:18 +0000)]
Fix some cparser warnings.

13 years agoFix a cparser warning.
Fabian Keil [Thu, 4 Dec 2008 18:13:46 +0000 (18:13 +0000)]
Fix a cparser warning.

13 years agoFix some cparser warnings.
Fabian Keil [Thu, 4 Dec 2008 18:12:19 +0000 (18:12 +0000)]
Fix some cparser warnings.

13 years agoDon't miscalculate byte_count if we don't get all the
Fabian Keil [Tue, 2 Dec 2008 22:03:18 +0000 (22:03 +0000)]
Don't miscalculate byte_count if we don't get all the
server headers with one read_socket() call. With keep-alive
support enabled, this caused delays until the server closed
the connection.

13 years ago- Block .googleadservices.com/~.
Fabian Keil [Sun, 30 Nov 2008 17:30:17 +0000 (17:30 +0000)]
- Block .googleadservices.com/~.
- Unblock .proaurum.de/ and .goldmoney.com/.
- Add fast-redirects exception for .landsend.de/.
- Add URL directives for wiktionary.org.

13 years agoCosmetics for the last commit: Don't watch out for
Fabian Keil [Thu, 27 Nov 2008 09:44:04 +0000 (09:44 +0000)]
Cosmetics for the last commit: Don't watch out for
the last chunk if the content isn't chunk-encoded or
if we already determined the content length previously.

13 years agoRecognize that the server response is complete if the
Fabian Keil [Wed, 26 Nov 2008 18:24:17 +0000 (18:24 +0000)]
Recognize that the server response is complete if the
last chunk is read together with the server headers.
Reported by Lee.

13 years agoIgnore:
Fabian Keil [Wed, 26 Nov 2008 18:17:20 +0000 (18:17 +0000)]
Ignore:
Connect: Looks like we read the last chunk together with the server headers. We better stop reading.

13 years agoDon't convert the client-header list to text until we need to.
Fabian Keil [Tue, 25 Nov 2008 17:25:16 +0000 (17:25 +0000)]
Don't convert the client-header list to text until we need to.

13 years agoTwo changes suggested by Roger Dingledine:
Fabian Keil [Mon, 24 Nov 2008 18:29:39 +0000 (18:29 +0000)]
Two changes suggested by Roger Dingledine:
- Use https://www.torproject.org/ in section 4.7, too.
- Replace the Tor wiki URL in section 4.10 with one
  with a more useful anchor name.

13 years agoSome more chat() cosmetics.
Fabian Keil [Sun, 23 Nov 2008 17:00:11 +0000 (17:00 +0000)]
Some more chat() cosmetics.

13 years agoUpdate a log message I missed in 1.80.
Fabian Keil [Sun, 23 Nov 2008 16:06:58 +0000 (16:06 +0000)]
Update a log message I missed in 1.80.

13 years ago- Update copyright range.
Fabian Keil [Sun, 23 Nov 2008 15:59:27 +0000 (15:59 +0000)]
- Update copyright range.
- Remove stray line breaks in a log message
  nobody is supposed to see anyway.

13 years agoIn log_error(), don't surround the thread id with "Privoxy(" and ")".
Fabian Keil [Sun, 23 Nov 2008 15:49:49 +0000 (15:49 +0000)]
In log_error(), don't surround the thread id with "Privoxy(" and ")".

13 years agoSupport log messages with and without
Fabian Keil [Sun, 23 Nov 2008 15:45:45 +0000 (15:45 +0000)]
Support log messages with and without
"Privoxy(" and ")" around the thread id.

13 years agoHighlight:
Fabian Keil [Sat, 22 Nov 2008 11:56:11 +0000 (11:56 +0000)]
Highlight:
Created new connection to www.privoxy.org:80 on socket 11.

13 years agoMove log message around to include the socket number.
Fabian Keil [Sat, 22 Nov 2008 11:54:04 +0000 (11:54 +0000)]
Move log message around to include the socket number.

13 years agoIn case of CONNECT requests there's no point
Fabian Keil [Fri, 21 Nov 2008 18:39:53 +0000 (18:39 +0000)]
In case of CONNECT requests there's no point
in trying to keep the connection alive.

13 years agoAdded -filter to wiktionary.org/.
hal9 [Thu, 20 Nov 2008 11:22:30 +0000 (11:22 +0000)]
Added -filter to wiktionary.org/.

13 years agoUnblock wiktionary.org per tracker feedback.
hal9 [Thu, 20 Nov 2008 11:19:34 +0000 (11:19 +0000)]
Unblock wiktionary.org per tracker feedback.

13 years agoRemove an obsolete comment.
Fabian Keil [Thu, 20 Nov 2008 08:22:28 +0000 (08:22 +0000)]
Remove an obsolete comment.

13 years agoTurn keep-alive support into a runtime feature
Fabian Keil [Sun, 16 Nov 2008 12:43:49 +0000 (12:43 +0000)]
Turn keep-alive support into a runtime feature
that is disabled by setting keep-alive-timeout
to a negative value.

13 years agoMake keep_alive_timeout static.
Fabian Keil [Thu, 13 Nov 2008 09:15:51 +0000 (09:15 +0000)]
Make keep_alive_timeout static.

13 years agoAdd new config option: keep-alive-timeout.
Fabian Keil [Thu, 13 Nov 2008 09:08:42 +0000 (09:08 +0000)]
Add new config option: keep-alive-timeout.

13 years agoAccept and ignore:
Fabian Keil [Mon, 10 Nov 2008 17:17:31 +0000 (17:17 +0000)]
Accept and ignore:
Header: Disabled filter mode on behalf of the client.

13 years agoAdd a fast-redirects exception for .groundspring.org.
Fabian Keil [Mon, 10 Nov 2008 17:16:21 +0000 (17:16 +0000)]
Add a fast-redirects exception for .groundspring.org.

13 years agoFix a gcc44 warning and remove a now-obsolete cast.
Fabian Keil [Mon, 10 Nov 2008 17:03:57 +0000 (17:03 +0000)]
Fix a gcc44 warning and remove a now-obsolete cast.

13 years agoFix a gcc44 warning (in filters.c).
Fabian Keil [Mon, 10 Nov 2008 16:55:59 +0000 (16:55 +0000)]
Fix a gcc44 warning (in filters.c).

13 years agoFix a gcc44 warning.
Fabian Keil [Mon, 10 Nov 2008 16:40:25 +0000 (16:40 +0000)]
Fix a gcc44 warning.

13 years agoMention actual values when complaining about
Fabian Keil [Sat, 8 Nov 2008 15:48:41 +0000 (15:48 +0000)]
Mention actual values when complaining about
the chunk size exceeding the buffer size.

13 years agoHighlight two recently unified log messages properly.
Fabian Keil [Sat, 8 Nov 2008 15:34:30 +0000 (15:34 +0000)]
Highlight two recently unified log messages properly.

13 years agoUnify two debug messages.
Fabian Keil [Sat, 8 Nov 2008 15:29:58 +0000 (15:29 +0000)]
Unify two debug messages.

13 years agoFix duplicated debugging check.
Fabian Keil [Sat, 8 Nov 2008 15:14:05 +0000 (15:14 +0000)]
Fix duplicated debugging check.

13 years agoFix last-chunk detection hack to also apply
Fabian Keil [Thu, 6 Nov 2008 19:42:17 +0000 (19:42 +0000)]
Fix last-chunk detection hack to also apply
if buf[] contains nothing but the last-chunk.

13 years agoFactor receive_client_request() and
Fabian Keil [Thu, 6 Nov 2008 18:34:35 +0000 (18:34 +0000)]
Factor receive_client_request() and
parse_client_request() out of chat().

13 years agoAccept and ignore:
Fabian Keil [Tue, 4 Nov 2008 17:34:45 +0000 (17:34 +0000)]
Accept and ignore:
Header: A HTTP/1.1 response without Connection header implies keep-alive.

13 years agoHTTP/1.1 responses without Connection
Fabian Keil [Tue, 4 Nov 2008 17:20:31 +0000 (17:20 +0000)]
HTTP/1.1 responses without Connection
header imply keep-alive. Act accordingly.

13 years agoMention that the "clear log" view option
Fabian Keil [Mon, 3 Nov 2008 16:51:17 +0000 (16:51 +0000)]
Mention that the "clear log" view option
is based on a patch submitted by T Ford.

13 years agoAccept and ignore "Connect: Unsetting keep-alive flag.".
Fabian Keil [Mon, 3 Nov 2008 16:31:56 +0000 (16:31 +0000)]
Accept and ignore "Connect: Unsetting keep-alive flag.".