privoxy.git
11 years agoRebuild for 3.0.17 stable
Fabian Keil [Wed, 10 Nov 2010 21:52:21 +0000 (21:52 +0000)]
Rebuild for 3.0.17 stable

11 years agoSet p-version to 3.0.17
Fabian Keil [Wed, 10 Nov 2010 21:49:38 +0000 (21:49 +0000)]
Set p-version to 3.0.17

11 years agoFix the version number for the previous release
Fabian Keil [Wed, 10 Nov 2010 21:49:12 +0000 (21:49 +0000)]
Fix the version number for the previous release

11 years agoUpdate the "What's New" section.
Fabian Keil [Wed, 10 Nov 2010 21:48:54 +0000 (21:48 +0000)]
Update the "What's New" section.

11 years agoSome formatting changes so changelog2doc.pl doesn't get digestion problems.
Fabian Keil [Wed, 10 Nov 2010 21:48:10 +0000 (21:48 +0000)]
Some formatting changes so changelog2doc.pl doesn't get digestion problems.

11 years agoAdd changes made in the last days.
Fabian Keil [Wed, 10 Nov 2010 21:47:39 +0000 (21:47 +0000)]
Add changes made in the last days.

11 years agoGrammar fixes for the ACL section.
Fabian Keil [Mon, 8 Nov 2010 17:54:21 +0000 (17:54 +0000)]
Grammar fixes for the ACL section.

11 years agoAccept and highlight: Reducing expected bytes to 0. Marking the server socket tainted...
Fabian Keil [Mon, 8 Nov 2010 17:53:57 +0000 (17:53 +0000)]
Accept and highlight: Reducing expected bytes to 0. Marking the server socket tainted after throwing 4 bytes away.

11 years agoIgnore: Merged multiple header lines to: 'X-FORWARDED-PROTO: http X-HOST: 127.0.0.1'
Fabian Keil [Mon, 8 Nov 2010 17:53:29 +0000 (17:53 +0000)]
Ignore: Merged multiple header lines to: 'X-FORWARDED-PROTO: http X-HOST: 127.0.0.1'

11 years agoHighlight: Killed all-caps Host header line: HOST: bestproxydb.com
Fabian Keil [Mon, 8 Nov 2010 17:53:14 +0000 (17:53 +0000)]
Highlight: Killed all-caps Host header line: HOST: bestproxydb.com

11 years agoFix a misplaced comment
Fabian Keil [Mon, 8 Nov 2010 17:52:55 +0000 (17:52 +0000)]
Fix a misplaced comment

11 years agoAdd an option to also gather statistics about how many request where made per host.
Fabian Keil [Mon, 8 Nov 2010 17:52:36 +0000 (17:52 +0000)]
Add an option to also gather statistics about how many request where made per host.

11 years agoDitch set_undefined_stats_keys_to_zero() again, there's already init_stats() which...
Fabian Keil [Mon, 8 Nov 2010 17:51:54 +0000 (17:51 +0000)]
Ditch set_undefined_stats_keys_to_zero() again, there's already init_stats() which does basically the same.

11 years agoLet block_acl() work as advertised. If the last matching acl directive denies access...
Fabian Keil [Mon, 8 Nov 2010 17:51:11 +0000 (17:51 +0000)]
Let block_acl() work as advertised. If the last matching acl directive denies access, the game is over, too.

Otherwise it's impossible to say: grant everyone but those
explicitly-mentioned suckers access (blacklist).

Usually it's done the other way around (whitelist), which worked
as expected, but blacklisting is still useful for a public proxy
where one only needs to deny known abusers access.

11 years agoFix some possible warnings by setting all known undefined stats keys to zero before...
Fabian Keil [Sat, 6 Nov 2010 13:27:45 +0000 (13:27 +0000)]
Fix some possible warnings by setting all known undefined stats keys to zero before generating the statistics.

11 years agoComplete the previous commit
Fabian Keil [Sat, 6 Nov 2010 12:58:42 +0000 (12:58 +0000)]
Complete the previous commit

11 years agoRebuild for the 3.0.17 release.
Fabian Keil [Sat, 6 Nov 2010 12:56:15 +0000 (12:56 +0000)]
Rebuild for the 3.0.17 release.

11 years agoSet p-version to 3.0.17
Fabian Keil [Sat, 6 Nov 2010 12:55:48 +0000 (12:55 +0000)]
Set p-version to 3.0.17

11 years agoIn stats_loop(), add the ignore handler for LOG_LEVEL_RECEIVED.
Fabian Keil [Sat, 6 Nov 2010 12:10:29 +0000 (12:10 +0000)]
In stats_loop(), add the ignore handler for LOG_LEVEL_RECEIVED.

11 years agoAdd an entry about detecting system time travel.
Fabian Keil [Sat, 6 Nov 2010 11:58:16 +0000 (11:58 +0000)]
Add an entry about detecting system time travel.

11 years agoNote the unlimited-config-lines branch which should be merged after the next release.
Fabian Keil [Sat, 6 Nov 2010 11:58:01 +0000 (11:58 +0000)]
Note the unlimited-config-lines branch which should be merged after the next release.

11 years agoNote that I started working on 57)
Fabian Keil [Sat, 6 Nov 2010 11:57:46 +0000 (11:57 +0000)]
Note that I started working on 57)

11 years agoMention that adding DTrace hooks makes sense now.
Fabian Keil [Sat, 6 Nov 2010 11:57:31 +0000 (11:57 +0000)]
Mention that adding DTrace hooks makes sense now.

11 years agoMention a possibility how to deal with 40)
Fabian Keil [Sat, 6 Nov 2010 11:57:00 +0000 (11:57 +0000)]
Mention a possibility how to deal with 40)

11 years agoNote that POST parameters can be logged now.
Fabian Keil [Sat, 6 Nov 2010 11:55:49 +0000 (11:55 +0000)]
Note that POST parameters can be logged now.

11 years agoSilence a 'gcc (Debian 4.3.2-1.1) 4.3.2' warning on i686 GNU/Linux.
Fabian Keil [Sat, 6 Nov 2010 11:48:32 +0000 (11:48 +0000)]
Silence a 'gcc (Debian 4.3.2-1.1) 4.3.2' warning on i686 GNU/Linux.

11 years agoAdd two sections to get Flickr's Ajax interface working with default pre-settings.
Fabian Keil [Sat, 6 Nov 2010 10:47:59 +0000 (10:47 +0000)]
Add two sections to get Flickr's Ajax interface working with default pre-settings.

Reported by Mathias Homann in #3101419 and by Patrick on ijbswa-users@.

11 years agoUpdate the 'important changes' section.
Fabian Keil [Sat, 6 Nov 2010 10:47:12 +0000 (10:47 +0000)]
Update the 'important changes' section.

11 years agoPolish a few more change descriptions.
Fabian Keil [Mon, 1 Nov 2010 12:49:43 +0000 (12:49 +0000)]
Polish a few more change descriptions.

11 years agoFix grammar.
Fabian Keil [Mon, 1 Nov 2010 12:49:26 +0000 (12:49 +0000)]
Fix grammar.

11 years agoClarify a documentation change.
Fabian Keil [Mon, 1 Nov 2010 12:49:02 +0000 (12:49 +0000)]
Clarify a documentation change.

11 years agoPolish the action file changes a bit.
Fabian Keil [Mon, 1 Nov 2010 12:48:46 +0000 (12:48 +0000)]
Polish the action file changes a bit.

11 years agoRemove a duplicate
Fabian Keil [Mon, 1 Nov 2010 12:48:32 +0000 (12:48 +0000)]
Remove a duplicate

11 years agoFrom a user perspective the GNUmakefile improvements matter even less than the code...
Fabian Keil [Mon, 1 Nov 2010 12:48:19 +0000 (12:48 +0000)]
From a user perspective the GNUmakefile improvements matter even less than the code cleanups, so move them to the end

11 years agoReduce indentation from 4 to 2 spaces for categorized change descriptions
Fabian Keil [Mon, 1 Nov 2010 12:47:43 +0000 (12:47 +0000)]
Reduce indentation from 4 to 2 spaces for categorized change descriptions

11 years agoImprove the wording of various change descriptions.
Fabian Keil [Mon, 1 Nov 2010 12:47:04 +0000 (12:47 +0000)]
Improve the wording of various change descriptions.

11 years agoAdd a license header.
Fabian Keil [Sun, 31 Oct 2010 13:29:31 +0000 (13:29 +0000)]
Add a license header.

11 years agoAdd support for the new ChangeLog format.
Fabian Keil [Sun, 31 Oct 2010 13:28:19 +0000 (13:28 +0000)]
Add support for the new ChangeLog format.

While the generated markup looks somewhat reasonable,
it hasn't actually been validated yet.

11 years agoFactor wrap_in_para_itemlist_markup() out of generate_markup().
Fabian Keil [Sun, 31 Oct 2010 13:27:03 +0000 (13:27 +0000)]
Factor wrap_in_para_itemlist_markup() out of generate_markup().

11 years agoStore entries in an array of hashes so we can later add the indentation level.
Fabian Keil [Sun, 31 Oct 2010 13:26:07 +0000 (13:26 +0000)]
Store entries in an array of hashes so we can later add the indentation level.

11 years agoFactor create_listitem_markup() out of generate_markup().
Fabian Keil [Sun, 31 Oct 2010 13:25:47 +0000 (13:25 +0000)]
Factor create_listitem_markup() out of generate_markup().

11 years agoReformat an entry, so the dash isn't the first non-whitespace character on a line.
Fabian Keil [Sun, 31 Oct 2010 13:25:22 +0000 (13:25 +0000)]
Reformat an entry, so the dash isn't the first non-whitespace character on a line.

11 years agoFix indentation for Privoxy-Log-Parser improvements.
Fabian Keil [Sun, 31 Oct 2010 13:24:58 +0000 (13:24 +0000)]
Fix indentation for Privoxy-Log-Parser improvements.

11 years agoRemove the 'into the logfile' part in two debug descriptions.
Fabian Keil [Sat, 30 Oct 2010 16:09:31 +0000 (16:09 +0000)]
Remove the 'into the logfile' part in two debug descriptions.

11 years agoDocument LOG_LEVEL_RECEIVED.
Fabian Keil [Sat, 30 Oct 2010 16:01:01 +0000 (16:01 +0000)]
Document LOG_LEVEL_RECEIVED.

11 years agoChange CODE_STATUS to stable.
Fabian Keil [Sat, 30 Oct 2010 15:57:50 +0000 (15:57 +0000)]
Change CODE_STATUS to stable.

11 years agoBump generated Firefox version to 3.6.12.
Fabian Keil [Sat, 30 Oct 2010 15:57:26 +0000 (15:57 +0000)]
Bump generated Firefox version to 3.6.12.

11 years agoBump generated Firefox version to 3.6.11.
Fabian Keil [Wed, 27 Oct 2010 19:58:45 +0000 (19:58 +0000)]
Bump generated Firefox version to 3.6.11.

11 years agoAdd changes in 3.0.17 stable.
Fabian Keil [Wed, 27 Oct 2010 19:57:02 +0000 (19:57 +0000)]
Add changes in 3.0.17 stable.

This is a draft that still needs polishing, also util/changelog2doc.pl
will require an update to deal with the formatting changes (if we keep them).

11 years agoAlso gather statistics for blocked requests.
Fabian Keil [Sat, 23 Oct 2010 08:01:54 +0000 (08:01 +0000)]
Also gather statistics for blocked requests.

11 years agoAlso gather statistics for fast redirections.
Fabian Keil [Sat, 23 Oct 2010 08:01:36 +0000 (08:01 +0000)]
Also gather statistics for fast redirections.

11 years agoBring back the icon with the binary flag set.
Fabian Keil [Sat, 23 Oct 2010 07:51:48 +0000 (07:51 +0000)]
Bring back the icon with the binary flag set.

Reported by daemonui in #3092454.

11 years agoRemove the icon so it can be added again with binary flag.
Fabian Keil [Sat, 23 Oct 2010 07:50:18 +0000 (07:50 +0000)]
Remove the icon so it can be added again with binary flag.

Reported by daemonui in #3092454.

11 years agoIn print_stats(), also provide the percentage of keep-alive offers the client accepted.
Fabian Keil [Sat, 16 Oct 2010 13:32:32 +0000 (13:32 +0000)]
In print_stats(), also provide the percentage of keep-alive offers the client accepted.

11 years agoDitch white-space added in the previous commit.
Fabian Keil [Sun, 10 Oct 2010 10:01:11 +0000 (10:01 +0000)]
Ditch white-space added in the previous commit.

11 years agoEnable the IPv6 code on Windows versions that support it.
Fabian Keil [Sun, 10 Oct 2010 09:58:12 +0000 (09:58 +0000)]
Enable the IPv6 code on Windows versions that support it.

Patch submitted by oCameLo in #2942729.

Time will tell if this causes problems for earlier Windows
versions, but if it does, it should be easy enough to fix.

12 years agoRemove parts of get_filter_function() that have been moved to content_requires_filter...
Fabian Keil [Tue, 14 Sep 2010 07:17:01 +0000 (07:17 +0000)]
Remove parts of get_filter_function() that have been moved to content_requires_filtering()

12 years agoAdd content_requires_filtering() as chat() not only needs to now if filtering is...
Fabian Keil [Tue, 14 Sep 2010 07:16:07 +0000 (07:16 +0000)]
Add content_requires_filtering() as chat() not only needs to now if filtering is enabled, but also if the filters can be executed.

12 years agoMake get_filter_function() static, now that it's no longer needed in jcc.c.
Fabian Keil [Tue, 14 Sep 2010 07:14:56 +0000 (07:14 +0000)]
Make get_filter_function() static, now that it's no longer needed in jcc.c.

12 years agoUse a boolean (int actually) instead of a pointer to figure out whether or not filter...
Fabian Keil [Tue, 14 Sep 2010 07:14:15 +0000 (07:14 +0000)]
Use a boolean (int actually) instead of a pointer to figure out whether or not filtering is enabled.

12 years agoRename execute_content_filter() to execute_content_filters() and remove the second...
Fabian Keil [Tue, 14 Sep 2010 07:13:10 +0000 (07:13 +0000)]
Rename execute_content_filter() to  execute_content_filters() and remove the second argument.

12 years agoAdd 80)
Fabian Keil [Tue, 14 Sep 2010 07:12:20 +0000 (07:12 +0000)]
Add 80)

Change FEATURE_EXTENDED_HOST_PATTERNS to support both
extended and vanilla host patterns at the same time.

12 years agoIn html_encode(), escape apostrophes so they can't mess up the embedded JavaScript.
Fabian Keil [Thu, 9 Sep 2010 21:00:25 +0000 (21:00 +0000)]
In html_encode(), escape apostrophes so they can't mess up the embedded JavaScript.

Reported by dg1727 in #3062296.

12 years agoIn listen_loop(), mention the socket on which we accepted the connection, not just...
Fabian Keil [Fri, 3 Sep 2010 17:40:37 +0000 (17:40 +0000)]
In listen_loop(), mention the socket on which we accepted the connection, not just the source IP address.

12 years agoAdd a range-requests tagger.
Fabian Keil [Fri, 3 Sep 2010 17:40:07 +0000 (17:40 +0000)]
Add a range-requests tagger.

12 years agoSlightly improve the explanation of why filtering may appear slower than it is.
Fabian Keil [Fri, 3 Sep 2010 17:39:37 +0000 (17:39 +0000)]
Slightly improve the explanation of why filtering may appear slower than it is.

12 years agoUse an enum for the filter type.
Fabian Keil [Fri, 3 Sep 2010 17:38:20 +0000 (17:38 +0000)]
Use an enum for the filter type.

12 years agoDisable URL statistics by default.
Fabian Keil [Sat, 28 Aug 2010 13:22:19 +0000 (13:22 +0000)]
Disable URL statistics by default.

12 years agoDisplay a warning if the URL statistics are incomplete or skipped.
Fabian Keil [Sat, 28 Aug 2010 13:22:00 +0000 (13:22 +0000)]
Display a warning if the URL statistics are incomplete or skipped.

12 years agoAdd a --url-statistics-threshold option.
Fabian Keil [Sat, 28 Aug 2010 13:21:24 +0000 (13:21 +0000)]
Add a --url-statistics-threshold option.

12 years agoAlso gather statistics for ressources, methods, and HTTP versions used by the client.
Fabian Keil [Sat, 28 Aug 2010 13:20:52 +0000 (13:20 +0000)]
Also gather statistics for ressources, methods, and HTTP versions used by the client.

12 years agoAdd the idea to add --compress and --decompress options.
Fabian Keil [Sat, 28 Aug 2010 13:20:23 +0000 (13:20 +0000)]
Add the idea to add --compress and --decompress options.

12 years agoFix a bug in handle_loglevel_header() where a 'scan: ' got lost.
Fabian Keil [Sat, 28 Aug 2010 12:55:47 +0000 (12:55 +0000)]
Fix a bug in handle_loglevel_header() where a 'scan: ' got lost.

12 years agoit helps if the new constants are included with the patch
Lee [Mon, 16 Aug 2010 21:39:19 +0000 (21:39 +0000)]
it helps if the new constants are included with the patch

12 years agoFeature Requests 3040263 :: Add "user.filter" to "Edit" menu
Lee [Sat, 14 Aug 2010 23:28:52 +0000 (23:28 +0000)]
Feature Requests 3040263 :: Add "user.filter" to "Edit" menu
- add an "Edit User Filters" menu item to the Privoxy Windows systray icon and
  change the "Edit Filters" menu item to "Edit Default Filters"

12 years agoAdd configure option --enable-large-file-support.
Fabian Keil [Thu, 29 Jul 2010 14:38:03 +0000 (14:38 +0000)]
Add configure option --enable-large-file-support.

It sets a few defines that are required by platforms
like GNU/Linux to support files larger then 2GB.

12 years agoIn the error paths in listen_loop(), we now have to freez csp_list instead of csp.
Fabian Keil [Thu, 29 Jul 2010 14:32:08 +0000 (14:32 +0000)]
In the error paths in listen_loop(), we now have to freez csp_list instead of csp.

Regression introduced in v1.324.

12 years agoAccept and higlight: Rejecting connection from 178.63.152.227. Maximum number of...
Fabian Keil [Thu, 29 Jul 2010 14:27:43 +0000 (14:27 +0000)]
Accept and higlight: Rejecting connection from 178.63.152.227. Maximum number of connections reached.

12 years agoFix a cast.
Fabian Keil [Mon, 26 Jul 2010 12:11:51 +0000 (12:11 +0000)]
Fix a cast.

12 years agoRename LOG_LEVEL_LOG to the more descriptive LOG_LEVEL_WRITING.
Fabian Keil [Mon, 26 Jul 2010 11:30:09 +0000 (11:30 +0000)]
Rename LOG_LEVEL_LOG to the more descriptive LOG_LEVEL_WRITING.

12 years agoAccept and ignore LOG_LEVEL_RECEIVED.
Fabian Keil [Mon, 26 Jul 2010 11:28:52 +0000 (11:28 +0000)]
Accept and ignore LOG_LEVEL_RECEIVED.

12 years agoAdd LOG_LEVEL_RECEIVED to log the not-yet-parsed data received.
Fabian Keil [Mon, 26 Jul 2010 11:28:11 +0000 (11:28 +0000)]
Add LOG_LEVEL_RECEIVED to log the not-yet-parsed data received.

This should make debugging various parsing issues a lot easier.

12 years agoIn write_socket(), also log the socket we're writing to.
Fabian Keil [Mon, 26 Jul 2010 11:26:26 +0000 (11:26 +0000)]
In write_socket(), also log the socket we're writing to.

12 years agoIn log_error(), assert that escaped characters get logged completely or not at all.
Fabian Keil [Mon, 26 Jul 2010 11:24:34 +0000 (11:24 +0000)]
In log_error(), assert that escaped characters get logged completely or not at all.

12 years agoIn log_error(), assert that ival and sval have reasonable values. There's no reason...
Fabian Keil [Mon, 26 Jul 2010 11:21:47 +0000 (11:21 +0000)]
In log_error(), assert that ival and sval have reasonable values. There's no reason not to abort() if they don't.

12 years agoRemove two obsolete comments in log_error().
Fabian Keil [Mon, 26 Jul 2010 11:20:53 +0000 (11:20 +0000)]
Remove two obsolete comments in log_error().

12 years agoIn log_error(), constify warning[].
Fabian Keil [Mon, 26 Jul 2010 11:20:17 +0000 (11:20 +0000)]
In log_error(), constify warning[].

12 years agoIn log_error(), log as much of %N "strings" as the buffer allows.
Fabian Keil [Mon, 26 Jul 2010 11:19:31 +0000 (11:19 +0000)]
In log_error(), log as much of %N "strings" as the buffer allows.

Previously we'd stop at the first nul byte which is pretty useless.

While at it, replace non-printable characters in %N "strings" with
their hex value so the result can't span multiple lines and \r's
don't cause a mess.

12 years agoFix spelling.
Fabian Keil [Thu, 22 Jul 2010 14:56:33 +0000 (14:56 +0000)]
Fix spelling.

12 years agoBump copyright year.
Fabian Keil [Thu, 22 Jul 2010 14:52:30 +0000 (14:52 +0000)]
Bump copyright year.

12 years agoAdd the --statistics option to the SYNOPSIS.
Fabian Keil [Thu, 22 Jul 2010 14:51:59 +0000 (14:51 +0000)]
Add the --statistics option to the SYNOPSIS.

12 years agoAdd a --shorten-thread-ids option to replace the thread id with a decimal number.
Fabian Keil [Thu, 22 Jul 2010 14:51:19 +0000 (14:51 +0000)]
Add a --shorten-thread-ids option to replace the thread id with a decimal number.

12 years agoRename jb_err_to_string()'s parameter to jb_error to prevent shadowing issues after...
Fabian Keil [Wed, 21 Jul 2010 14:43:03 +0000 (14:43 +0000)]
Rename jb_err_to_string()'s parameter to jb_error to prevent shadowing issues after the next commit.

12 years agoAccept and ignore: Looks like we got the last chunk together with the server headers...
Fabian Keil [Wed, 21 Jul 2010 14:40:42 +0000 (14:40 +0000)]
Accept and ignore: Looks like we got the last chunk together with the server headers. We better stop reading.

12 years agoAccept and ignore: Continue hack in da house.
Fabian Keil [Wed, 21 Jul 2010 14:40:09 +0000 (14:40 +0000)]
Accept and ignore: Continue hack in da house.

12 years agoIn chat(), add another last-chunk-check right after parsing the server headers.
Fabian Keil [Wed, 21 Jul 2010 14:39:20 +0000 (14:39 +0000)]
In chat(), add another last-chunk-check right after parsing the server headers.

Should fix #3028326 reported by "Karsten".

The check at the beginning of the loop should be obsolete
now, but there's no hurry to remove it right away.

12 years agoRemove the next member from the client_state struct.
Fabian Keil [Wed, 21 Jul 2010 14:35:09 +0000 (14:35 +0000)]
Remove the next member from the client_state struct.

Only the main thread needs access to all client
states so give it its own struct.

12 years agoRemove an unnecessary list_remove_all() call in chat().
Fabian Keil [Wed, 21 Jul 2010 14:32:00 +0000 (14:32 +0000)]
Remove an unnecessary list_remove_all() call in chat().

The headers are free'd later on anyway and there's no point to special-case them there.

12 years agoGarbage-collect request_contains_null_bytes().
Fabian Keil [Wed, 21 Jul 2010 14:30:40 +0000 (14:30 +0000)]
Garbage-collect request_contains_null_bytes().

12 years agoDitch redundant code in unload_configfile().
Fabian Keil [Wed, 21 Jul 2010 14:29:59 +0000 (14:29 +0000)]
Ditch redundant code in unload_configfile().