privoxy.git
7 years agocreate-package-feed.pl: Run script through perltidy
Fabian Keil [Sat, 16 Jul 2016 11:41:27 +0000 (11:41 +0000)]
create-package-feed.pl: Run script through perltidy

7 years agoAdd perl script to generate an RSS feed for the packages
Fabian Keil [Sat, 16 Jul 2016 11:40:55 +0000 (11:40 +0000)]
Add perl script to generate an RSS feed for the packages

Submitted by "Unknown":
https://lists.privoxy.org/pipermail/privoxy-devel/2016-July/000068.html

7 years agoAdd #150: Add blacklistd support
Fabian Keil [Wed, 22 Jun 2016 12:21:20 +0000 (12:21 +0000)]
Add #150: Add blacklistd support

7 years agoBump version to 3.0.26 UNRELEASED
Fabian Keil [Wed, 22 Jun 2016 12:21:11 +0000 (12:21 +0000)]
Bump version to 3.0.26 UNRELEASED

7 years agoMention client-specific tags on the toggle page as a potentionally more appropriate...
Fabian Keil [Wed, 22 Jun 2016 12:21:02 +0000 (12:21 +0000)]
Mention client-specific tags on the toggle page as a potentionally more appropriate alternative

7 years agoRebuild website content
Fabian Keil [Tue, 31 May 2016 12:03:06 +0000 (12:03 +0000)]
Rebuild website content

7 years agoUpdate download section on the homepage
Fabian Keil [Tue, 31 May 2016 12:02:53 +0000 (12:02 +0000)]
Update download section on the homepage

The downloads are available from the website now.

7 years agoConsistently use 'client-specific tags' when referring to the new tag type
Fabian Keil [Fri, 27 May 2016 17:27:56 +0000 (17:27 +0000)]
Consistently use 'client-specific tags' when referring to the new tag type

7 years agoRebuild docs for 3.0.25 beta
Fabian Keil [Fri, 27 May 2016 15:25:13 +0000 (15:25 +0000)]
Rebuild docs for 3.0.25 beta

7 years agoUpdate announce.txt for 3.0.25 beta
Fabian Keil [Fri, 27 May 2016 15:25:00 +0000 (15:25 +0000)]
Update announce.txt for 3.0.25 beta

7 years agoUpdate changelog.sgml for 3.0.25 beta
Fabian Keil [Fri, 27 May 2016 15:24:51 +0000 (15:24 +0000)]
Update changelog.sgml for 3.0.25 beta

7 years agoAdd changes for 3.0.25 beta
Fabian Keil [Fri, 27 May 2016 15:24:36 +0000 (15:24 +0000)]
Add changes for 3.0.25 beta

7 years agoRegenerate man page for 3.0.25 beta
Fabian Keil [Fri, 27 May 2016 15:24:22 +0000 (15:24 +0000)]
Regenerate man page for 3.0.25 beta

7 years agoBump sgml entities for 3.0.25 beta
Fabian Keil [Fri, 27 May 2016 15:24:13 +0000 (15:24 +0000)]
Bump sgml entities for 3.0.25 beta

7 years agoBump copyright
Fabian Keil [Fri, 27 May 2016 15:23:56 +0000 (15:23 +0000)]
Bump copyright

7 years agoDeclare 3.0.25 'beta'
Fabian Keil [Wed, 25 May 2016 10:54:11 +0000 (10:54 +0000)]
Declare 3.0.25 'beta'

7 years agoprepare_csp_for_next_request(): Use the global toggle state for new requests
Fabian Keil [Wed, 25 May 2016 10:54:01 +0000 (10:54 +0000)]
prepare_csp_for_next_request(): Use the global toggle state for new requests

Previously new requests inherited the toggle state
from the previous request even though the toggle state
could have changed.

Reported by Robert Klemme.

7 years agoAdd client-header-tagger 'listen-address'
Fabian Keil [Wed, 25 May 2016 10:51:41 +0000 (10:51 +0000)]
Add client-header-tagger 'listen-address'

7 years agolisten_loop(): Include the listen-address in the log message when logging new requests
Fabian Keil [Wed, 25 May 2016 10:51:10 +0000 (10:51 +0000)]
listen_loop(): Include the listen-address in the log message when logging new requests

Patch contributed by pursievro.

7 years agoLet dynamic filters and taggers support a $listen-address variable
Fabian Keil [Wed, 25 May 2016 10:50:55 +0000 (10:50 +0000)]
Let dynamic filters and taggers support a $listen-address variable

... which contains the address the request came in on.
For external filters the variable is called $PRIVOXY_LISTEN_ADDRESS.

Original patch contributed by pursievro.

7 years agopcrs_compile_replacement(): Add two assertions
Fabian Keil [Wed, 25 May 2016 10:50:28 +0000 (10:50 +0000)]
pcrs_compile_replacement(): Add two assertions

7 years agoRebuild documentation
Fabian Keil [Sun, 22 May 2016 12:44:32 +0000 (12:44 +0000)]
Rebuild documentation

7 years agoRebuild config file for 3.0.25
Fabian Keil [Sun, 22 May 2016 12:44:17 +0000 (12:44 +0000)]
Rebuild config file for 3.0.25

7 years agoDocument trust-x-forwarded-for
Fabian Keil [Sun, 22 May 2016 12:44:02 +0000 (12:44 +0000)]
Document trust-x-forwarded-for

7 years agoOptionally use the X-Forwarded-For header for client tags
Fabian Keil [Sun, 22 May 2016 12:43:07 +0000 (12:43 +0000)]
Optionally use the X-Forwarded-For header for client tags

... if it exists.

Sponsored by: Robert Klemme

7 years agoAdd configure argument to optimistically redefine FD_SETSIZE
Fabian Keil [Sun, 22 May 2016 12:42:49 +0000 (12:42 +0000)]
Add configure argument to optimistically redefine FD_SETSIZE

... with the intent to change the maximum number of client
connections Privoxy can handle. Only works with some libcs.

Sponsored by: Robert Klemme

7 years agoRemove obsolete FAQ entry about a bug in PHP 4.2.3
Fabian Keil [Sun, 22 May 2016 12:42:29 +0000 (12:42 +0000)]
Remove obsolete FAQ entry about a bug in PHP 4.2.3

7 years agoMention the new mailing lists were appropriate
Fabian Keil [Sun, 22 May 2016 12:42:11 +0000 (12:42 +0000)]
Mention the new mailing lists were appropriate

As the archives have not been migrated, continue to
mention the archives at SF in the contacting section
for now.

7 years agoAdjust TOC width to reflect the URL length change cause by using https://
Fabian Keil [Sun, 22 May 2016 12:41:50 +0000 (12:41 +0000)]
Adjust TOC width to reflect the URL length change cause by using https://

7 years agoPrivoxy-Regression-Test: Fix indentation in perldoc examples
Fabian Keil [Sun, 22 May 2016 12:41:40 +0000 (12:41 +0000)]
Privoxy-Regression-Test: Fix indentation in perldoc examples

7 years agoAdd FAQ entry for crashes caused by memory limits
Fabian Keil [Sun, 22 May 2016 12:41:30 +0000 (12:41 +0000)]
Add FAQ entry for crashes caused by memory limits

7 years agoPrivoxy-Regression-Test: Don't overlook directives in the first line
Fabian Keil [Thu, 12 May 2016 08:43:12 +0000 (08:43 +0000)]
Privoxy-Regression-Test: Don't overlook directives in the first line

... of the action file.

7 years agoPrivoxy-Regression-Test: Bump version
Fabian Keil [Thu, 12 May 2016 08:43:04 +0000 (08:43 +0000)]
Privoxy-Regression-Test: Bump version

7 years agoPrivoxy-Regression-Test: Bump copyright
Fabian Keil [Thu, 12 May 2016 08:42:57 +0000 (08:42 +0000)]
Privoxy-Regression-Test: Bump copyright

7 years agoPrivoxy-Regression-Test: Add a "Default level offset" directive
Fabian Keil [Thu, 12 May 2016 08:42:50 +0000 (08:42 +0000)]
Privoxy-Regression-Test: Add a "Default level offset" directive

... which can be used to change the default level by a given value.

This directive affects all tests located after it until the end
of the file or a another "Default level offset" directive is reached.

The purpose of this directive is to make it more convenient to skip
similar tests in a given file without having to remove or disable
the tests completely.

7 years agoUnblock .ardmediathek.de/
Fabian Keil [Thu, 12 May 2016 08:42:25 +0000 (08:42 +0000)]
Unblock .ardmediathek.de/

Reported by ThTomate in #932.

7 years agoAdd FEATURE_64_BIT_TIME_T dependency
Fabian Keil [Sun, 8 May 2016 14:15:40 +0000 (14:15 +0000)]
Add FEATURE_64_BIT_TIME_T dependency

... for a +hide-if-modified-since{+60} test with a header date from 1969.

Reported by Lee.

7 years agoLet the tarball-dist target skip files in .git
Fabian Keil [Sun, 8 May 2016 12:46:15 +0000 (12:46 +0000)]
Let the tarball-dist target skip files in .git

7 years agoLet the tarball-dist target work in cwds other than current
Fabian Keil [Sun, 8 May 2016 12:46:05 +0000 (12:46 +0000)]
Let the tarball-dist target work in cwds other than current

7 years agoMake the 'clean' target faster when run from a git repository
Fabian Keil [Sun, 8 May 2016 10:48:19 +0000 (10:48 +0000)]
Make the 'clean' target faster when run from a git repository

7 years agopcre: Improve sanity check in read_repeat_counts()
Fabian Keil [Sun, 8 May 2016 10:48:09 +0000 (10:48 +0000)]
pcre: Improve sanity check in read_repeat_counts()

While it supposedly was 'paranoid' already, it actually
missed most of the invalid values which could cause buffer
overflows later on.

Found with afl-fuzz and ASAN.
Not considered a security issue as the input is trusted.

7 years agopcre: Fix heap-buffer-overflow when loading invalid filter files
Fabian Keil [Sun, 8 May 2016 10:47:49 +0000 (10:47 +0000)]
pcre: Fix heap-buffer-overflow when loading invalid filter files

Found with afl-fuzz and ASAN.
Not considered a security vulnerability as filter files are trusted input.

7 years agoRebuild HTML docs
Fabian Keil [Sun, 8 May 2016 10:47:13 +0000 (10:47 +0000)]
Rebuild HTML docs

7 years agoTurn invalid max-client-connections values into fatal errors
Fabian Keil [Sun, 8 May 2016 10:46:55 +0000 (10:46 +0000)]
Turn invalid max-client-connections values into fatal errors

Use FD_SETSIZE/2 as upper limit because Privoxy needs two
sockets to serve client connections that need forwarding.

Ignore the fact that the first three file descriptors
are usually set to /dev/null, one is used for logging
and yet another file descriptor is required to load
config files.

Make an exception for _WIN32 as its select() is documented
to handle file descriptors above FD_SETSIZE just fine.

7 years agocgi_show_client_tags(): Rename the variable that contains the client tag status
Fabian Keil [Sun, 8 May 2016 10:46:29 +0000 (10:46 +0000)]
cgi_show_client_tags(): Rename the variable that contains the client tag status

7 years agocgi_show_client_tags(): Fix theoretical memory leak (CID #161209)
Fabian Keil [Sun, 8 May 2016 10:46:18 +0000 (10:46 +0000)]
cgi_show_client_tags(): Fix theoretical memory leak (CID #161209)

7 years agoremove_tag_for_client(): Silence a coverity warning (CID #161202)
Fabian Keil [Sun, 8 May 2016 10:46:05 +0000 (10:46 +0000)]
remove_tag_for_client(): Silence a coverity warning (CID #161202)

7 years agopcrs_compile_replacement(): Silence a coverity warning (CID #161203)
Fabian Keil [Sun, 8 May 2016 10:45:51 +0000 (10:45 +0000)]
pcrs_compile_replacement(): Silence a coverity warning (CID #161203)

7 years agoedit_read_line(): Remove a pointless pointer check coverity complaints about (CID...
Fabian Keil [Sun, 8 May 2016 10:45:32 +0000 (10:45 +0000)]
edit_read_line(): Remove a pointless pointer check coverity complaints about (CID #161211)

7 years agoFix detection of the Privoxy version now that https:// is used for the website
Fabian Keil [Sun, 8 May 2016 10:45:18 +0000 (10:45 +0000)]
Fix detection of the Privoxy version now that https:// is used for the website

7 years agoLet test level 17 depend on FEATURE_64_BIT_TIME_T
Fabian Keil [Sun, 8 May 2016 10:44:56 +0000 (10:44 +0000)]
Let test level 17 depend on FEATURE_64_BIT_TIME_T

... instead of FEATURE_PTHREAD which has no direct connection
to the time_t size.

7 years agoAdd FEATURE_64_BIT_TIME_T
Fabian Keil [Sun, 8 May 2016 10:44:39 +0000 (10:44 +0000)]
Add FEATURE_64_BIT_TIME_T

It's sole purpose is to make it obvious from the show-status page
whether or not dates before 1970 and after 2038 are expected to be
handled properly.

This is mainly useful for Privoxy-Regression-Test but could
also come handy when dealing with time-related support requests.

7 years agoInclude tools in the generic distribution
Fabian Keil [Sun, 8 May 2016 10:44:20 +0000 (10:44 +0000)]
Include tools in the generic distribution

7 years agoLet the gen-dist target work in cwds other than current
Fabian Keil [Sun, 8 May 2016 10:44:09 +0000 (10:44 +0000)]
Let the gen-dist target work in cwds other than current

7 years agoadd_help_link(): Use https:// when creating links for the user manual on the website
Fabian Keil [Tue, 3 May 2016 13:22:30 +0000 (13:22 +0000)]
add_help_link(): Use https:// when creating links for the user manual on the website

7 years agoConvert a couple of URLs to https://
Fabian Keil [Tue, 3 May 2016 13:22:13 +0000 (13:22 +0000)]
Convert a couple of URLs to https://

7 years agoConvert a couple of URLs in the FAQ to https://
Fabian Keil [Tue, 3 May 2016 13:21:55 +0000 (13:21 +0000)]
Convert a couple of URLs in the FAQ to https://

7 years agoLimit the names of client tags to 50 characters
Fabian Keil [Tue, 3 May 2016 13:21:42 +0000 (13:21 +0000)]
Limit the names of client tags to 50 characters

7 years agoSort find output that is used for distribution tarballs
Fabian Keil [Tue, 3 May 2016 13:21:24 +0000 (13:21 +0000)]
Sort find output that is used for distribution tarballs

... to get reproducible results.

7 years agoBump copyright and change website URL to https://
Fabian Keil [Tue, 3 May 2016 13:21:08 +0000 (13:21 +0000)]
Bump copyright and change website URL to https://

7 years agoDon't add '-src' to the name of the tar ball generated by the gen-dist target
Fabian Keil [Tue, 3 May 2016 13:20:58 +0000 (13:20 +0000)]
Don't add '-src' to the name of the tar ball generated by the gen-dist target

The package isn't a source distribution but a binary package.

While at it, use a variable for the name to reduce the chances
that the various references get out of sync and fix the gen-upload
target which was looking in the wrong directory.

7 years agoWhen complaining about missing filters, mention the filter type
Fabian Keil [Tue, 3 May 2016 13:20:37 +0000 (13:20 +0000)]
When complaining about missing filters, mention the filter type

7 years agoBump copyright and use https:// for the website
Fabian Keil [Tue, 3 May 2016 13:20:20 +0000 (13:20 +0000)]
Bump copyright and use https:// for the website

7 years agoBump copyright
Fabian Keil [Tue, 3 May 2016 13:19:56 +0000 (13:19 +0000)]
Bump copyright

7 years agoparse_header_time(): Explicitly check for strftime() failures when sanity-checking...
Fabian Keil [Sat, 30 Apr 2016 10:28:36 +0000 (10:28 +0000)]
parse_header_time(): Explicitly check for strftime() failures when sanity-checking strptime()

8 years agoAdd regression-tests.action to the files that are distributed
Fabian Keil [Sun, 10 Apr 2016 08:09:07 +0000 (08:09 +0000)]
Add regression-tests.action to the files that are distributed

8 years agoUnbreak the gen-dist target
Fabian Keil [Sun, 10 Apr 2016 08:08:40 +0000 (08:08 +0000)]
Unbreak the gen-dist target

The fact that it was broken since 2002 (r1.92) seems to
indicate that it isn't used too often, but I just needed
it and was disappointed that it didn't work.

8 years agoUpdate #41: Note that txt2tags seems worth evaluating as well
Fabian Keil [Sun, 10 Apr 2016 08:07:10 +0000 (08:07 +0000)]
Update #41: Note that txt2tags seems worth evaluating as well

8 years agoAdd Atman Sense as a contributor
Ian Silvester [Sat, 9 Apr 2016 20:58:48 +0000 (20:58 +0000)]
Add Atman Sense as a contributor

8 years agoRebuild documentation
Fabian Keil [Sat, 9 Apr 2016 10:24:13 +0000 (10:24 +0000)]
Rebuild documentation

8 years agoUpgrade a bunch of links to SourceForge to https://
Fabian Keil [Sat, 9 Apr 2016 10:23:54 +0000 (10:23 +0000)]
Upgrade a bunch of links to SourceForge to https://

I haven't seen an announcement, but SourceForge seems to
allow https:// for unauthenticated users now.

A couple of URLs stopped working (thanks SourceForge)
and have been replaced with URLs that worked today but
may stop working tomorrow.

One link (to client specific CVS instructions) has been
removed as I did not immediately find a replacement and
after the migration to git the section will be removed
anyway.

8 years agoAdd #149: Use poll() for socket selection
Fabian Keil [Sat, 9 Apr 2016 10:23:17 +0000 (10:23 +0000)]
Add #149: Use poll() for socket selection

8 years agoChange a couple of URLs to https://
Fabian Keil [Sat, 9 Apr 2016 10:23:05 +0000 (10:23 +0000)]
Change a couple of URLs to https://

8 years agoBump copyright and change website URL to https://
Fabian Keil [Sat, 9 Apr 2016 10:22:40 +0000 (10:22 +0000)]
Bump copyright and change website URL to https://

8 years agoEnable FEATURE_CLIENT_TAGS by default
Fabian Keil [Sat, 9 Apr 2016 10:22:26 +0000 (10:22 +0000)]
Enable FEATURE_CLIENT_TAGS by default

... to increase the chances that users of third-party binary
packages actually get it.

While it's an experimental feature, by default no client-specific
tags are defined so the risk seems acceptable.

8 years agoFix footer markup
Fabian Keil [Fri, 8 Apr 2016 08:42:49 +0000 (08:42 +0000)]
Fix footer markup

8 years agoInject valid HTML into the homepage footer
Fabian Keil [Fri, 8 Apr 2016 08:42:00 +0000 (08:42 +0000)]
Inject valid HTML into the homepage footer

.. as it turns out images a centered by aligning them to the middle.

8 years agoManually change the most recent release on the homepage to 3.0.24 again
Fabian Keil [Fri, 8 Apr 2016 08:31:30 +0000 (08:31 +0000)]
Manually change the most recent release on the homepage to 3.0.24 again

... so I can replace the file on the website before
the next release.

8 years agoRegenerate indexes
Fabian Keil [Fri, 8 Apr 2016 08:31:14 +0000 (08:31 +0000)]
Regenerate indexes

8 years agoCenter the content of the homepage footer
Fabian Keil [Fri, 8 Apr 2016 08:31:04 +0000 (08:31 +0000)]
Center the content of the homepage footer

8 years agoMention our new hosting sponsor on the homepage
Fabian Keil [Fri, 8 Apr 2016 08:30:53 +0000 (08:30 +0000)]
Mention our new hosting sponsor on the homepage

8 years agoRephrase onion service paragraph
Fabian Keil [Fri, 8 Apr 2016 08:30:38 +0000 (08:30 +0000)]
Rephrase onion service paragraph

... to make it more obvious that Tor is involved and that the
whole website (and not just the homepage) is available as
onion service.

8 years agoStreamline the "More information" section on the homepage further
Fabian Keil [Fri, 8 Apr 2016 08:30:00 +0000 (08:30 +0000)]
Streamline the "More information" section on the homepage further

... by additionally ditching the link to the 'See also' section
of the user manual. The section contains mostly links that are
directly reachable from the homepage already and the rest is
not significant enough to get a link from the homepage.

8 years agoRemove the link to the SourceForge "project page" from the homepage
Fabian Keil [Fri, 8 Apr 2016 08:29:42 +0000 (08:29 +0000)]
Remove the link to the SourceForge "project page" from the homepage

.. to make it more likely that the trackers are reached
through the contact section of the user manual.

8 years agoRemove 'Privoxy is developed on SourceForge' claim from the homepage
Fabian Keil [Fri, 8 Apr 2016 08:29:29 +0000 (08:29 +0000)]
Remove 'Privoxy is developed on SourceForge' claim from the homepage

It only existed to comply with SF's rules which are irrelevant
for the website now that it's no longer hosted at SourceForge.

8 years agoUpdate #53 to note that the website has moved already and that server rent for a...
Fabian Keil [Wed, 6 Apr 2016 12:39:36 +0000 (12:39 +0000)]
Update #53 to note that the website has moved already and that server rent for a year has been sponsored

8 years agoUpdate #54 and link to the status update
Fabian Keil [Wed, 6 Apr 2016 12:39:14 +0000 (12:39 +0000)]
Update #54 and link to the status update

8 years agoAlign ./configure --help output slightly better
Fabian Keil [Wed, 6 Apr 2016 12:39:04 +0000 (12:39 +0000)]
Align ./configure --help output slightly better

8 years agoRegenerate documentation
Fabian Keil [Tue, 5 Apr 2016 14:15:52 +0000 (14:15 +0000)]
Regenerate documentation

8 years agoUpdate links to the client-tags CGI page
Fabian Keil [Mon, 4 Apr 2016 10:56:35 +0000 (10:56 +0000)]
Update links to the client-tags CGI page

8 years agoRename show-client-tags template to client-tags
Fabian Keil [Mon, 4 Apr 2016 10:55:47 +0000 (10:55 +0000)]
Rename show-client-tags template to client-tags

The page doesn't merely show the tags but also allows to
enable or disable them. While at it, make the page title
more descriptive.

8 years agoUse a proper HTML form to change the state of client tags
Fabian Keil [Mon, 4 Apr 2016 10:51:45 +0000 (10:51 +0000)]
Use a proper HTML form to change the state of client tags

It's semantically correct and results in actual buttons to press.

8 years agomod-support-and-service: Remove comment indentation so Privoxy recognizes that it...
Fabian Keil [Mon, 4 Apr 2016 10:51:27 +0000 (10:51 +0000)]
mod-support-and-service: Remove comment indentation so Privoxy recognizes that it's supposed to be a comment

8 years agoFix typo in CGI template comments
Fabian Keil [Mon, 4 Apr 2016 10:51:11 +0000 (10:51 +0000)]
Fix typo in CGI template comments

8 years agoRemove obsolete reference to Redhat spec file
Fabian Keil [Mon, 4 Apr 2016 10:50:54 +0000 (10:50 +0000)]
Remove obsolete reference to Redhat spec file

8 years agoFix file names in comment
Fabian Keil [Mon, 4 Apr 2016 10:50:37 +0000 (10:50 +0000)]
Fix file names in comment

8 years agoRemove the last remaining $Log keywords
Fabian Keil [Mon, 4 Apr 2016 10:50:18 +0000 (10:50 +0000)]
Remove the last remaining $Log keywords

8 years agoRemove genclspec.sh which has been obsolete since 2009
Fabian Keil [Mon, 4 Apr 2016 10:49:18 +0000 (10:49 +0000)]
Remove genclspec.sh which has been obsolete since 2009

8 years agoUse https:// in the link to the team page
Fabian Keil [Mon, 4 Apr 2016 10:48:22 +0000 (10:48 +0000)]
Use https:// in the link to the team page

8 years agoFinally remove the obsolete PDF documentation
Fabian Keil [Sun, 3 Apr 2016 13:51:36 +0000 (13:51 +0000)]
Finally remove the obsolete PDF documentation

This should have happended in 2008 already, but as my local CVS
tree did not contain a doc/pdf directory (anymore?), I was unaware
that it had not until recently.

The good news is that the files weren't tagged since 2008 either.