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.
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
Fabian Keil [Wed, 9 Dec 2020 17:08:19 +0000 (18:08 +0100)]
uagen: Bump generated Firefox version to 78 (ESR)
Fabian Keil [Wed, 9 Dec 2020 15:10:39 +0000 (16:10 +0100)]
Add missing www in a website link
Fabian Keil [Wed, 9 Dec 2020 14:44:44 +0000 (15:44 +0100)]
Rebuild documentation
Fabian Keil [Wed, 9 Dec 2020 14:43:58 +0000 (15:43 +0100)]
Clarify that the webserver target uploads to the SourceForge webserver
Fabian Keil [Wed, 9 Dec 2020 14:39:59 +0000 (15:39 +0100)]
Mark the documentation for the Mac OS X installers as out of date and change the SCM name back to CVS
Fabian Keil [Wed, 9 Dec 2020 14:36:22 +0000 (15:36 +0100)]
Fix the location of the installer modules for Mac OS X
They are not actually available through git (yet).
Fabian Keil [Wed, 9 Dec 2020 14:27:36 +0000 (15:27 +0100)]
Update the user-manual URL
Fabian Keil [Wed, 9 Dec 2020 14:22:21 +0000 (15:22 +0100)]
Don't speak of Privoxy version 3 in the past tense
Fabian Keil [Wed, 9 Dec 2020 14:21:05 +0000 (15:21 +0100)]
Update the list of programs required for the release process
Fabian Keil [Wed, 9 Dec 2020 14:02:04 +0000 (15:02 +0100)]
Put openssl command in 'command' tags
Fabian Keil [Wed, 9 Dec 2020 13:58:04 +0000 (14:58 +0100)]
Update description of the webserver target which uses ssh, not scp
Fabian Keil [Wed, 9 Dec 2020 13:55:26 +0000 (14:55 +0100)]
Remove obsolete references to config.new
Fabian Keil [Wed, 9 Dec 2020 13:54:47 +0000 (14:54 +0100)]
Remove obsolete reference to config.new
Fabian Keil [Wed, 9 Dec 2020 13:54:36 +0000 (14:54 +0100)]
Upgrade URL to https://
Fabian Keil [Wed, 9 Dec 2020 13:37:31 +0000 (14:37 +0100)]
Don't prefer the SourceForge patch tracker over the privoxy-devel mailing list
While at it, link to the SourceForge patch tracker.
Fabian Keil [Wed, 9 Dec 2020 13:10:27 +0000 (14:10 +0100)]
Upgrade a couple of URLs to https://
Fabian Keil [Wed, 9 Dec 2020 12:53:37 +0000 (13:53 +0100)]
Upgrade an URL to https
Fabian Keil [Wed, 9 Dec 2020 12:48:24 +0000 (13:48 +0100)]
Mention http-inspection in the 'my browser warns me about unauthenticated content' FAQ entry
Fabian Keil [Mon, 7 Dec 2020 21:37:58 +0000 (22:37 +0100)]
Upgrade a couple of Wikipedia links to https://
Fabian Keil [Mon, 7 Dec 2020 21:30:44 +0000 (22:30 +0100)]
Simplify the 'Is there is a license or fee?' FAQ entry
Fabian Keil [Mon, 7 Dec 2020 21:20:55 +0000 (22:20 +0100)]
Bump copyright
Fabian Keil [Mon, 7 Dec 2020 21:20:35 +0000 (22:20 +0100)]
Upgrade link to GPLv2 on gnu.org to https://
Fabian Keil [Mon, 7 Dec 2020 21:20:29 +0000 (22:20 +0100)]
Upgrade link to GPLv2 on gnu.org to https://
Fabian Keil [Mon, 7 Dec 2020 21:17:39 +0000 (22:17 +0100)]
Upgrade link to GPLv2 on gnu.org to https://
Fabian Keil [Mon, 7 Dec 2020 20:00:53 +0000 (21:00 +0100)]
Remove empty .gitignore file
Fabian Keil [Mon, 7 Dec 2020 18:48:50 +0000 (19:48 +0100)]
Regenerate docs
Fabian Keil [Mon, 7 Dec 2020 18:48:20 +0000 (19:48 +0100)]
Add another id
Fabian Keil [Mon, 7 Dec 2020 18:35:16 +0000 (19:35 +0100)]
Add another +redirect{} example
Fabian Keil [Mon, 7 Dec 2020 18:26:08 +0000 (19:26 +0100)]
Update onion service to HiddenServiceVersion 3
Fabian Keil [Mon, 7 Dec 2020 17:12:35 +0000 (18:12 +0100)]
Regenerate FAQ
Fabian Keil [Mon, 7 Dec 2020 17:12:22 +0000 (18:12 +0100)]
FAQ: Add three ids to get stable link targets
Fabian Keil [Mon, 7 Dec 2020 16:48:46 +0000 (17:48 +0100)]
Rebuild docs
Fabian Keil [Mon, 7 Dec 2020 16:45:47 +0000 (17:45 +0100)]
Explicitly mention that interested sponsors should include the link target in their first mail
Fabian Keil [Mon, 7 Dec 2020 16:44:52 +0000 (17:44 +0100)]
Note that sponsor URLs may not contain keyword spam
Fabian Keil [Mon, 7 Dec 2020 14:58:28 +0000 (15:58 +0100)]
Regenerate docs
Fabian Keil [Mon, 7 Dec 2020 02:40:04 +0000 (03:40 +0100)]
Garbage collect doc/webserver/images which isn't referenced anymore