Fabian Keil [Tue, 15 Dec 2020 09:00:46 +0000 (10:00 +0100)]
Document the new meaning of debug bit 4
Fabian Keil [Tue, 15 Dec 2020 08:59:04 +0000 (09:59 +0100)]
Recycle debug bit 4 for Tagging-related messages
Fabian Keil [Tue, 15 Dec 2020 07:19:46 +0000 (08:19 +0100)]
configure: Move the comment describing the version number above the variables
Fabian Keil [Mon, 14 Dec 2020 13:03:27 +0000 (14:03 +0100)]
Block requests to eu-tlp03.kameleoon.com/
Fabian Keil [Mon, 14 Dec 2020 11:35:41 +0000 (12:35 +0100)]
Add another hide-referrer{conditional-block} test
Fabian Keil [Mon, 14 Dec 2020 11:35:19 +0000 (12:35 +0100)]
Add another hide-referrer{conditional-forge} test
Fabian Keil [Mon, 14 Dec 2020 11:32:42 +0000 (12:32 +0100)]
Fix a hide-referrer{conditional-forge} test
... that expected an acceptable header to be forged.
Fabian Keil [Mon, 14 Dec 2020 11:21:08 +0000 (12:21 +0100)]
Fix a hide-referrer{conditional-block} test
... that expected an acceptable Referer to be removed.
Fabian Keil [Mon, 14 Dec 2020 11:14:31 +0000 (12:14 +0100)]
Let the hide-referrer code tolerate Referer headers with https:// URLs
Previously they would always be treated like a changed host.
Fabian Keil [Tue, 15 Dec 2020 18:00:00 +0000 (19:00 +0100)]
redirect_url(): Check the actual URL when https inspecting requests
Previously we would only check the path which resulted
in rewrite results being rejected as invalid URLs.
Before:
19:37:29.494 014 Error: pcrs command "s@/test@/@" changed "/test" to "/" (1 hit), but the result doesn't look like a valid URL and will be ignored.
After:
19:40:57.857 002 Redirect: pcrs command s@/test@/@ changed https://www.electrobsd.org/test to https://www.electrobsd.org/ (1 hit).
Reported by withoutname in #1736.
Fabian Keil [Tue, 15 Dec 2020 07:32:29 +0000 (08:32 +0100)]
Regenerate developer-manual
Fabian Keil [Tue, 15 Dec 2020 07:25:04 +0000 (08:25 +0100)]
developer-manual: Remove the packaging instructions for RPM-based systems
They don't work and we don't release RPM packages anymore anyway.
Fabian Keil [Tue, 15 Dec 2020 07:22:58 +0000 (08:22 +0100)]
developer-manual: Remove the packaging instructions for Solaris
They don't work and we don't release Solaris packages anymore anyway.
Fabian Keil [Tue, 15 Dec 2020 07:11:01 +0000 (08:11 +0100)]
developer-manual: Update the suggested subject for the announce mails
Fabian Keil [Tue, 15 Dec 2020 07:08:07 +0000 (08:08 +0100)]
developer-manual: Update upload instructions
ftp://upload.sourceforge.net is no longer functional.
Fabian Keil [Tue, 15 Dec 2020 06:58:36 +0000 (07:58 +0100)]
developer-manual: Remove a couple of package-dependend upload instructions
... that don't actually work.
Fabian Keil [Tue, 15 Dec 2020 06:50:23 +0000 (07:50 +0100)]
developer-manual: Remove 'cd current' that no longer works
Fabian Keil [Tue, 15 Dec 2020 06:48:34 +0000 (07:48 +0100)]
developer-manual: Add regression-tests.action to the list of files that should be installed
Fabian Keil [Tue, 15 Dec 2020 06:43:54 +0000 (07:43 +0100)]
developer-manual: Stop claiming that there are text versions of the manuals
We stopped building them in 2008 (
9ed36a3c5e6f12).
Fabian Keil [Tue, 15 Dec 2020 06:39:53 +0000 (07:39 +0100)]
developer-manual: Note that the 'webserver' target creates the link needed for the user-manual
Fabian Keil [Tue, 15 Dec 2020 06:25:18 +0000 (07:25 +0100)]
developer-manual: Suggest to use the master branch as reference when creating the ChangeLog
... so the steps work when the current branch differs
from master which is likely as the developer manual
suggests to use a local branch for development.
Fabian Keil [Tue, 15 Dec 2020 06:11:57 +0000 (07:11 +0100)]
Add #173: Document Privoxy's governance model
Fabian Keil [Tue, 15 Dec 2020 06:00:34 +0000 (07:00 +0100)]
developer-manual: Add the -s flag to the suggested 'git tag' command
We prefer signed tags.
Fabian Keil [Tue, 15 Dec 2020 04:38:08 +0000 (05:38 +0100)]
developer-manual: Regenerate with git steps
Fabian Keil [Tue, 15 Dec 2020 04:37:04 +0000 (05:37 +0100)]
developer-manual: Add git commands that should result in a merge-free history
Fabian Keil [Tue, 15 Dec 2020 04:10:07 +0000 (05:10 +0100)]
developer-manual: Regenerate
Fabian Keil [Mon, 14 Dec 2020 17:28:30 +0000 (18:28 +0100)]
developer-manual: Simplify privoxy-regression-test.pl command in the example
The --debug parameter adds bits without overriding default
flags so it's sufficient to add 4 (LL_PAGE_FETCHING).
Fabian Keil [Mon, 14 Dec 2020 16:45:24 +0000 (17:45 +0100)]
developer-manual: Fix typo
Fabian Keil [Mon, 14 Dec 2020 16:42:37 +0000 (17:42 +0100)]
Rebuild developer-manual
Fabian Keil [Mon, 14 Dec 2020 11:26:40 +0000 (12:26 +0100)]
developer-manual: Add privoxy-regression-test.pl example output
Lee [Mon, 14 Dec 2020 14:11:30 +0000 (09:11 -0500)]
fix compiler warnings about including winsock2.h before windows.h
getting plenty too many of these warnings:
i686-w64-mingw32-gcc -c -pipe -O2 -Wshadow -DWINVER=0x501 -mwindows -Wall -Ipcre actions.c -o actions.o
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/ws2tcpip.h:17,
from project.h:95,
from actions.c:46:
/usr/i686-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
15 | #warning Please include winsock2.h before windows.h
| ^~~~~~~
i686-w64-mingw32-gcc -c -pipe -O2 -Wshadow -DWINVER=0x501 -mwindows -Wall -Ipcre cgi.c -o cgi.o
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/ws2tcpip.h:17,
from project.h:95,
from cgi.c:52:
/usr/i686-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
15 | #warning Please include winsock2.h before windows.h
| ^~~~~~~
i686-w64-mingw32-gcc -c -pipe -O2 -Wshadow -DWINVER=0x501 -mwindows -Wall -Ipcre cgiedit.c -o cgiedit.o
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/ws2tcpip.h:17,
from project.h:95,
from cgiedit.c:57:
/usr/i686-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
15 | #warning Please include winsock2.h before windows.h
| ^~~~~~~
Lee [Mon, 14 Dec 2020 13:19:08 +0000 (08:19 -0500)]
Merge branch 'master' of ssh://git.privoxy.org:23/git/privoxy
Fabian Keil [Mon, 14 Dec 2020 12:48:08 +0000 (13:48 +0100)]
Bring back the select()-based fallback code
As reported by Lee it's stille needed on Windows.
This reverts commit
9126f0c935e4bb64a87be7c3a1855b7768791142.
Lee [Mon, 14 Dec 2020 12:04:27 +0000 (07:04 -0500)]
Merge branch 'master' of ssh://git.privoxy.org:23/git/privoxy
Fabian Keil [Mon, 14 Dec 2020 09:05:05 +0000 (10:05 +0100)]
Regenerate docs
Maxim Antonov [Tue, 13 Oct 2020 10:28:52 +0000 (17:28 +0700)]
Add the new action suppress-tag{}
Usage:
in user.filters:
--begin--
CLIENT-HEADER-TAGGER: maximum-url-length Tag for URLS longer than 600 characters.
s@(^GET\s+\/.{600,}\s+HTTP\/\d\.\d\s*$)@MAXIMUM-URL-LENGTH@i
--end--
in user.actions:
--begin--
{+client-header-tagger{maximum-url-length}}
/
{+block{Maximum URL length of 600 bytes reached.}}
TAG:^MAXIMUM-URL-LENGTH
{+suppress-tag{MAXIMUM-URL-LENGTH}}
.google.*
--end--
will block all URLs with length > 600 bytes except for google.
Currently the online action editor supports modification/removal of any
number of existing tags and the creation of a single suppress tag per
one submit. The submit scheme that is used is similar to the existing
filter one but:
1. It uses 'string_filter[_r|_n|_o|_t][hex_index]' keys for existing
string filter values (id/name(value)/old_name(old value)/filter type)
and 'new_string_filter[_r|_n|_t][hex_index]' for new string filter
values. 'String filter values' here are parameters of the suppress-tag
action that are simple strings rather than parameters of, for example,
the client-header-tagger action that must be described in filters file.
2. String filter values are accessed by the value rather by the
index. Indexes must start from 0 and when there is no key with index+1
in parameters - we've done with existing or new string filters
processing.
Possible further improvements:
1. Extend suppress-tag action edit scheme to add-header action
edit that is not supported now.
2. If needed, multiple suppress-tag addition can be added with
some browser JS code.
Sponsored by: Robert Klemme
Fabian Keil [Mon, 14 Dec 2020 07:50:13 +0000 (08:50 +0100)]
Rebuild docs for 3.0.29 UNRELEASED
Fabian Keil [Sun, 13 Dec 2020 19:02:20 +0000 (20:02 +0100)]
developer-manual: Mention Privoxy-Regression-Test
Fabian Keil [Sun, 13 Dec 2020 18:49:06 +0000 (19:49 +0100)]
developer-manual: Add a section id to reduce link churn
Fabian Keil [Sun, 13 Dec 2020 18:35:26 +0000 (19:35 +0100)]
developer-manual: Recommend the dok-tidy target when building docs for the webserver
Fabian Keil [Sun, 13 Dec 2020 18:30:46 +0000 (19:30 +0100)]
developer-manual: Add another plug for the privoxy-devel mailing list
Fabian Keil [Sun, 13 Dec 2020 18:28:26 +0000 (19:28 +0100)]
developer-manual: Mention that merges into 'master' should be avoided
Fabian Keil [Sun, 13 Dec 2020 18:22:08 +0000 (19:22 +0100)]
developer-manual: Let the intro link the copyright section in the user manual instead of giving an incomplete summary of the license status
Fabian Keil [Sun, 13 Dec 2020 09:09:35 +0000 (10:09 +0100)]
privoxy-regression-test: Replace an XXX comment with a better one
Fabian Keil [Sun, 13 Dec 2020 18:43:51 +0000 (19:43 +0100)]
Bump SMGL entities for 3.0.30 UNRELEASED
Fabian Keil [Sun, 13 Dec 2020 08:02:04 +0000 (09:02 +0100)]
privoxy-regression-test: Skip the connection-established response in get_status_code()
... when looking for the status code with a CGI prefix
that starts with https://. We care about the status code
sent by the impersonated web server.
Fabian Keil [Sun, 13 Dec 2020 07:33:48 +0000 (08:33 +0100)]
privoxy-regression-test: Use --proxy-header when using a CGI prefix with https://
... and a "Host:" header.
Fabian Keil [Mon, 14 Dec 2020 05:59:29 +0000 (06:59 +0100)]
privoxy-regression-parser: Allow '|' in tokens and values
... to allow tag patterns like:
TAG:^(application|text)/(x-)?javascript$
Fabian Keil [Sun, 13 Dec 2020 08:14:41 +0000 (09:14 +0100)]
Explain why the "Set Header = Host: whatever.example.org" test is expected to fail
... when using a CGI prefix that starts with "https://".
Fabian Keil [Sun, 13 Dec 2020 07:09:19 +0000 (08:09 +0100)]
Explain why a connection-sharing test is known to fail
... when using "https://p.p/" as CGI prefix.
Fabian Keil [Sun, 13 Dec 2020 06:56:01 +0000 (07:56 +0100)]
privoxy-regression-test: When get_cgi_page_or_else() fails, include the URL of the requested page in the log message
Fabian Keil [Sun, 13 Dec 2020 06:46:58 +0000 (07:46 +0100)]
privoxy-regression-test: Add a --privoxy-cgi-prefix option
... that specifies the prefix to use when building URLs that are
supposed to reach Privoxy's CGI interface. If it's not set,
http://p.p/ is used, which is supposed to work with the default
Privoxy configuration.
If Privoxy has been built with FEATURE_HTTPS_INSPECTION enabled,
and if https inspection is activated with the +https-inspection
action, this option can be used with "https://p.p/" provided the
system running Privoxy-Regression-Test has been configured to
trust the certificate used by Privoxy.
Note that there are currently two tests in the official
regression-tests.action file that are expected to fail
when using "https://p.p/" as privoxy-cgi-prefix.
Fabian Keil [Sun, 13 Dec 2020 06:53:14 +0000 (07:53 +0100)]
regression-tests.action: Clarify sentence
Fabian Keil [Sun, 13 Dec 2020 06:52:41 +0000 (07:52 +0100)]
regression-tests.action: Add a link to Privoxy-Regression-Test in case it isn't packaged
Fabian Keil [Sun, 13 Dec 2020 06:29:26 +0000 (07:29 +0100)]
privoxy-regression-test: Bump version to 0.7.2
Fabian Keil [Sun, 13 Dec 2020 06:28:20 +0000 (07:28 +0100)]
privoxy-regression-test: Consistently use '$privoxy_cgi_url'
Fabian Keil [Sun, 13 Dec 2020 05:16:29 +0000 (06:16 +0100)]
Shorten the 'donate' and 'participate' links used by templates
... using redirects.
Currently the redirects lead to the FAQ entries but
in the future we may want to relocate the content
and using redirects makes this more convenient.
Fabian Keil [Sun, 13 Dec 2020 05:12:47 +0000 (06:12 +0100)]
Shorten the 'donate' and 'participate' links by using redirects
Currently the redirects lead to the FAQ entries but
in the future we may want to relocate the content
and using redirects makes this more convenient.
Fabian Keil [Sun, 13 Dec 2020 05:01:22 +0000 (06:01 +0100)]
Explicitly mention Windows 10 as supported
... so search engines and users looking for it can find it.
Fabian Keil [Sun, 13 Dec 2020 04:39:50 +0000 (05:39 +0100)]
Add #172: Create a public git repository for Privoxy-Filter-Test
Fabian Keil [Sun, 13 Dec 2020 03:27:42 +0000 (04:27 +0100)]
Add #171: Create a "view page using Privoxy" website
Fabian Keil [Sat, 12 Dec 2020 22:57:12 +0000 (23:57 +0100)]
Unconditionally use CGI_PREFIX where possible
Fabian Keil [Sat, 12 Dec 2020 22:49:22 +0000 (23:49 +0100)]
Make CGI_PREFIX protocol-relative when building with FEATURE_HTTPS_INSPECTION
This unbreaks (at least) https://config.privoxy.org/client-tags whose
buttons would previously use a http:// URL resulting in browser warnings.
Add and use new CGI_PREFIX_HTTP define in the one case we actually
need a http:// URL.
Fabian Keil [Sat, 12 Dec 2020 22:18:31 +0000 (23:18 +0100)]
Add (optional) parens in an if condition in chat()
Fabian Keil [Sat, 12 Dec 2020 21:12:21 +0000 (22:12 +0100)]
Add #170: Serve the ca-cert-file through the CGI interface
Fabian Keil [Sat, 12 Dec 2020 10:45:32 +0000 (11:45 +0100)]
Log an error when a PCRE-HOST-PATTERN is used with FEATURE_PCRE_HOST_PATTERNS disabled
Don't treat this a fatal error so the regression tests
can be used with and without FEATURE_PCRE_HOST_PATTERNS.
Fabian Keil [Sat, 12 Dec 2020 10:10:53 +0000 (11:10 +0100)]
Add regression tests for pcre host patterns
Fabian Keil [Fri, 11 Dec 2020 17:47:57 +0000 (18:47 +0100)]
Update a link to the libcurl mailinglist archive
Fabian Keil [Fri, 11 Dec 2020 16:30:43 +0000 (17:30 +0100)]
Add #169: Preserve all relevant copyright and license statements in binary packages
Fabian Keil [Fri, 11 Dec 2020 14:01:50 +0000 (15:01 +0100)]
Update the +hide-user-agent example with uagen output
Fabian Keil [Fri, 11 Dec 2020 13:37:40 +0000 (14:37 +0100)]
Slightly improve the wording of the ca-key-file documentation
Fabian Keil [Fri, 11 Dec 2020 12:42:02 +0000 (13:42 +0100)]
cgi_show_request(): Use the https headers if the page is reached through https://
Previously Privoxy would use the http headers which
may be empty on a reused connection.
Fabian Keil [Fri, 11 Dec 2020 11:57:57 +0000 (12:57 +0100)]
Let the crude-parental filter insert a link to Privoxy's webinterface
Fabian Keil [Fri, 11 Dec 2020 08:33:13 +0000 (09:33 +0100)]
Unblock metrics.sr.ht/
Fabian Keil [Fri, 11 Dec 2020 07:55:15 +0000 (08:55 +0100)]
Display the model photos in a single row and remove placeholder images
Fabian Keil [Fri, 11 Dec 2020 07:06:18 +0000 (08:06 +0100)]
Add an alt text for the Privoxy logo shown on the homepage
Fabian Keil [Thu, 10 Dec 2020 16:04:41 +0000 (17:04 +0100)]
Remove --with-fdsetsize as select() is no longer supported
Fabian Keil [Thu, 10 Dec 2020 13:12:16 +0000 (14:12 +0100)]
Make poll() non-optional and remove select()-based fallback code
Fabian Keil [Sat, 5 Dec 2020 22:37:41 +0000 (23:37 +0100)]
Bump copyright
Fabian Keil [Sat, 5 Dec 2020 21:49:41 +0000 (22:49 +0100)]
Remove the packages feed from the source tarball
It's usually out of date when the source tarball is generated
for the release.
Lee [Fri, 11 Dec 2020 15:20:11 +0000 (10:20 -0500)]
Merge branch 'master' of ssh://git.privoxy.org:23/git/privoxy
Fabian Keil [Fri, 11 Dec 2020 06:13:03 +0000 (07:13 +0100)]
Regenerate homepage with the new logo
Fabian Keil [Fri, 11 Dec 2020 06:11:50 +0000 (07:11 +0100)]
Let the dok-webserver target inject the new logo into the homepage
Fabian Keil [Fri, 11 Dec 2020 05:40:20 +0000 (06:40 +0100)]
Import a Privoxy logo for the website
License: CC0
Fabian Keil [Fri, 11 Dec 2020 03:06:18 +0000 (04:06 +0100)]
Add 168: Add a privacy policy
Fabian Keil [Fri, 11 Dec 2020 03:00:38 +0000 (04:00 +0100)]
Add #167: Set up a public Privoxy-Filter-Test instance.
Fabian Keil [Thu, 10 Dec 2020 22:41:12 +0000 (23:41 +0100)]
Remove #141 as CloudABI is unmaintained
Fabian Keil [Thu, 10 Dec 2020 19:58:45 +0000 (20:58 +0100)]
Disable fast-redirects for .fsf.org/
Fabian Keil [Thu, 10 Dec 2020 17:00:24 +0000 (18:00 +0100)]
Regenerate docs
Fabian Keil [Thu, 10 Dec 2020 16:56:57 +0000 (17:56 +0100)]
Import a bunch of contributors from the ChangeLog
Fabian Keil [Wed, 9 Dec 2020 18:42:26 +0000 (19:42 +0100)]
windows: Remove obsolete references to doc/gpl.html
Fabian Keil [Wed, 9 Dec 2020 18:40:05 +0000 (19:40 +0100)]
Remove obsolete doc/gpl.html
Fabian Keil [Wed, 9 Dec 2020 18:28:09 +0000 (19:28 +0100)]
Update link to the Polipo website
Fabian Keil [Wed, 9 Dec 2020 18:27:51 +0000 (19:27 +0100)]
Upgrade SourceForge URL to https://
Fabian Keil [Thu, 10 Dec 2020 19:09:36 +0000 (20:09 +0100)]
uagen: Update example output
Fabian Keil [Wed, 9 Dec 2020 18:22:11 +0000 (19:22 +0100)]
uagen: Bump copyright
Fabian Keil [Wed, 9 Dec 2020 18:09:33 +0000 (19:09 +0100)]
uagen: Recommend the use of the https-inspection action in the documentation
Fabian Keil [Wed, 9 Dec 2020 18:05:43 +0000 (19:05 +0100)]
uagen: Upgrade a couple of URLs to https://
Fabian Keil [Wed, 9 Dec 2020 17:12:10 +0000 (18:12 +0100)]
uagen: Add ElectroBSD to the list of operating systems
Fabian Keil [Wed, 9 Dec 2020 17:11:24 +0000 (18:11 +0100)]
uagen: Bump version to 1.2.2