privoxy.git
15 months agocreate_client_ssl_connection(): Don't keep the certificate lock longer than necessary
Lee [Fri, 4 Aug 2023 22:08:17 +0000 (18:08 -0400)]
create_client_ssl_connection(): Don't keep the certificate lock longer than necessary

15 months agoEnable use of the PCRE2 library on Windows
Lee [Fri, 4 Aug 2023 09:41:14 +0000 (05:41 -0400)]
Enable use of the PCRE2 library on Windows

- windows/MYconfigure

Use the PCRE2 library for building Privoxy on Windows.

- configure.in

PCRE2_STATIC must be defined if you want to statically link the PCRE2 library.
If it isn't defined you'll get these kind of linker errors:
 undefined reference to `_imp__pcre2_compile_8'
 undefined reference to `_imp__pcre2_jit_compile_8'
 undefined reference to `_imp__pcre2_match_data_create_from_pattern_8'
 undefined reference to `_imp__pcre2_match_8'

15 months agowindows/MYconfigure: Use Mbed TLS 2.28.4
Lee [Fri, 4 Aug 2023 09:23:13 +0000 (05:23 -0400)]
windows/MYconfigure: Use Mbed TLS 2.28.4

15 months agoLogCreatePatternMatchingBuffers(): Remove the #warning I added in 53748ca8c
Fabian Keil [Wed, 26 Jul 2023 06:41:52 +0000 (08:41 +0200)]
LogCreatePatternMatchingBuffers(): Remove the #warning I added in 53748ca8c

According to Lee it doesn't seem to be warranted.

15 months agoFix a compiler warning emitted by clang 15.0.7
Fabian Keil [Tue, 11 Jul 2023 04:05:40 +0000 (06:05 +0200)]
Fix a compiler warning emitted by clang 15.0.7

Silences:

    filters.c:2561:58: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
       content = (content_filter != NULL) ? (*content_filter)(csp) : NULL;
                                                             ^
    1 warning generated.

16 months agoBump copyright
Fabian Keil [Sat, 1 Jul 2023 12:47:23 +0000 (14:47 +0200)]
Bump copyright

16 months agoBlock requests to track.venatusmedia.com/
Fabian Keil [Sat, 1 Jul 2023 13:36:07 +0000 (15:36 +0200)]
Block requests to track.venatusmedia.com/

16 months agoBlock requests to i.clean.gg/
Fabian Keil [Sat, 1 Jul 2023 13:33:38 +0000 (15:33 +0200)]
Block requests to i.clean.gg/

16 months agoBlock requests to s.cpx.to/
Fabian Keil [Sat, 1 Jul 2023 12:42:10 +0000 (14:42 +0200)]
Block requests to s.cpx.to/

16 months agoprivoxy-regression-test.pl: Bump copyright
Fabian Keil [Fri, 30 Jun 2023 15:49:56 +0000 (17:49 +0200)]
privoxy-regression-test.pl: Bump copyright

16 months agoprivoxy-regression-test.pl: Bump version
Fabian Keil [Fri, 30 Jun 2023 15:49:45 +0000 (17:49 +0200)]
privoxy-regression-test.pl: Bump version

16 months agoprivoxy-regression-test.pl: Let the --min-level option increase the --max-level
Fabian Keil [Fri, 30 Jun 2023 15:49:21 +0000 (17:49 +0200)]
privoxy-regression-test.pl: Let the --min-level option increase the --max-level

.. if the latter is smaller than the former.

16 months agoregression-tests.action: Bump copyright
Fabian Keil [Fri, 30 Jun 2023 11:09:33 +0000 (13:09 +0200)]
regression-tests.action: Bump copyright

16 months agoregression-tests.action: Add a redirect{} test with a pcrs command
Fabian Keil [Fri, 30 Jun 2023 10:56:47 +0000 (12:56 +0200)]
regression-tests.action: Add a redirect{} test with a pcrs command

16 months agoAdd Gagan Sidhu as contributor
Fabian Keil [Sat, 1 Jul 2023 16:36:41 +0000 (18:36 +0200)]
Add Gagan Sidhu as contributor

16 months agoAdd pcre2 support
Fabian Keil [Sat, 17 Jun 2023 11:20:24 +0000 (13:20 +0200)]
Add pcre2 support

This is currently expected to cause crashes on Windows
when compiled with GUI support.

Closes bug #935.
Initial patch submitted by: Gagan Sidhu

17 months agolog_error() Win32: Only call LogShowActivity() for debug level LOG_LEVEL_REQUEST
Fabian Keil [Wed, 31 May 2023 10:29:18 +0000 (12:29 +0200)]
log_error() Win32: Only call LogShowActivity() for debug level LOG_LEVEL_REQUEST

As of b94bbe62a950, which was part of Privoxy 3.0.29,
LOG_LEVEL_REQUEST is used for all requests including
crunched ones.

Previously LogShowActivity() was called twice for crunched
requests, (presumably) resulting in an aborted animation.

17 months agoAdd #202: Allow to use multiple log files with different debug settings.
Fabian Keil [Mon, 22 May 2023 13:55:13 +0000 (15:55 +0200)]
Add #202:  Allow to use multiple log files with different debug settings.

18 months agoMove the Scrubtheweb.com link to the Silver sponsor section where it belongs
Fabian Keil [Tue, 9 May 2023 14:33:33 +0000 (16:33 +0200)]
Move the Scrubtheweb.com link to the Silver sponsor section where it belongs

18 months agoRebuild homepage
Fabian Keil [Tue, 9 May 2023 14:33:30 +0000 (16:33 +0200)]
Rebuild homepage

18 months agouser-manual: Fix markup
Fabian Keil [Tue, 9 May 2023 14:29:43 +0000 (16:29 +0200)]
user-manual: Fix markup

18 months agoRebuild homepage without stray period
Fabian Keil [Tue, 9 May 2023 14:23:55 +0000 (16:23 +0200)]
Rebuild homepage without stray period

18 months agoDitch a stray period
Fabian Keil [Tue, 9 May 2023 14:22:54 +0000 (16:22 +0200)]
Ditch a stray period

18 months agoRebuild homepage with Gold sponsor Scrubtheweb.com
Fabian Keil [Tue, 9 May 2023 14:10:37 +0000 (16:10 +0200)]
Rebuild homepage with Gold sponsor Scrubtheweb.com

18 months agoAdd Gold sponsor Scrubtheweb.com
Fabian Keil [Tue, 9 May 2023 14:04:31 +0000 (16:04 +0200)]
Add Gold sponsor Scrubtheweb.com

20 months agoshow-status template: declare https-inspection non-experimental.
Roland Rosenfeld [Mon, 20 Feb 2023 10:32:12 +0000 (11:32 +0100)]
show-status template: declare https-inspection non-experimental.

20 months agoRegenerate user-manual with HOWTOs.
Roland Rosenfeld [Mon, 20 Feb 2023 10:31:09 +0000 (11:31 +0100)]
Regenerate user-manual with HOWTOs.

20 months agoAdd HOWTOs for https inspection and client-tags to user-manual.
Roland Rosenfeld [Sun, 19 Feb 2023 22:08:49 +0000 (23:08 +0100)]
Add HOWTOs for https inspection and client-tags to user-manual.

20 months agoUpdate TODO item #150
Fabian Keil [Sat, 18 Feb 2023 10:30:10 +0000 (11:30 +0100)]
Update TODO item #150

blacklistd has been renamed to blocklistd. While at it,
add an URL to the man page.

20 months agoRegenerate docs
Fabian Keil [Sat, 18 Feb 2023 09:07:39 +0000 (10:07 +0100)]
Regenerate docs

20 months agoBump SMGL entities for 3.0.35 UNRELEASED
Fabian Keil [Sat, 18 Feb 2023 09:07:10 +0000 (10:07 +0100)]
Bump SMGL entities for 3.0.35 UNRELEASED

20 months agouser-manual: Suggest to use the force-text-mode action when filtering binary content
Fabian Keil [Thu, 9 Feb 2023 15:25:19 +0000 (16:25 +0100)]
user-manual: Suggest to use the force-text-mode action when filtering binary content

... with external filters.

20 months agodeveloper-manual: Bump copyright
Fabian Keil [Mon, 6 Feb 2023 09:24:37 +0000 (10:24 +0100)]
developer-manual: Bump copyright

20 months agoparse_numeric_value(): Expect a base-ten number
Fabian Keil [Sat, 19 Nov 2022 12:04:18 +0000 (13:04 +0100)]
parse_numeric_value(): Expect a base-ten number

21 months agoconfigure: Bump version to 3.0.35 UNRELEASED
Fabian Keil [Thu, 9 Feb 2023 10:41:33 +0000 (11:41 +0100)]
configure: Bump version to 3.0.35 UNRELEASED

21 months agoRebuild developer manual
Fabian Keil [Mon, 6 Feb 2023 07:46:49 +0000 (08:46 +0100)]
Rebuild developer manual

21 months agodeveloper-manual: Document the regeneration of the RSS feed
Fabian Keil [Mon, 6 Feb 2023 07:43:16 +0000 (08:43 +0100)]
developer-manual: Document the regeneration of the RSS feed

21 months agoUpdate RSS feed for the 3.0.34 release
Fabian Keil [Mon, 6 Feb 2023 07:21:29 +0000 (08:21 +0100)]
Update RSS feed for the 3.0.34 release

21 months agoMerge Debian 3.0.33-4 and 3.0.34-1 changes.
Roland Rosenfeld [Sun, 5 Feb 2023 10:00:13 +0000 (11:00 +0100)]
Merge Debian 3.0.33-4 and 3.0.34-1 changes.

And prepare 3.0.35 git snapshot.

21 months agoRebuild docs with updated copyright v_3_0_34
Fabian Keil [Sun, 5 Feb 2023 04:17:54 +0000 (05:17 +0100)]
Rebuild docs with updated copyright

21 months agoBump copyright
Fabian Keil [Sun, 5 Feb 2023 04:16:23 +0000 (05:16 +0100)]
Bump copyright

21 months agoRegenerate config file for the 3.0.34 release
Fabian Keil [Sat, 4 Feb 2023 18:31:30 +0000 (19:31 +0100)]
Regenerate config file for the 3.0.34 release

21 months agoRebuild HTML man page
Fabian Keil [Sat, 4 Feb 2023 18:29:36 +0000 (19:29 +0100)]
Rebuild HTML man page

21 months agoRegenerate privoxy.8 for the 3.0.34 release
Fabian Keil [Sat, 4 Feb 2023 18:28:42 +0000 (19:28 +0100)]
Regenerate privoxy.8 for the 3.0.34 release

21 months agoUpdate license information in the annnouncement
Fabian Keil [Sat, 4 Feb 2023 12:49:06 +0000 (13:49 +0100)]
Update license information in the annnouncement

21 months agoAdd a paragraph to the annoucement to explain why gmail users no longer get messages...
Fabian Keil [Sat, 4 Feb 2023 12:45:35 +0000 (13:45 +0100)]
Add a paragraph to the annoucement to explain why gmail users no longer get messages from Mailman

21 months agoRegenerate the documentation
Fabian Keil [Sat, 4 Feb 2023 12:29:27 +0000 (13:29 +0100)]
Regenerate the documentation

21 months agoPrepare the announcement text for Privoxy 3.0.34 stable
Fabian Keil [Fri, 3 Feb 2023 18:02:28 +0000 (19:02 +0100)]
Prepare the announcement text for Privoxy 3.0.34 stable

21 months agoUpdate SGML ChangeLog
Fabian Keil [Sat, 4 Feb 2023 12:23:14 +0000 (13:23 +0100)]
Update SGML ChangeLog

21 months agoAdd two ChangeLog entries
Fabian Keil [Sat, 4 Feb 2023 12:22:05 +0000 (13:22 +0100)]
Add two ChangeLog entries

21 months agouser-manual: Note that FreeBSD and ElectroBSD users can try to install Privoxy
Fabian Keil [Fri, 3 Feb 2023 21:37:32 +0000 (22:37 +0100)]
user-manual: Note that FreeBSD and ElectroBSD users can try to install Privoxy

... as binary package using 'pkg'.

21 months agouser-manual: Note that the FreeBSD installation instructions work for ElectroBSD...
Fabian Keil [Fri, 3 Feb 2023 21:28:09 +0000 (22:28 +0100)]
user-manual: Note that the FreeBSD installation instructions work for ElectroBSD as well

21 months agoRebuild user-manual with updated copyright
Fabian Keil [Fri, 3 Feb 2023 07:26:22 +0000 (08:26 +0100)]
Rebuild user-manual with updated copyright

21 months agouser-manual: Bump copyright
Fabian Keil [Fri, 3 Feb 2023 07:25:01 +0000 (08:25 +0100)]
user-manual: Bump copyright

21 months agoRebuild user-manual with updated ChangeLog entries
Fabian Keil [Fri, 3 Feb 2023 07:23:25 +0000 (08:23 +0100)]
Rebuild user-manual with updated ChangeLog entries

21 months agoUpdate SGML changelog
Fabian Keil [Fri, 3 Feb 2023 07:21:01 +0000 (08:21 +0100)]
Update SGML changelog

21 months agoImprove a couple of ChangeLog entries
Fabian Keil [Fri, 3 Feb 2023 07:15:13 +0000 (08:15 +0100)]
Improve a couple of ChangeLog entries

... by more consistently using periods at the end of the
entries and by slightly rephrasing some.

21 months agoRegenerate docs for Privoxy 3.0.34 stable
Fabian Keil [Tue, 31 Jan 2023 10:50:33 +0000 (11:50 +0100)]
Regenerate docs for Privoxy 3.0.34 stable

21 months agoBump copyright
Fabian Keil [Tue, 31 Jan 2023 10:53:21 +0000 (11:53 +0100)]
Bump copyright

21 months agoBump copyright
Fabian Keil [Tue, 31 Jan 2023 10:52:43 +0000 (11:52 +0100)]
Bump copyright

21 months agoUpdate SGML changelog
Fabian Keil [Tue, 31 Jan 2023 10:39:50 +0000 (11:39 +0100)]
Update SGML changelog

21 months agoBump SMGL entities for 3.0.34 stable
Fabian Keil [Tue, 31 Jan 2023 10:44:09 +0000 (11:44 +0100)]
Bump SMGL entities for 3.0.34 stable

21 months agoRephrase ChangeLog entry for the macOS binary
Fabian Keil [Tue, 31 Jan 2023 07:23:56 +0000 (08:23 +0100)]
Rephrase ChangeLog entry for the macOS binary

21 months agoAdded HTTPS inspection support for macOS release
Ian Silvester [Sun, 22 Jan 2023 19:05:51 +0000 (14:05 -0500)]
Added HTTPS inspection support for macOS release

22 months agoRemove ChangeLog entry for 4610ab9d9 as it I had to revert it
Fabian Keil [Sat, 7 Jan 2023 09:15:32 +0000 (10:15 +0100)]
Remove ChangeLog entry for 4610ab9d9 as it I had to revert it

22 months agoRevert "receive_and_send_encrypted_post_data(): Additionally check for data being...
Fabian Keil [Sat, 7 Jan 2023 09:10:40 +0000 (10:10 +0100)]
Revert "receive_and_send_encrypted_post_data(): Additionally check for data being available"

It caused a HTTPS inspection performance regression:
https://lists.privoxy.org/pipermail/privoxy-devel/2023-January/000579.html

This reverts commit 4610ab9d935495d08acbb7e82bf251c18848f56c.

22 months agofaq: Bump copyright
Fabian Keil [Wed, 4 Jan 2023 19:59:35 +0000 (20:59 +0100)]
faq: Bump copyright

22 months agoBump copyright range in win32_blurb[]
Fabian Keil [Wed, 4 Jan 2023 19:49:34 +0000 (20:49 +0100)]
Bump copyright range in win32_blurb[]

22 months agoDon't refer to the 'banners-by-link' filter as "experimental"
Fabian Keil [Wed, 4 Jan 2023 19:16:51 +0000 (20:16 +0100)]
Don't refer to the 'banners-by-link' filter as "experimental"

... as it has been around for years.

22 months agoDon't refer to the client-specific-tags directive as "experimental"
Fabian Keil [Wed, 4 Jan 2023 19:15:40 +0000 (20:15 +0100)]
Don't refer to the client-specific-tags directive as "experimental"

... as it has been around for years.

While it's conceivable that the syntax may change
in the future there are no current plans.

22 months agotrust: Add copyright range for consistency
Fabian Keil [Wed, 4 Jan 2023 19:21:51 +0000 (20:21 +0100)]
trust: Add copyright range for consistency

22 months agouser-manual: Don't refer to HTTPS inspection as 'experimental'
Fabian Keil [Wed, 4 Jan 2023 19:17:55 +0000 (20:17 +0100)]
user-manual: Don't refer to HTTPS inspection as 'experimental'

22 months agotrust: Remove trailing white-space
Fabian Keil [Wed, 4 Jan 2023 19:20:58 +0000 (20:20 +0100)]
trust: Remove trailing white-space

22 months agoDon't refer to the "trust" mechanism as "experimental"
Fabian Keil [Wed, 4 Jan 2023 19:14:27 +0000 (20:14 +0100)]
Don't refer to the "trust" mechanism as "experimental"

.. as it has been around "for ever".

22 months agoBump copyright
Fabian Keil [Sun, 1 Jan 2023 17:38:13 +0000 (18:38 +0100)]
Bump copyright

22 months agoDeclare HTTPS inspection non-experimental
Fabian Keil [Sun, 1 Jan 2023 13:28:33 +0000 (14:28 +0100)]
Declare HTTPS inspection non-experimental

22 months agoconfigure: Bump copyright
Fabian Keil [Sun, 1 Jan 2023 15:27:37 +0000 (16:27 +0100)]
configure: Bump copyright

22 months agoconfigure: Bump SOURCE_DATE_EPOCH
Fabian Keil [Sun, 1 Jan 2023 15:27:25 +0000 (16:27 +0100)]
configure: Bump SOURCE_DATE_EPOCH

22 months agoDeclare 3.0.34 stable
Fabian Keil [Sun, 1 Jan 2023 15:26:56 +0000 (16:26 +0100)]
Declare 3.0.34 stable

22 months agoChangeLog: Bump copyright
Fabian Keil [Sun, 1 Jan 2023 15:31:22 +0000 (16:31 +0100)]
ChangeLog: Bump copyright

22 months agoChangeLog: Add entries for Privoxy 3.0.34 stable
Fabian Keil [Sun, 1 Jan 2023 13:27:33 +0000 (14:27 +0100)]
ChangeLog: Add entries for Privoxy 3.0.34 stable

22 months agoupdate references to the MBED-TLS library source code
Lee [Mon, 2 Jan 2023 21:05:52 +0000 (16:05 -0500)]
update references to the MBED-TLS library source code

eg. https://tls.mbed.org/ redirects to https://www.trustedfirmware.org/projects/mbed-tls/
and
https://github.com/ARMmbed/mbedtls redirects to https://github.com/Mbed-TLS/mbedtls

22 months agoupdate ftp.pcre.org references to the new sourceforge address
Lee [Mon, 2 Jan 2023 20:01:27 +0000 (15:01 -0500)]
update ftp.pcre.org references to the new sourceforge address

The original PCRE library is unmaintained and ftp.pcre.org is no more.

https://github.com/PCRE2Project/pcre2
   As well as downloading from the GitHub site, you can download ...
   the older, unmaintained PCRE1 library from an unofficial mirror at
   https://sourceforge.net/projects/pcre/files/pcre/

22 months agodoc nit: no longer so many warnings for implicit-fallthrough
Lee [Mon, 2 Jan 2023 19:05:10 +0000 (14:05 -0500)]
doc nit: no longer so many warnings for implicit-fallthrough

The old pcre code included with Privoxy had lots of fallthroughs
but that code is gone and the only implicit-fallthrough left is:

w32log.c: In function ‘LogWindowProc’:
w32log.c:1189:27: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1189 |          g_bShowLogWindow = wParam;
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~
w32log.c:1190:7: note: here
 1190 |       case WM_SIZE:  /* note: implicit-fallthrough */
      |       ^~~~

22 months agoSwitch from the mbedtls 2.16 branch to 2.28
Lee [Sun, 1 Jan 2023 20:03:58 +0000 (15:03 -0500)]
Switch from the mbedtls 2.16 branch to 2.28

https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.16.12
  This is the last release of the 2.16 long-time support branch.
  Users who want a long-time branch should move to mbedtls-2.28,
  which is backward-compatible and will be supported for at least
  3 years.

22 months agoprivoxy-log-parser: Properly highlight a log message that now has a period
Fabian Keil [Sun, 27 Nov 2022 18:20:57 +0000 (19:20 +0100)]
privoxy-log-parser: Properly highlight a log message that now has a period

22 months agosocks5_connect(): Add periods to a couple of log messages
Fabian Keil [Sun, 27 Nov 2022 18:07:11 +0000 (19:07 +0100)]
socks5_connect(): Add periods to a couple of log messages

23 months agoAdd #201: Add an action to change the trusted-cas-file for a section
Fabian Keil [Sat, 19 Nov 2022 09:16:34 +0000 (10:16 +0100)]
Add #201: Add an action to change the trusted-cas-file for a section

2 years agoBump copyright
Fabian Keil [Sun, 16 Oct 2022 09:31:10 +0000 (11:31 +0200)]
Bump copyright

2 years agoaccept_connection(): Add missing space to a log message
Fabian Keil [Sun, 16 Oct 2022 09:30:25 +0000 (11:30 +0200)]
accept_connection(): Add missing space to a log message

2 years agobind_port(): Add period to a log message
Fabian Keil [Sun, 16 Oct 2022 09:13:44 +0000 (11:13 +0200)]
bind_port(): Add period to a log message

2 years agodrain_and_close_socket(): Add periods to two log messages
Fabian Keil [Sun, 16 Oct 2022 09:08:53 +0000 (11:08 +0200)]
drain_and_close_socket(): Add periods to two log messages

2 years agoBump copyright
Fabian Keil [Thu, 25 Mar 2021 11:39:19 +0000 (12:39 +0100)]
Bump copyright

2 years agoInitialize ca-related defaults with strdup_or_die()
Fabian Keil [Tue, 27 Sep 2022 10:14:12 +0000 (12:14 +0200)]
Initialize ca-related defaults with strdup_or_die()

... so errors aren't silently ignored.

2 years agoAdd Chakib Benziane as contributor
Fabian Keil [Mon, 3 Oct 2022 07:32:20 +0000 (09:32 +0200)]
Add Chakib Benziane as contributor

2 years agoDisable filter{banners-by-size} for .freiheitsfoo.de/
Fabian Keil [Mon, 3 Oct 2022 07:25:32 +0000 (09:25 +0200)]
Disable filter{banners-by-size} for .freiheitsfoo.de/

2 years agoprivoxy-log-parser: Highlight the socket number in 'debug 16' messages
Fabian Keil [Fri, 30 Sep 2022 05:35:31 +0000 (07:35 +0200)]
privoxy-log-parser: Highlight the socket number in 'debug 16' messages

2 years agoprivoxy-log-parser: Highlight the socket number in 'debug 32768' messages
Fabian Keil [Thu, 29 Sep 2022 14:34:59 +0000 (16:34 +0200)]
privoxy-log-parser: Highlight the socket number in 'debug 32768' messages

2 years agoBump copyright
Fabian Keil [Wed, 28 Sep 2022 06:06:55 +0000 (08:06 +0200)]
Bump copyright

2 years agomake_path: Use malloc_or_die()
Fabian Keil [Wed, 28 Sep 2022 06:06:14 +0000 (08:06 +0200)]
make_path: Use malloc_or_die()

... in cases where allocation errors were already fatal anyway.