privoxy.git
5 years agoInclude the man page in the `All documentation should be rebuilt:` instructions
Lee [Sun, 16 Dec 2018 23:58:16 +0000 (18:58 -0500)]
Include the man page in the `All documentation should be rebuilt:` instructions

5 years agoPrefer OpenSP to SP
Lee [Sat, 15 Dec 2018 04:12:07 +0000 (23:12 -0500)]
Prefer OpenSP to SP

If we're preferring openjade to jade it seems like we should also prefer OpenSP to SP
ref: https://lists.privoxy.org/pipermail/privoxy-devel/2018-November/000293.html

5 years agoMerge branch 'master' of ssh://git.privoxy.org:23/git/privoxy
Lee [Fri, 14 Dec 2018 03:15:43 +0000 (22:15 -0500)]
Merge branch 'master' of ssh://git.privoxy.org:23/git/privoxy

5 years ago"Before the Release" requires more than just "Freeze"
Lee [Fri, 14 Dec 2018 03:09:28 +0000 (22:09 -0500)]
"Before the Release" requires more than just "Freeze"

So for somebody looking at the dev manual index, don't make it
look like they can ignore the "Before the Release" section and
go straight to the "Building and Releasing the Packages" section.

5 years agoUse https:// in the link to Ian's mirror
Fabian Keil [Wed, 28 Nov 2018 14:37:59 +0000 (15:37 +0100)]
Use https:// in the link to Ian's mirror

5 years agoDowngrade log message from ERROR to CONNECT
Fabian Keil [Thu, 1 Nov 2018 17:48:12 +0000 (18:48 +0100)]
Downgrade log message from ERROR to CONNECT

5 years agoPut URL in error message
Fabian Keil [Thu, 1 Nov 2018 17:41:19 +0000 (18:41 +0100)]
Put URL in error message

5 years agoRebuild docs
Fabian Keil [Mon, 29 Oct 2018 15:13:01 +0000 (16:13 +0100)]
Rebuild docs

5 years agoBump copyright
Fabian Keil [Sun, 14 Oct 2018 15:09:37 +0000 (17:09 +0200)]
Bump copyright

5 years agoRename flush_socket() to flush_iob()
Fabian Keil [Thu, 11 Oct 2018 09:28:02 +0000 (11:28 +0200)]
Rename flush_socket() to flush_iob()

5 years agoBump copyright
Fabian Keil [Wed, 10 Oct 2018 13:21:30 +0000 (15:21 +0200)]
Bump copyright

5 years agoDocument delay-response{}
Fabian Keil [Thu, 25 Oct 2018 13:13:52 +0000 (15:13 +0200)]
Document delay-response{}

5 years agoAdd delay-response{} action
Fabian Keil [Tue, 9 Oct 2018 12:53:59 +0000 (14:53 +0200)]
Add delay-response{} action

This is useful to tar pit JavaScript requests that
are endlessly retried in case of blocks.

Sponsored by: Robert Klemme

5 years agoput utils/makeChangeLog under the GPLv2 license.
Lee [Sun, 11 Nov 2018 15:45:06 +0000 (10:45 -0500)]
put utils/makeChangeLog under the GPLv2 license.

6 years agoMove Hal to the 'Former Team Members' section
Fabian Keil [Thu, 1 Nov 2018 16:15:47 +0000 (17:15 +0100)]
Move Hal to the 'Former Team Members' section

6 years agoPrefer openjade to jade
Fabian Keil [Wed, 31 Oct 2018 14:44:41 +0000 (15:44 +0100)]
Prefer openjade to jade

At least on my system jade produces HTML with
unescaped ampersands in URLs.

6 years agoBump Copyright
Fabian Keil [Tue, 30 Oct 2018 16:30:26 +0000 (17:30 +0100)]
Bump Copyright

6 years agoBump SOURCE_DATE_EPOCH
Fabian Keil [Mon, 29 Oct 2018 16:34:35 +0000 (17:34 +0100)]
Bump SOURCE_DATE_EPOCH

6 years agoRemove trailing white-space
Fabian Keil [Sat, 27 Oct 2018 16:06:00 +0000 (18:06 +0200)]
Remove trailing white-space

6 years agorebuild docs
Lee [Sat, 27 Oct 2018 23:30:52 +0000 (19:30 -0400)]
rebuild docs

6 years agodeveloper doc nit: bumping the version number belongs in 'After the Release'
Lee [Sat, 27 Oct 2018 22:52:07 +0000 (18:52 -0400)]
developer doc nit: bumping the version number belongs in 'After the Release'

6 years agodeveloper doc nit: move the 'commit all changes' step up
Lee [Sat, 27 Oct 2018 22:47:16 +0000 (18:47 -0400)]
developer doc nit: move the 'commit all changes' step up

6 years agodeveloper doc: list the steps for creating the changelog
Lee [Sat, 27 Oct 2018 22:44:40 +0000 (18:44 -0400)]
developer doc: list the steps for creating the changelog

6 years agoadd a program to turn git log output into a change log
Lee [Sat, 27 Oct 2018 22:39:22 +0000 (18:39 -0400)]
add a program to turn git log output into a change log

6 years agoRefer to the git sources instead of CVS
Fabian Keil [Thu, 25 Oct 2018 13:21:33 +0000 (15:21 +0200)]
Refer to the git sources instead of CVS

6 years agoUse GNU/Linux when referring to the OS instead of the kernel
Fabian Keil [Thu, 25 Oct 2018 13:01:32 +0000 (15:01 +0200)]
Use GNU/Linux when referring to the OS instead of the kernel

6 years agoRemove obsolete Amiga references
Fabian Keil [Thu, 25 Oct 2018 13:00:24 +0000 (15:00 +0200)]
Remove obsolete Amiga references

6 years agoRemove paragraph about obsolete AmigaOS and QNX support
Fabian Keil [Thu, 25 Oct 2018 12:58:37 +0000 (14:58 +0200)]
Remove paragraph about obsolete AmigaOS and QNX support

6 years agoRemove support for AmigaOS
Fabian Keil [Wed, 10 Oct 2018 13:30:18 +0000 (15:30 +0200)]
Remove support for AmigaOS

6 years agoMerge branch 'master' of ssh://git.privoxy.org:23/git/privoxy
Lee [Tue, 23 Oct 2018 16:02:54 +0000 (12:02 -0400)]
Merge branch 'master' of ssh://git.privoxy.org:23/git/privoxy

6 years agoimprove handling of @@line continuations
Lee [Tue, 23 Oct 2018 16:00:20 +0000 (12:00 -0400)]
improve handling of @@line continuations

  # XXX: someone should figure out what this stuff
  # is supposed to do (and if it really does that).
still holds

6 years agoRemove an obsolete comment
Fabian Keil [Tue, 23 Oct 2018 14:44:39 +0000 (16:44 +0200)]
Remove an obsolete comment

6 years agoFix compiler warnings
Fabian Keil [Tue, 23 Oct 2018 14:41:27 +0000 (16:41 +0200)]
Fix compiler warnings

jcc.c:1012:27: warning: implicit conversion changes signedness: 'jb_err' (aka 'enum privoxy_err') to 'int' [-Wsign-conversion]
         jb_err_to_string(err));
         ~~~~~~~~~~~~~~~~ ^~~
jcc.c:1721:45: warning: implicit conversion changes signedness: 'jb_err' (aka 'enum privoxy_err') to 'int' [-Wsign-conversion]
         csp->ip_addr_str, jb_err_to_string(err));
                           ~~~~~~~~~~~~~~~~ ^~~

6 years agoChange include order so errlog.h can use jb_err
Fabian Keil [Tue, 23 Oct 2018 15:04:22 +0000 (17:04 +0200)]
Change include order so errlog.h can use jb_err

6 years agoFix compiler warnings
Fabian Keil [Tue, 23 Oct 2018 14:40:34 +0000 (16:40 +0200)]
Fix compiler warnings

loaders.c:1237:18: warning: implicit conversion changes signedness: 'jb_err' (aka 'enum privoxy_err') to 'int' [-Wsign-conversion]
         error = enlist(bl->patterns, buf);
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~
loaders.c:1254:18: warning: implicit conversion changes signedness: 'jb_err' (aka 'enum privoxy_err') to 'int' [-Wsign-conversion]
         error = enlist(bl->patterns, buf);
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~

6 years agoFix a compiler warning
Fabian Keil [Tue, 23 Oct 2018 14:28:49 +0000 (16:28 +0200)]
Fix a compiler warning

cgiedit.c:2836:47: warning: implicit conversion changes signedness: 'enum filter_type' to 'int' [-Wsign-conversion]
               const int type = filter_group->type;
                         ~~~~   ~~~~~~~~~~~~~~^~~~

6 years agoadd a comment about the cygwin -mwindows build flag
Lee [Tue, 23 Oct 2018 06:09:28 +0000 (02:09 -0400)]
add a comment about the cygwin -mwindows build flag

6 years agoget rid of trailing spaces
Lee [Tue, 23 Oct 2018 06:05:51 +0000 (02:05 -0400)]
get rid of trailing spaces

6 years agohave docbook generated html files be straight ascii
Lee [Tue, 23 Oct 2018 05:31:00 +0000 (01:31 -0400)]
have docbook generated html files be straight ascii

Dealing with a mixture of ISO-8859 and UTF-8 files is.. problematic.
To keep the number of issues down, keep everything in ASCII as much
as possible.

We have two docbook stylesheet sections - 'html' for generated
html files where the output is supposed to be plain 7-bit ASCII
and 'print' for generated text files where the output is
latin1/ISO-8859

So the makefile has two docbook calls
  $(DB)     for generating html ascii output
  $(DB_TXT) for generating latin1 text output (eg AUTHORS)

and two w3m calls
  $(W3M_DUMP)      for reading docbook output and creating ASCII output
  $(W3M_DUMP_UTF8) for reading docbook output and creating UTF-8 output

6 years agokeep the sgml files 7-bit ascii
Lee [Tue, 23 Oct 2018 03:35:04 +0000 (23:35 -0400)]
keep the sgml files 7-bit ascii

use á instead of á, ö instead of ö, etc. so we can have
p-authors.sgml as 7-bit ascii and avoid latin1/utf-8 processing errors

6 years agohave the 'print' section of the stylesheet convert &code; strings
Lee [Tue, 23 Oct 2018 03:22:11 +0000 (23:22 -0400)]
have the 'print' section of the stylesheet convert &code; strings

We need docbook to convert &code; strings to latin1/ISO-8859 when
creating text files like AUTHORS or README
Add a style-specification id="print-notoc" section so we can
create text files without a table of contents

6 years agofix %indent-screen-lines% syntax error
Lee [Tue, 23 Oct 2018 03:14:54 +0000 (23:14 -0400)]
fix %indent-screen-lines% syntax error

http://docbook.sourceforge.net/release/dsssl/current/doc/print/indent-screen-lines.html
If not #f, each line in the display will be indented with the content of this variable.

6 years agodon't convert "&code;" strings in docbook generated html
Lee [Tue, 23 Oct 2018 03:09:04 +0000 (23:09 -0400)]
don't convert "&code;" strings in docbook generated html

docbook generates ISO-8859 characters for &code; strings
If we keep the "&code;" strings as is, docbook can
generate 7-bit clean ascii

6 years agoMerge branch 'master' of ssh://git.privoxy.org:23/git/privoxy
Lee [Tue, 23 Oct 2018 03:00:43 +0000 (23:00 -0400)]
Merge branch 'master' of ssh://git.privoxy.org:23/git/privoxy

unable to do a push - allarently i have to pull first

6 years agoget rid of <cr><lf> line endings and trailing spaces
Lee [Tue, 23 Oct 2018 02:56:55 +0000 (22:56 -0400)]
get rid of <cr><lf> line endings and trailing spaces

run 'dos2unix ldp.dsl.in' and then
vi ldp.dsl.in; :1,$ s/ $//

6 years agoRegenerate for 3.0.26 (STABLE)
Fabian Keil [Tue, 16 Oct 2018 12:58:18 +0000 (14:58 +0200)]
Regenerate for 3.0.26 (STABLE)

6 years agoRegenerate homepage
Fabian Keil [Tue, 16 Oct 2018 12:53:03 +0000 (14:53 +0200)]
Regenerate homepage

6 years agoRemove 7binaryoptions.com from the footer
Fabian Keil [Tue, 16 Oct 2018 12:02:49 +0000 (14:02 +0200)]
Remove 7binaryoptions.com from the footer

6 years agoRemove 7binaryoptions.com from the footer
Fabian Keil [Tue, 16 Oct 2018 12:01:17 +0000 (14:01 +0200)]
Remove 7binaryoptions.com from the footer

The sponsored 12 months are up.

6 years agoFix parameter index in a comment
Fabian Keil [Tue, 9 Oct 2018 13:17:16 +0000 (15:17 +0200)]
Fix parameter index in a comment

6 years agoFix parameter index in a comment
Fabian Keil [Tue, 9 Oct 2018 16:26:58 +0000 (18:26 +0200)]
Fix parameter index in a comment

6 years agotell tidy the input is ISO-8859-1 & to not complain so much
Lee [Sun, 12 Aug 2018 15:47:13 +0000 (11:47 -0400)]
tell tidy the input is ISO-8859-1 & to not complain so much

docbook output is ISO-8859-1 and tidy just assumes ASCII
without the '-latin1' option you get things like
  line 86 column 13 - Warning: replacing invalid UTF-8 bytes (char. code U+00A9)
where docbook converts this
  <!entity  my-copy "&copy;">
  Copyright &my-copy; 2001-2017 by Privoxy Developers
to this
  Copyright © 2001-2017 by Privoxy Developers
and tidy strips out the copyright character.

with the '-latin1' option tidy leaves the copyright character as is.

options  -q --mute MISSING_ATTRIBUTE --mute TRIM_EMPTY_ELEMENT
just gets rid of verbose messages for things nobody is going to fix

6 years agorebuild docs
Lee [Fri, 10 Aug 2018 19:40:35 +0000 (15:40 -0400)]
rebuild docs

6 years agoadd windows/ build files from the old cvs winsetup/ directory
Lee [Fri, 10 Aug 2018 19:19:09 +0000 (15:19 -0400)]
add windows/ build files from the old cvs winsetup/ directory

6 years agorebuild the docs
Lee [Fri, 10 Aug 2018 18:18:09 +0000 (14:18 -0400)]
rebuild the docs

6 years agoupdate the docs for the sourceforge.net/cvs => privoxy.org/git migration
Lee [Fri, 10 Aug 2018 18:17:11 +0000 (14:17 -0400)]
update the docs for the sourceforge.net/cvs => privoxy.org/git migration

6 years agoremove all of the CVS "$Id: xxx" lines that GIT doesn't do anything with
Lee [Tue, 10 Jul 2018 00:11:25 +0000 (20:11 -0400)]
remove all of the CVS "$Id: xxx" lines that GIT doesn't do anything with
bump the copyright and rebuild the docs

RIP CVS
no more automatic version number and change timestamp in the source :(

6 years agoupdate the URL for the Privoxy TODO list
Lee [Mon, 9 Jul 2018 18:39:16 +0000 (14:39 -0400)]
update the URL for the Privoxy TODO list

sourceforge cvs is no more :(
the TODO list is now kept in GIT and can be seen at
https://www.privoxy.org/gitweb/?p=privoxy.git;a=blob_plain;f=TODO;hb=HEAD

6 years agoUse https for the FAQ link
Fabian Keil [Mon, 9 Jul 2018 09:58:04 +0000 (11:58 +0200)]
Use https for the FAQ link

6 years agoTODO: Remove CVS id and update URL
Fabian Keil [Mon, 9 Jul 2018 09:55:53 +0000 (11:55 +0200)]
TODO: Remove CVS id and update URL

Reported by Lee.

6 years agoUpdate debian directory to 3.0.26-6 status.
Roland Rosenfeld [Thu, 10 May 2018 11:18:18 +0000 (13:18 +0200)]
Update debian directory to 3.0.26-6 status.

6 years agoget rid of a compiler warning
Lee [Sat, 21 Apr 2018 18:46:03 +0000 (14:46 -0400)]
get rid of a compiler warning

urlmatch.c:494:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
 jb_err static normalize_http_version(char *http_version)
 ^~~~~~

swap 'jb_err' and 'static' so that ‘static’ is at beginning of declaration

6 years agoecho the filename to stderr for 'make dok-tidy'
Lee [Sat, 31 Mar 2018 11:49:56 +0000 (07:49 -0400)]
echo the filename to stderr for 'make dok-tidy'

make it a bit easier to find errors in docbook generated html

tidy doesn't show the filename it's working on, so if
you do a 'make dok-tidy' you get *lots* of output to
stderr but no clue as to which file has all those
errors/warnings

6 years agorebuild docs
Lee [Mon, 19 Mar 2018 15:51:56 +0000 (11:51 -0400)]
rebuild docs

6 years agohave docbook generate valid html
Lee [Mon, 19 Mar 2018 15:46:58 +0000 (11:46 -0400)]
have docbook generate valid html

http://validator.w3.org/check
fusses about 'end tag for element "P" which is not open'
if a table is inside a paragraph - eg
  <p><table> ... </table></p>

docbook 3.1 turns <screen> and <programlisting> into
html <table>s, so get rid of all the enclosing <para>s

problematic constructs:
<para><figure> ... </figure></para>
<para><itemizedlist> ... </itemizedlist></para>
<para><literal> ... </literal></para>
<para><orderedlist> ... </orderedlist></para>
<para><programlisting> ... </programlisting></para>
<para><screen> ... </screen></para>
<para><simplelist> ... </simplelist></para>

6 years agogenerate correct html - no &#13; chars
Lee [Mon, 19 Mar 2018 01:16:39 +0000 (21:16 -0400)]
generate correct html - no &#13; chars

a blank line right after a <para>, <literallayout>, <screen>
or just before the closing tag causes docbook 3.1 to generate
a '&#13;'

eg: this sgml
 following patterns</quote>, and <literal>-block</literal> means <quote>don't
 block URLs that match the following patterns, even if <literal>+block</literal>
 previously applied.</quote>

</para>

<para>
 Again, actions are invoked by placing them on a line, enclosed in curly braces and

leads to this html:
>, and <TT
CLASS="LITERAL"
>-block</TT
> means <SPAN
CLASS="QUOTE"
>"don't
 block URLs that match the following patterns, even if <TT
CLASS="LITERAL"
>+block</TT
>
 previously applied."</SPAN
>&#13;</P
><P
> Again, actions are invoked by placing them on a line, enclosed in curly braces and

having "&#13;" right after the "</SPAN>" is just wrong.

6 years agomake dok: don't run tidy on the docbook generated html
Lee [Sun, 18 Mar 2018 15:00:16 +0000 (11:00 -0400)]
make dok: don't run tidy on the docbook generated html

at least as of tidy 5.6.0, tidy -indent -wrap
breaks <pre> formatting if the line is wrapped

<pre>a long line
</pre>

when indented and wrapped ends up like this
      <pre>
      a long line
</pre>

The pre-formatted text shouldn't have leading spaces added.  It should look like
      <pre>
a long line
</pre>

6 years agouse the wayback machine for the docbook site that no longer exists
Lee [Sun, 18 Mar 2018 14:19:24 +0000 (10:19 -0400)]
use the wayback machine for the docbook site that no longer exists

 url="http://opensource.bureau-cornavin.com/crash-course/index.html"
$ nslookup opensource.bureau-cornavin.com.
** server can't find opensource.bureau-cornavin.com: Non-existent domain

6 years agorebuild docs
Lee [Thu, 15 Mar 2018 15:26:04 +0000 (11:26 -0400)]
rebuild docs

6 years agoadjust <literallayout> lines to not exceed the line wrap length
Lee [Thu, 15 Mar 2018 01:27:04 +0000 (21:27 -0400)]
adjust <literallayout> lines to not exceed the line wrap length

Ideally we shouldn't be creating pre-formatted text that exceeds
the line wrap length.
manually editing files after generating them with 'make dok' is
for the birds..

6 years agoadd faq for what to do if editing the config file is access denied
Lee [Wed, 14 Mar 2018 11:23:55 +0000 (07:23 -0400)]
add faq for what to do if editing the config file is access denied

6 years agoworkaround for tidy -indent -wrap breaking <pre> formatting
Lee [Wed, 14 Mar 2018 11:01:16 +0000 (07:01 -0400)]
workaround for tidy -indent -wrap breaking <pre> formatting

tidy -indent -wrap 78  messes up the formatting of a long
line following a <pre> tag by splitting the line into <pre>
and the text and indenting both.  eg
<pre>a really long line</pre>
is turned into
          <pre>
          a really long line</pre>
and we end up with lots of leading spaces.

change the line wrap to column 120 and hope that's enough
to keep this bug from happening

6 years agoUpdate mail address of Roland Rosenfeld and fix indentation.
Roland Rosenfeld [Tue, 13 Mar 2018 15:13:38 +0000 (16:13 +0100)]
Update mail address of Roland Rosenfeld and fix indentation.

6 years agolanguage nit
Lee [Sat, 10 Mar 2018 14:24:25 +0000 (09:24 -0500)]
language nit

Stopping to watch is like parking at a scenic overlook to admire the scenery.
We're ignoring the scenery and continuing to drive.

6 years agoRemove Id tag
Fabian Keil [Fri, 9 Mar 2018 12:08:50 +0000 (13:08 +0100)]
Remove Id tag

6 years agoRemove Id tag
Fabian Keil [Fri, 9 Mar 2018 11:55:14 +0000 (12:55 +0100)]
Remove Id tag

6 years agoBump copyright
Fabian Keil [Fri, 9 Mar 2018 11:51:22 +0000 (12:51 +0100)]
Bump copyright

6 years agoRemove id tag
Fabian Keil [Fri, 9 Mar 2018 11:48:03 +0000 (12:48 +0100)]
Remove id tag

6 years agofix typo in FAQ.
Roland Rosenfeld [Thu, 8 Mar 2018 12:25:42 +0000 (13:25 +0100)]
fix typo in FAQ.

6 years agoExpect a 404 for /show-version which no longer exists
Fabian Keil [Thu, 1 Mar 2018 11:15:12 +0000 (12:15 +0100)]
Expect a 404 for /show-version which no longer exists

6 years agoRemove cgi_show_version()
Fabian Keil [Thu, 1 Mar 2018 11:13:03 +0000 (12:13 +0100)]
Remove cgi_show_version()

It's no longer useful now that we are using git.

Eventually the git hash should be added to the
version number shown on each page.

6 years agoRemove show_rcs() and the CVS ids it relied upon
Fabian Keil [Thu, 1 Mar 2018 11:08:52 +0000 (12:08 +0100)]
Remove show_rcs() and the CVS ids it relied upon

6 years agofix comment
Lee [Wed, 7 Mar 2018 06:11:07 +0000 (01:11 -0500)]
fix comment
it's the nagle algorithm being disabled, so call it by it's name

6 years agoChange write_pid_file()'s prototype to take the path as argument
Fabian Keil [Thu, 17 Aug 2017 17:12:15 +0000 (19:12 +0200)]
Change write_pid_file()'s prototype to take the path as argument

6 years agoConsistently use the U(ngreedy) flag in the 'img-reorder' filter
Fabian Keil [Sat, 18 Mar 2017 17:54:11 +0000 (18:54 +0100)]
Consistently use the U(ngreedy) flag in the 'img-reorder' filter

6 years agoAdd brief HTTP/2 FAQ
Fabian Keil [Sat, 30 Dec 2017 10:11:14 +0000 (11:11 +0100)]
Add brief HTTP/2 FAQ

6 years ago#121: Fix typo
Fabian Keil [Fri, 29 Dec 2017 16:54:57 +0000 (17:54 +0100)]
#121: Fix typo

6 years agoAdd a web-sponsors target to only update the sponsoring page
Fabian Keil [Mon, 25 Dec 2017 12:17:48 +0000 (13:17 +0100)]
Add a web-sponsors target to only update the sponsoring page

6 years agoAdd betrugstest.com as Privoxy sponsor
Fabian Keil [Mon, 25 Dec 2017 12:05:22 +0000 (13:05 +0100)]
Add betrugstest.com as Privoxy sponsor

7 years agoRegenerate docs
Fabian Keil [Fri, 25 Aug 2017 10:47:11 +0000 (10:47 +0000)]
Regenerate docs

7 years agoFAQ: Change two more SPI links to https
Fabian Keil [Fri, 25 Aug 2017 10:46:37 +0000 (10:46 +0000)]
FAQ: Change two more SPI links to https

7 years agoFix server-response fuzzing
Fabian Keil [Sat, 12 Aug 2017 09:42:31 +0000 (09:42 +0000)]
Fix server-response fuzzing

... which I broke when I added the receive-buffer-size directive.

When fuzzing, a zero-size buffer was used which resulted in all
fuzzing inputs that were supposed to be treated as server-response
being rejected.

Setting a receive_buffer_size in process_fuzzed_input() prevents
this. The other fuzzing modes weren't affected by the regression.

7 years agoBump copyright
Fabian Keil [Sat, 12 Aug 2017 09:41:48 +0000 (09:41 +0000)]
Bump copyright

7 years agopcrs_compile_replacement(): Remove an assertion that could be triggered with invalid...
Fabian Keil [Sat, 12 Aug 2017 09:40:50 +0000 (09:40 +0000)]
pcrs_compile_replacement(): Remove an assertion that could be triggered with invalid input

Without the assertion the invalid input is properly rejected:
Error: Failed to compile pcrs replacement. Error: (pcrs:) Backreference out of range

This reverts one half of r1.50 which apparently wasn't
properly tested.

7 years agoRemove an obsolete comment
Fabian Keil [Sat, 12 Aug 2017 09:40:22 +0000 (09:40 +0000)]
Remove an obsolete comment

7 years agoCompile socks fuzzing code depending on FUZZ instead of FUZZ_SOCKS
Fabian Keil [Sat, 12 Aug 2017 09:40:14 +0000 (09:40 +0000)]
Compile socks fuzzing code depending on FUZZ instead of FUZZ_SOCKS

We no longer allow to use a fuzzing build for non-fuzzing work
so unconditionally including the socks fuzzing code doesn't add
any additional inconvenience.

7 years agoAdd the pointer to the receive buffer to the csp
Fabian Keil [Sat, 12 Aug 2017 09:37:17 +0000 (09:37 +0000)]
Add the pointer to the receive buffer to the csp

It allows to free it outside of handle_established_connection()
and will allow to use it in other functions in the future.

7 years agoStreamline handle_established_connection()'s parameter list
Fabian Keil [Sat, 12 Aug 2017 09:36:42 +0000 (09:36 +0000)]
Streamline handle_established_connection()'s parameter list

csp references fwd already so there's no need to pass
it as separate parameter as well.

7 years agoload_config(): Rearrange code to prevent a useless store
Fabian Keil [Sat, 12 Aug 2017 09:35:32 +0000 (09:35 +0000)]
load_config(): Rearrange code to prevent a useless store

7 years agoWarn when still using select()
Fabian Keil [Sat, 12 Aug 2017 09:33:25 +0000 (09:33 +0000)]
Warn when still using select()