Fabian Keil [Mon, 22 Aug 2016 14:50:29 +0000 (14:50 +0000)]
Add Marvin Renich (reporter of Debian bug #834941) as contributor
Fabian Keil [Mon, 22 Aug 2016 14:50:18 +0000 (14:50 +0000)]
accept_connection(): Fix crashes with "listen-addr :8118"
After jbsockets.c v1.136 a valid text representation of
the host address is required for the $listen-address
variable. If no host address has been specified, use an
empty string to prevent NULL pointer dereferences.
The problem was reported by Marvin Renich in Debian bug #834941,
the offending commit was tracked down by Roland in SF Bug #902.
Fabian Keil [Thu, 28 Jul 2016 08:25:50 +0000 (08:25 +0000)]
Rebuild HTML docs 3.0.26 UNRELEASED
Fabian Keil [Thu, 28 Jul 2016 08:25:33 +0000 (08:25 +0000)]
Bump SGML entities for 3.0.26 UNRELEASED
Fabian Keil [Thu, 28 Jul 2016 08:24:59 +0000 (08:24 +0000)]
Remove obsolete reference to mailing lists hosted at SourceForge
Fabian Keil [Thu, 28 Jul 2016 08:24:37 +0000 (08:24 +0000)]
Add the error favicon (from cgisimple.c) as vanilla file as well
The icon is used on the webserver for requests from users
who try to reach Privoxy's webinterface but end up at the
webserver due to a misconfiguration.
Previously it was copied manually to the webserver
which is error prone.
Fabian Keil [Thu, 28 Jul 2016 08:16:04 +0000 (08:16 +0000)]
GNUMakefile.in: Let the dok-user target remove temporary files
Lee [Thu, 28 Jul 2016 00:38:47 +0000 (00:38 +0000)]
back out changes for the new cygwin cross-compiler that were mistakenly included
with the 1.49 -> 1.50 Log when privoxy is toggled on or off via cgi interface.
patch
Fabian Keil [Tue, 26 Jul 2016 10:47:48 +0000 (10:47 +0000)]
Rebuild HTML docs after adding the sponsor policy
There are next to no content changes, but due to a different
build system there are lots of HTML formatting changes ...
Fabian Keil [Tue, 26 Jul 2016 10:47:13 +0000 (10:47 +0000)]
configure.in: Add another docbook.cat path to test
This seems to be required to build the documentation
on ElectroBSD (and presumably FreeBSD as well).
Fabian Keil [Tue, 26 Jul 2016 10:46:29 +0000 (10:46 +0000)]
Bump FAQ copyright
Fabian Keil [Tue, 26 Jul 2016 10:46:19 +0000 (10:46 +0000)]
user-manual.sgml: Close sections
Fabian Keil [Tue, 26 Jul 2016 10:46:07 +0000 (10:46 +0000)]
faq.sgml: Close section
Fabian Keil [Tue, 26 Jul 2016 10:45:58 +0000 (10:45 +0000)]
configure.in: Check for Docbook goo on the BSDs as well
Fabian Keil [Tue, 26 Jul 2016 10:45:49 +0000 (10:45 +0000)]
developer-manual.sgml: Properly close a section
Fabian Keil [Tue, 26 Jul 2016 10:45:39 +0000 (10:45 +0000)]
Add sponsor FAQ
Fabian Keil [Tue, 26 Jul 2016 10:44:07 +0000 (10:44 +0000)]
Add a sponsor page
This page is not generated with the build system
but covered by the dok-tidy target which explains
the formatting.
Lee [Sat, 23 Jul 2016 23:25:18 +0000 (23:25 +0000)]
highlight the loading actions/filter file log message in the
windows log viewer
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()