privoxy.git
13 years agoAdvertise IPv6 support on the show-status page.
Fabian Keil [Fri, 17 Apr 2009 11:47:40 +0000 (11:47 +0000)]
Advertise IPv6 support on the show-status page.

13 years agoReplace HAVE_GETADDRINFO and HAVE_GETNAMEINFO macros
Fabian Keil [Fri, 17 Apr 2009 11:45:19 +0000 (11:45 +0000)]
Replace HAVE_GETADDRINFO and HAVE_GETNAMEINFO macros
with HAVE_RFC2553 macro. Original patch by Petr Pisar.

13 years agoFix IPv4-mapped IPv6 prefix. Patch by Petr Pisar.
Fabian Keil [Fri, 17 Apr 2009 11:42:07 +0000 (11:42 +0000)]
Fix IPv4-mapped IPv6 prefix. Patch by Petr Pisar.

13 years agoIn the listen-address description, be more specific
Fabian Keil [Fri, 17 Apr 2009 11:40:48 +0000 (11:40 +0000)]
In the listen-address description, be more specific
about the requested IP version.

13 years agoIf the hostname is 'localhost' or not specified, request an AF_INET address.
Fabian Keil [Fri, 17 Apr 2009 11:39:52 +0000 (11:39 +0000)]
If the hostname is 'localhost' or not specified, request an AF_INET address.

13 years agoAdd and use parse_forwarder_address() to reduce code duplication.
Fabian Keil [Fri, 17 Apr 2009 11:38:28 +0000 (11:38 +0000)]
Add and use parse_forwarder_address() to reduce code duplication.

13 years agoAllow IPv6 addresses in forward-override{}.
Fabian Keil [Fri, 17 Apr 2009 11:37:03 +0000 (11:37 +0000)]
Allow IPv6 addresses in forward-override{}.

13 years agoFix compiler warning.
Fabian Keil [Fri, 17 Apr 2009 11:35:28 +0000 (11:35 +0000)]
Fix compiler warning.

13 years agoStyle cosmetics for the IPv6 code.
Fabian Keil [Fri, 17 Apr 2009 11:34:35 +0000 (11:34 +0000)]
Style cosmetics for the IPv6 code.

13 years agoGrammar and spelling fixes.
Fabian Keil [Fri, 17 Apr 2009 11:32:57 +0000 (11:32 +0000)]
Grammar and spelling fixes.

13 years agoRemove trailing whitespace.
Fabian Keil [Fri, 17 Apr 2009 11:31:48 +0000 (11:31 +0000)]
Remove trailing whitespace.

13 years agoGrammar and spelling fixes.
Fabian Keil [Fri, 17 Apr 2009 11:30:55 +0000 (11:30 +0000)]
Grammar and spelling fixes.

13 years agoCompile fix for BSD libc.
Fabian Keil [Fri, 17 Apr 2009 11:29:18 +0000 (11:29 +0000)]
Compile fix for BSD libc.

13 years agoPetr Pisar's privoxy-3.0.12-ipv6-3.diff.
Fabian Keil [Fri, 17 Apr 2009 11:27:49 +0000 (11:27 +0000)]
Petr Pisar's privoxy-3.0.12-ipv6-3.diff.

13 years agoAdd regression test for the previous commit.
Fabian Keil [Thu, 16 Apr 2009 16:12:44 +0000 (16:12 +0000)]
Add regression test for the previous commit.

13 years agoVideos don't play on cnn.com per Actionsfile tracker.
hal9 [Thu, 16 Apr 2009 00:03:24 +0000 (00:03 +0000)]
Videos don't play on cnn.com per Actionsfile tracker.

13 years agoUpdate a comment. We're not in Kansas anymore.
Fabian Keil [Sat, 11 Apr 2009 10:44:47 +0000 (10:44 +0000)]
Update a comment. We're not in Kansas anymore.

13 years agoWhen dropping connections due to ACL, don't leak csp->ip_addr_str.
Fabian Keil [Sat, 11 Apr 2009 10:37:23 +0000 (10:37 +0000)]
When dropping connections due to ACL, don't leak csp->ip_addr_str.

13 years agoFix two cases in which an invalid server response would result
Fabian Keil [Thu, 9 Apr 2009 10:12:54 +0000 (10:12 +0000)]
Fix two cases in which an invalid server response would result
in the client connection being closed without sending an error
message first.

13 years agoIn the "I would like to help ..." entry:
Fabian Keil [Tue, 7 Apr 2009 12:25:05 +0000 (12:25 +0000)]
In the "I would like to help ..." entry:
- Change the ids to more general ones as helping out doesn't require
  joining the team (and joining the team requires significantly helping
  out first, anyway).
- Add links to the subscription pages for the main mailing lists.

13 years agoIf the server rudely resets the connection directly after sending the
Fabian Keil [Tue, 7 Apr 2009 11:43:50 +0000 (11:43 +0000)]
If the server rudely resets the connection directly after sending the
headers, pass the mess to the client instead of sending an incorrect
connect-failed message. Fixes #2698674 reported by mybugaccount.

13 years agoPut some headers in error messages in single quotes.
Fabian Keil [Sun, 5 Apr 2009 19:01:19 +0000 (19:01 +0000)]
Put some headers in error messages in single quotes.

13 years agoLet the clean target play nice with git.
Fabian Keil [Sat, 4 Apr 2009 20:24:29 +0000 (20:24 +0000)]
Let the clean target play nice with git.

13 years agoFix whitespace.
Fabian Keil [Sat, 4 Apr 2009 18:13:51 +0000 (18:13 +0000)]
Fix whitespace.

13 years agoBlock awin1.com, ad generator per Actionsfile feedback.
hal9 [Wed, 1 Apr 2009 22:52:33 +0000 (22:52 +0000)]
Block awin1.com, ad generator per Actionsfile feedback.

13 years agoRecommend the use of forward-socks5 when forwarding to Tor.
Fabian Keil [Sat, 28 Mar 2009 15:33:41 +0000 (15:33 +0000)]
Recommend the use of forward-socks5 when forwarding to Tor.
The error messages are more detailed than with forward-socks4a.

13 years agoCorrect the status code for CONNECTION_TIMEOUT_RESPONSE.
Fabian Keil [Fri, 27 Mar 2009 14:42:30 +0000 (14:42 +0000)]
Correct the status code for CONNECTION_TIMEOUT_RESPONSE.

13 years agoIf spawning a child in listen_loop() fails, send a real
Fabian Keil [Fri, 27 Mar 2009 14:32:04 +0000 (14:32 +0000)]
If spawning a child in listen_loop() fails, send a real
HTTP response to the client and continue listening for
new connections without artificial delay.

13 years agomerge Debian changes from 3.0.10 to 3.0.12.
Roland Rosenfeld [Wed, 25 Mar 2009 21:02:10 +0000 (21:02 +0000)]
merge Debian changes from 3.0.10 to 3.0.12.

13 years agoIn serve(), keep the client socket open until we marked the
Fabian Keil [Wed, 25 Mar 2009 17:30:30 +0000 (17:30 +0000)]
In serve(), keep the client socket open until we marked the
server socket as unused. This should increase the chances
that we reuse the connection for the client's next request
to the same destination.

13 years agoAnd they are running again. Bump version to 3.0.13 UNRELEASED.
Fabian Keil [Wed, 25 Mar 2009 17:26:31 +0000 (17:26 +0000)]
And they are running again. Bump version to 3.0.13 UNRELEASED.

13 years agoget rid of
Lee [Tue, 24 Mar 2009 12:20:39 +0000 (12:20 +0000)]
get rid of
Error: handle-as-empty-document overruled by handle-as-image.

13 years agorecommend logging crunches
Lee [Mon, 23 Mar 2009 04:17:47 +0000 (04:17 +0000)]
recommend logging crunches

13 years agoOh well, at least the ChangeLog consumers got it right ...
Fabian Keil [Sat, 21 Mar 2009 22:13:58 +0000 (22:13 +0000)]
Oh well, at least the ChangeLog consumers got it right ...

13 years ago- Mention that we are an associated project of SPI.
Fabian Keil [Sat, 21 Mar 2009 13:11:52 +0000 (13:11 +0000)]
- Mention that we are an associated project of SPI.
- Add a link to the "Would you like to donate?" entry in the FAQ.

13 years agoRebuild with recent changes.
Fabian Keil [Sat, 21 Mar 2009 13:05:47 +0000 (13:05 +0000)]
Rebuild with recent changes.

13 years agoRebuild with recent changes.
Fabian Keil [Sat, 21 Mar 2009 12:59:32 +0000 (12:59 +0000)]
Rebuild with recent changes.

13 years ago- Mention that we are an associated project of SPI.
Fabian Keil [Sat, 21 Mar 2009 12:42:49 +0000 (12:42 +0000)]
- Mention that we are an associated project of SPI.
- Add a link to the "Would you like to donate?" entry in the FAQ.

13 years agoTurn the donation entry title into a question,
Fabian Keil [Sat, 21 Mar 2009 12:27:44 +0000 (12:27 +0000)]
Turn the donation entry title into a question,
also rephrase the content a bit.

13 years agoRestore defaults for user-manual, confdir and logdir.
Fabian Keil [Sat, 21 Mar 2009 11:51:51 +0000 (11:51 +0000)]
Restore defaults for user-manual, confdir and logdir.

13 years agoUpdated HTML docs for 3.0.12.
hal9 [Sat, 21 Mar 2009 11:46:54 +0000 (11:46 +0000)]
Updated HTML docs for 3.0.12.

13 years agoUpdated the changelog and about Privoxy texts.
hal9 [Sat, 21 Mar 2009 11:41:37 +0000 (11:41 +0000)]
Updated the changelog and about Privoxy texts.

13 years agoChanged version string only to 3.0.12
hal9 [Sat, 21 Mar 2009 11:35:37 +0000 (11:35 +0000)]
Changed version string only to 3.0.12

13 years agoRebuild man pages for 3.0.12.
hal9 [Sat, 21 Mar 2009 11:34:41 +0000 (11:34 +0000)]
Rebuild man pages for 3.0.12.

13 years agoReworked for 3.0.12 upcoming release.
hal9 [Sat, 21 Mar 2009 11:32:38 +0000 (11:32 +0000)]
Reworked for 3.0.12 upcoming release.

13 years agoMerge updated ChangeLog.
Fabian Keil [Sat, 21 Mar 2009 10:49:05 +0000 (10:49 +0000)]
Merge updated ChangeLog.

13 years agoBump version to 3.0.12.
Fabian Keil [Sat, 21 Mar 2009 10:46:15 +0000 (10:46 +0000)]
Bump version to 3.0.12.

13 years agoDeclare the code stable.
Fabian Keil [Sat, 21 Mar 2009 10:45:06 +0000 (10:45 +0000)]
Declare the code stable.

13 years agoMention the changed logging behaviour in daemon mode.
Fabian Keil [Fri, 20 Mar 2009 20:07:34 +0000 (20:07 +0000)]
Mention the changed logging behaviour in daemon mode.

13 years ago- Privoxy doesn't exactly "manage" cookies like a modern browser
Fabian Keil [Fri, 20 Mar 2009 20:05:11 +0000 (20:05 +0000)]
- Privoxy doesn't exactly "manage" cookies like a modern browser
  does, but it can do neat stuff with HTTP headers in general.
- Privoxy doesn't reliably block Pop-ups, so stop pretending.
- People who never heard of Privoxy are unlikely to to have
  heard of Internet Junkbuster either, so don't bring it up here.
- Mention the license.

13 years agoI like having the version logged at startup and the Windows GUI stopped logging
Lee [Fri, 20 Mar 2009 03:39:31 +0000 (03:39 +0000)]
I like having the version logged at startup and the Windows GUI stopped logging
it after LOG_LEVEL_INFO was removed from
  static int debug = (LOG_LEVEL_FATAL | LOG_LEVEL_ERROR | LOG_LEVEL_INFO);

13 years agoFirst draft of a "Donating" entry. To be polished tomorrow.
Fabian Keil [Thu, 19 Mar 2009 19:07:49 +0000 (19:07 +0000)]
First draft of a "Donating" entry. To be polished tomorrow.

13 years agoIn init_error_log(), suppress the "(Re-)Opening logfile" message if
Fabian Keil [Wed, 18 Mar 2009 21:56:30 +0000 (21:56 +0000)]
In init_error_log(), suppress the "(Re-)Opening logfile" message if
we're still logging to stderr. This restores the "silent mode", but
with LOG_LEVEL_INFO enabled, the show_version() info is written to
the logfile as intended.

13 years agoRevert the last commit as there's a better way.
Fabian Keil [Wed, 18 Mar 2009 21:46:26 +0000 (21:46 +0000)]
Revert the last commit as there's a better way.

13 years agoComment fix. Spotted by Roland.
Fabian Keil [Wed, 18 Mar 2009 21:01:20 +0000 (21:01 +0000)]
Comment fix. Spotted by Roland.

13 years agoIf the --no-daemon option is used, enable LOG_LEVEL_INFO
Fabian Keil [Wed, 18 Mar 2009 20:48:42 +0000 (20:48 +0000)]
If the --no-daemon option is used, enable LOG_LEVEL_INFO
before the config file has been parsed (as we always did).

13 years agoDon't enable LOG_LEVEL_INFO by default and don't apply the user's
Fabian Keil [Wed, 18 Mar 2009 20:43:19 +0000 (20:43 +0000)]
Don't enable LOG_LEVEL_INFO by default and don't apply the user's
debug settings until the logfile has been opened (if there is one).
Patch submitted by Roland in #2624120.

13 years agoUpdate "What's New in this Release" section.
Fabian Keil [Sun, 15 Mar 2009 19:31:36 +0000 (19:31 +0000)]
Update "What's New in this Release" section.

13 years agoAdd changes since 3.0.11.
Fabian Keil [Sun, 15 Mar 2009 18:28:49 +0000 (18:28 +0000)]
Add changes since 3.0.11.

13 years agoCosmetics.
Fabian Keil [Sun, 15 Mar 2009 14:59:34 +0000 (14:59 +0000)]
Cosmetics.

13 years agoHighlight: Info: Buffer limit reached while extending the buffer (iob). Needed: 41974...
Fabian Keil [Sat, 14 Mar 2009 15:31:58 +0000 (15:31 +0000)]
Highlight: Info: Buffer limit reached while extending the buffer (iob). Needed: 4197470. Limit: 4194304
Ignore: Info: Flushing header and buffers. Stepping back from filtering.

13 years agoFix some more harmless warnings on amd64.
Fabian Keil [Fri, 13 Mar 2009 14:10:07 +0000 (14:10 +0000)]
Fix some more harmless warnings on amd64.

13 years agoRequest the default charset in LogPutStringNoMatch().
Fabian Keil [Mon, 9 Mar 2009 19:02:09 +0000 (19:02 +0000)]
Request the default charset in LogPutStringNoMatch().
Submitted by Burberry in #2674342 as fix for #2662382.

13 years agoUse the Privoxy icon in the alt+tab window.
Fabian Keil [Mon, 9 Mar 2009 18:32:48 +0000 (18:32 +0000)]
Use the Privoxy icon in the alt+tab window.
Patch submitted by Burberry in #2674342.

13 years agoAs of r1.88, the show-status page can use a single line for
Fabian Keil [Mon, 9 Mar 2009 17:29:08 +0000 (17:29 +0000)]
As of r1.88, the show-status page can use a single line for
warnings about ignored directives and the names of the ignored
directives themselves. Reminded by Lee, finally closes #1856559.

13 years agoReinitialize the timeout structure every time before passing
Fabian Keil [Sun, 8 Mar 2009 19:29:16 +0000 (19:29 +0000)]
Reinitialize the timeout structure every time before passing
it to select(). Apparently some implementations mess with it.
Probably fixes #2669131 reported by cyberpatrol.

13 years agoFix justified (but harmless) compiler warnings
Fabian Keil [Sun, 8 Mar 2009 14:19:23 +0000 (14:19 +0000)]
Fix justified (but harmless) compiler warnings
on platforms where sizeof(int) < sizeof(long).

13 years agoAll the CSP_FLAG_FOO bit masks should be unsigned ints.
Fabian Keil [Sun, 8 Mar 2009 14:12:51 +0000 (14:12 +0000)]
All the CSP_FLAG_FOO bit masks should be unsigned ints.

13 years agoFix two mingw32-only buffer overflows. Note that triggering
Fabian Keil [Sat, 7 Mar 2009 17:58:02 +0000 (17:58 +0000)]
Fix two mingw32-only buffer overflows. Note that triggering
them requires control over the configuration file in which
case all bets are off anyway.

13 years agoChange csp->expected_content and_csp->expected_content_length from
Fabian Keil [Sat, 7 Mar 2009 13:09:17 +0000 (13:09 +0000)]
Change csp->expected_content and_csp->expected_content_length from
size_t to unsigned long long to reduce the likelihood of integer
overflows that would let us close the connection prematurely.
Bug found while investigating #2669131, reported by cyberpatrol.

13 years agoAdd log_error() support for unsigned long long (%lld).
Fabian Keil [Sat, 7 Mar 2009 12:56:12 +0000 (12:56 +0000)]
Add log_error() support for unsigned long long (%lld).

13 years agoOmit timestamp and thread id in the mingw32 message box.
Fabian Keil [Sat, 7 Mar 2009 11:34:36 +0000 (11:34 +0000)]
Omit timestamp and thread id in the mingw32 message box.

13 years agoFix compiler warning.
Fabian Keil [Sat, 7 Mar 2009 11:17:01 +0000 (11:17 +0000)]
Fix compiler warning.

13 years agoLog unsigned values as such.
Fabian Keil [Fri, 6 Mar 2009 20:30:13 +0000 (20:30 +0000)]
Log unsigned values as such.

13 years agoNo need to create empty strings manually, strdup("") FTW.
Fabian Keil [Wed, 4 Mar 2009 18:24:47 +0000 (18:24 +0000)]
No need to create empty strings manually, strdup("") FTW.

13 years agoNYT home page formatting is broken; need to allow their .css files
Lee [Wed, 4 Mar 2009 15:05:00 +0000 (15:05 +0000)]
NYT home page formatting is broken; need to allow their .css files

13 years agoStreamline parse_http_request()'s prototype. As
Fabian Keil [Mon, 2 Mar 2009 19:18:11 +0000 (19:18 +0000)]
Streamline parse_http_request()'s prototype. As
cparser pointed out it doesn't actually use csp.

13 years agoUpdate README to reflect the code is in development mode.
hal9 [Sun, 1 Mar 2009 18:55:18 +0000 (18:55 +0000)]
Update README to reflect the code is in development mode.

13 years ago- Help clang understand that we aren't
Fabian Keil [Sun, 1 Mar 2009 18:46:33 +0000 (18:46 +0000)]
- Help clang understand that we aren't
  dereferencing NULL pointers here.
- Some style fixes in the modified region.

13 years agoHelp clang understand that we aren't dereferencing
Fabian Keil [Sun, 1 Mar 2009 18:43:48 +0000 (18:43 +0000)]
Help clang understand that we aren't dereferencing
NULL pointers here.

13 years agoFix cparser warnings.
Fabian Keil [Sun, 1 Mar 2009 18:43:09 +0000 (18:43 +0000)]
Fix cparser warnings.

13 years agoHelp clang understand that we aren't dereferencing
Fabian Keil [Sun, 1 Mar 2009 18:34:24 +0000 (18:34 +0000)]
Help clang understand that we aren't dereferencing
NULL pointers here.

13 years agocouple of changes to the yahoo filter
Lee [Sun, 1 Mar 2009 18:33:17 +0000 (18:33 +0000)]
couple of changes to the yahoo filter
-get a bigger email message reply textarea
-block a few more ads
-remove the now useless northbanner css change

13 years agomore things to block
Lee [Sun, 1 Mar 2009 18:31:43 +0000 (18:31 +0000)]
more things to block

13 years agoHelp clang understand that we aren't dereferencing
Fabian Keil [Sun, 1 Mar 2009 18:28:24 +0000 (18:28 +0000)]
Help clang understand that we aren't dereferencing
NULL pointers here.

13 years agoGimme a break or two. Don't let the show-status page
Fabian Keil [Sat, 28 Feb 2009 10:57:10 +0000 (10:57 +0000)]
Gimme a break or two. Don't let the show-status page
link to the website documentation for the user-manual
directive itself.

13 years agopcrs.o doesn't depend on pcre/pcre.h if we are linking
Fabian Keil [Sat, 28 Feb 2009 08:28:14 +0000 (08:28 +0000)]
pcrs.o doesn't depend on pcre/pcre.h if we are linking
dynamically. Patch provided by drauh in #2056286.

13 years agoCosmetics.
Fabian Keil [Fri, 27 Feb 2009 18:35:22 +0000 (18:35 +0000)]
Cosmetics.

13 years agoFix typo.
Fabian Keil [Wed, 25 Feb 2009 19:01:57 +0000 (19:01 +0000)]
Fix typo.

13 years agoAll your trailing white space are belong to us.
Fabian Keil [Wed, 25 Feb 2009 18:56:10 +0000 (18:56 +0000)]
All your trailing white space are belong to us.

13 years agoAdd the cli option --show-skipped-tests to log
Fabian Keil [Wed, 25 Feb 2009 17:18:47 +0000 (17:18 +0000)]
Add the cli option --show-skipped-tests to log
skipped tests even if verbose mode is off.

13 years agoAnd the journey continues. Bump version to 3.0.12 UNRELEASED.
Fabian Keil [Wed, 25 Feb 2009 16:58:03 +0000 (16:58 +0000)]
And the journey continues. Bump version to 3.0.12 UNRELEASED.

13 years agoMove the developer manual link to the other privoxy.org links.
Fabian Keil [Mon, 23 Feb 2009 10:42:58 +0000 (10:42 +0000)]
Move the developer manual link to the other privoxy.org links.

13 years agoIf --verbose is set, log which tests were skipped and why.
Fabian Keil [Mon, 23 Feb 2009 09:50:07 +0000 (09:50 +0000)]
If --verbose is set, log which tests were skipped and why.

13 years ago- Change the link to the developer manual to point to the
Fabian Keil [Mon, 23 Feb 2009 09:03:12 +0000 (09:03 +0000)]
- Change the link to the developer manual to point to the
  version on the web. Relative links don't work if Privoxy
  is delivering the user manual. Noticed by Lee.
- Remove an incorrect line break in the untar instructions
  and fix the directory name.

13 years agoLet the level 9 dependency check accept relative paths.
Fabian Keil [Sun, 22 Feb 2009 15:07:58 +0000 (15:07 +0000)]
Let the level 9 dependency check accept relative paths.
Noticed by Lee.

13 years agoUpdates to the 'make webserver' target that recreates the home page and uploads
hal9 [Sun, 22 Feb 2009 14:48:31 +0000 (14:48 +0000)]
Updates to the 'make webserver' target that recreates the home page and uploads
fresh documents to reflect new SF realities, and more explanation of process.

13 years ago- Remove the link to http://www.waldherr.org/junkbuster/
Fabian Keil [Sun, 22 Feb 2009 11:05:21 +0000 (11:05 +0000)]
- Remove the link to www.waldherr.org/junkbuster/
  which no longer exists.
- Cosmetics.

13 years agoFix the tarball name here as well.
Fabian Keil [Sat, 21 Feb 2009 14:54:10 +0000 (14:54 +0000)]
Fix the tarball name here as well.

13 years agoFix ampersand encoding in URLs.
Fabian Keil [Sat, 21 Feb 2009 14:36:25 +0000 (14:36 +0000)]
Fix ampersand encoding in URLs.