Lee [Sat, 23 Jul 2016 23:05:15 +0000 (23:05 +0000)]
so the next person doesn't waste any time wondering why
it's only on Windows that the memory gets freed
Lee [Sat, 23 Jul 2016 17:23:43 +0000 (17:23 +0000)]
Log when privoxy is toggled on or off via cgi interface.
Highlight the "Info: Now toggled " on/off log message in the windows log viewer.
Lee [Fri, 22 Jul 2016 12:12:33 +0000 (12:12 +0000)]
The cygwin cross-compiler for windows has a posix thread library but darn if
I can figure out how to
#error "FIXME: Do pthread stuff here!"
So make a note that on cygwin
./configure --host=i686-w64-mingw32
requires --disable-pthread
Lee [Fri, 22 Jul 2016 11:58:17 +0000 (11:58 +0000)]
fix compiler warning about ambiguous else
i686-w64-mingw32-gcc -c -pipe -O2 -DWINVER=0x501 -mwindows -Wall -Ipcre parsers.c -o parsers.o
In file included from parsers.c:90:0:
strptime.h: In function 'strptime_internal':
strptime.h:538:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (!match_string (HERE_AM_STR, rp))
^
Fabian Keil [Sat, 16 Jul 2016 11:47:29 +0000 (11:47 +0000)]
create-package-feed.pl: Add usage instructions
Fabian Keil [Sat, 16 Jul 2016 11:47:16 +0000 (11:47 +0000)]
create-package-feed.pl: Add copyright information and switch license to ISC license
While the ISCL is less liberal than the WTFPL, it's liberal
enough and we already use it for other scripts and packagers
are familiar with it.
No objections from "Unknown":
https://lists.privoxy.org/pipermail/privoxy-devel/2016-July/000079.html
Fabian Keil [Sat, 16 Jul 2016 11:45:22 +0000 (11:45 +0000)]
create-package-feed.pl: Only generate checksums for files that make it into the feed
... as it speeds up the feed generation.
Remove $maxlimit as it's longer needed.
Fabian Keil [Sat, 16 Jul 2016 11:43:57 +0000 (11:43 +0000)]
create-package-feed.pl: Split script into functions
Fabian Keil [Sat, 16 Jul 2016 11:43:46 +0000 (11:43 +0000)]
create-package-feed.pl: Add some new lines in output file
Fabian Keil [Sat, 16 Jul 2016 11:43:36 +0000 (11:43 +0000)]
create-package-feed.pl: Escape spaces in URLs
Fabian Keil [Sat, 16 Jul 2016 11:43:26 +0000 (11:43 +0000)]
create-package-feed.pl: Generate valid (RFC-822) dates
Fabian Keil [Sat, 16 Jul 2016 11:43:14 +0000 (11:43 +0000)]
create-package-feed.pl: Get input directory and output file from the command line
Fabian Keil [Sat, 16 Jul 2016 11:43:02 +0000 (11:43 +0000)]
create-package-feed.pl: Use SHA-256 instead of SHA-1
Fabian Keil [Sat, 16 Jul 2016 11:42:51 +0000 (11:42 +0000)]
create-package-feed.pl: Polish file and directory handling
Fabian Keil [Sat, 16 Jul 2016 11:42:29 +0000 (11:42 +0000)]
create-package-feed.pl: Limit items in feed to 100
Fabian Keil [Sat, 16 Jul 2016 11:42:09 +0000 (11:42 +0000)]
create-package-feed.pl: Skip 'OldFiles' and 'pkgsrc' directories
... as their directory layout does not match the scripts expectations.
Fixing this currently isn't important as they only contain obsolete
files anyway.
Fabian Keil [Sat, 16 Jul 2016 11:41:52 +0000 (11:41 +0000)]
create-package-feed.pl: Bump maxlimit to 1000 and die when it's reached
The goal of maxlimit seemed to be to limit the items in
the feed, but as it triggered before the items were sorted
it resulted in incorrect results.
Once the current limit is reached, the script should probably be
refactored to be more efficient.
Fabian Keil [Sat, 16 Jul 2016 11:41:27 +0000 (11:41 +0000)]
create-package-feed.pl: Run script through perltidy
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
Fabian Keil [Wed, 22 Jun 2016 12:21:20 +0000 (12:21 +0000)]
Add #150: Add blacklistd support
Fabian Keil [Wed, 22 Jun 2016 12:21:11 +0000 (12:21 +0000)]
Bump version to 3.0.26 UNRELEASED
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
Fabian Keil [Tue, 31 May 2016 12:03:06 +0000 (12:03 +0000)]
Rebuild website content
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.
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
Fabian Keil [Fri, 27 May 2016 15:25:13 +0000 (15:25 +0000)]
Rebuild docs 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
Fabian Keil [Fri, 27 May 2016 15:24:51 +0000 (15:24 +0000)]
Update changelog.sgml 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
Fabian Keil [Fri, 27 May 2016 15:24:22 +0000 (15:24 +0000)]
Regenerate man page 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
Fabian Keil [Fri, 27 May 2016 15:23:56 +0000 (15:23 +0000)]
Bump copyright
Fabian Keil [Wed, 25 May 2016 10:54:11 +0000 (10:54 +0000)]
Declare 3.0.25 'beta'
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.
Fabian Keil [Wed, 25 May 2016 10:51:41 +0000 (10:51 +0000)]
Add client-header-tagger 'listen-address'
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.
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.
Fabian Keil [Wed, 25 May 2016 10:50:28 +0000 (10:50 +0000)]
pcrs_compile_replacement(): Add two assertions
Fabian Keil [Sun, 22 May 2016 12:44:32 +0000 (12:44 +0000)]
Rebuild documentation
Fabian Keil [Sun, 22 May 2016 12:44:17 +0000 (12:44 +0000)]
Rebuild config file for 3.0.25
Fabian Keil [Sun, 22 May 2016 12:44:02 +0000 (12:44 +0000)]
Document trust-x-forwarded-for
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
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
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
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.
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://
Fabian Keil [Sun, 22 May 2016 12:41:40 +0000 (12:41 +0000)]
Privoxy-Regression-Test: Fix indentation in perldoc examples
Fabian Keil [Sun, 22 May 2016 12:41:30 +0000 (12:41 +0000)]
Add FAQ entry for crashes caused by memory limits
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.
Fabian Keil [Thu, 12 May 2016 08:43:04 +0000 (08:43 +0000)]
Privoxy-Regression-Test: Bump version
Fabian Keil [Thu, 12 May 2016 08:42:57 +0000 (08:42 +0000)]
Privoxy-Regression-Test: Bump copyright
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.
Fabian Keil [Thu, 12 May 2016 08:42:25 +0000 (08:42 +0000)]
Unblock .ardmediathek.de/
Reported by ThTomate in #932.
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.
Fabian Keil [Sun, 8 May 2016 12:46:15 +0000 (12:46 +0000)]
Let the tarball-dist target skip files in .git
Fabian Keil [Sun, 8 May 2016 12:46:05 +0000 (12:46 +0000)]
Let the tarball-dist target work in cwds other than current
Fabian Keil [Sun, 8 May 2016 10:48:19 +0000 (10:48 +0000)]
Make the 'clean' target faster when run from a git repository
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.
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.
Fabian Keil [Sun, 8 May 2016 10:47:13 +0000 (10:47 +0000)]
Rebuild HTML docs
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.
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
Fabian Keil [Sun, 8 May 2016 10:46:18 +0000 (10:46 +0000)]
cgi_show_client_tags(): Fix theoretical memory leak (CID #161209)
Fabian Keil [Sun, 8 May 2016 10:46:05 +0000 (10:46 +0000)]
remove_tag_for_client(): Silence a coverity warning (CID #161202)
Fabian Keil [Sun, 8 May 2016 10:45:51 +0000 (10:45 +0000)]
pcrs_compile_replacement(): Silence a coverity warning (CID #161203)
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)
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
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.
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.
Fabian Keil [Sun, 8 May 2016 10:44:20 +0000 (10:44 +0000)]
Include tools in the generic distribution
Fabian Keil [Sun, 8 May 2016 10:44:09 +0000 (10:44 +0000)]
Let the gen-dist target work in cwds other than current
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
Fabian Keil [Tue, 3 May 2016 13:22:13 +0000 (13:22 +0000)]
Convert a couple of URLs 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://
Fabian Keil [Tue, 3 May 2016 13:21:42 +0000 (13:21 +0000)]
Limit the names of client tags to 50 characters
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.
Fabian Keil [Tue, 3 May 2016 13:21:08 +0000 (13:21 +0000)]
Bump copyright and change website URL to https://
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.
Fabian Keil [Tue, 3 May 2016 13:20:37 +0000 (13:20 +0000)]
When complaining about missing filters, mention the filter type
Fabian Keil [Tue, 3 May 2016 13:20:20 +0000 (13:20 +0000)]
Bump copyright and use https:// for the website
Fabian Keil [Tue, 3 May 2016 13:19:56 +0000 (13:19 +0000)]
Bump copyright
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()
Fabian Keil [Sun, 10 Apr 2016 08:09:07 +0000 (08:09 +0000)]
Add regression-tests.action to the files that are distributed
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.
Fabian Keil [Sun, 10 Apr 2016 08:07:10 +0000 (08:07 +0000)]
Update #41: Note that txt2tags seems worth evaluating as well
Ian Silvester [Sat, 9 Apr 2016 20:58:48 +0000 (20:58 +0000)]
Add Atman Sense as a contributor
Fabian Keil [Sat, 9 Apr 2016 10:24:13 +0000 (10:24 +0000)]
Rebuild documentation
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.
Fabian Keil [Sat, 9 Apr 2016 10:23:17 +0000 (10:23 +0000)]
Add #149: Use poll() for socket selection
Fabian Keil [Sat, 9 Apr 2016 10:23:05 +0000 (10:23 +0000)]
Change a couple of URLs to https://
Fabian Keil [Sat, 9 Apr 2016 10:22:40 +0000 (10:22 +0000)]
Bump copyright and change website URL to https://
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.
Fabian Keil [Fri, 8 Apr 2016 08:42:49 +0000 (08:42 +0000)]
Fix footer markup
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.
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.
Fabian Keil [Fri, 8 Apr 2016 08:31:14 +0000 (08:31 +0000)]
Regenerate indexes
Fabian Keil [Fri, 8 Apr 2016 08:31:04 +0000 (08:31 +0000)]
Center the content of the homepage footer
Fabian Keil [Fri, 8 Apr 2016 08:30:53 +0000 (08:30 +0000)]
Mention our new hosting sponsor on the homepage
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.
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.