privoxy.git
21 years agoIJB now changes HTTP/1.1 to HTTP/1.0 in requests and answers.
joergs [Sat, 29 Sep 2001 12:56:03 +0000 (12:56 +0000)]
IJB now changes HTTP/1.1 to HTTP/1.0 in requests and answers.

21 years agoDitto :/
hal9 [Fri, 28 Sep 2001 02:57:04 +0000 (02:57 +0000)]
Ditto :/

21 years agoDitto.
hal9 [Fri, 28 Sep 2001 02:25:20 +0000 (02:25 +0000)]
Ditto.

21 years agoFixing my markup errors :(
hal9 [Fri, 28 Sep 2001 02:18:12 +0000 (02:18 +0000)]
Fixing my markup errors :(

21 years agoA few changes. A short section on regular expression in appendix.
hal9 [Thu, 27 Sep 2001 23:50:29 +0000 (23:50 +0000)]
A few changes. A short section on regular expression in appendix.

21 years agoSome additions, and re-arranging.
hal9 [Tue, 25 Sep 2001 00:34:59 +0000 (00:34 +0000)]
Some additions, and re-arranging.

21 years agoFixing 2 memory leaks that Guy spotted, where the paramater to
jongfoster [Mon, 24 Sep 2001 21:09:24 +0000 (21:09 +0000)]
Fixing 2 memory leaks that Guy spotted, where the paramater to
enlist() was not being free()d.

21 years agoMinor changes.
hal9 [Mon, 24 Sep 2001 20:56:23 +0000 (20:56 +0000)]
Minor changes.

21 years agoDiddling.
hal9 [Mon, 24 Sep 2001 14:31:36 +0000 (14:31 +0000)]
Diddling.

21 years agoIncluding David's OS/2 installation instructions.
hal9 [Mon, 24 Sep 2001 14:10:32 +0000 (14:10 +0000)]
Including David's OS/2 installation instructions.

21 years agoAdded info about where OS/2 puts its log file vs. Unix and Windows.
David Schmidt [Mon, 24 Sep 2001 04:18:43 +0000 (04:18 +0000)]
Added info about where OS/2 puts its log file vs. Unix and Windows.

21 years agoDraft. Unfinished.
hal9 [Mon, 24 Sep 2001 01:27:56 +0000 (01:27 +0000)]
Draft. Unfinished.

21 years agoSomehow I managed to lose the license and style information. Doh!
jongfoster [Sun, 23 Sep 2001 15:52:10 +0000 (15:52 +0000)]
Somehow I managed to lose the license and style information.  Doh!

21 years agoAdding another link
jongfoster [Sun, 23 Sep 2001 13:53:24 +0000 (13:53 +0000)]
Adding another link

21 years agoAdding SourceForge logo as required by their ToS - see
jongfoster [Sun, 23 Sep 2001 13:40:58 +0000 (13:40 +0000)]
Adding SourceForge logo as required by their ToS - see
http://sourceforge.net/docman/display_doc.php?docid=790&group_id=1

21 years agoReplacing with a page containing links to the other pages on this
jongfoster [Sun, 23 Sep 2001 13:22:00 +0000 (13:22 +0000)]
Replacing with a page containing links to the other pages on this
site, the SourceForge project pages, and various other useful sites.

21 years agoupload process established. run make webserver and
swa [Sun, 23 Sep 2001 10:13:48 +0000 (10:13 +0000)]
upload process established. run make webserver and
the documentation is moved to the webserver. documents
are now linked correctly.

21 years agodefault page from sourceforge
swa [Sun, 23 Sep 2001 09:56:08 +0000 (09:56 +0000)]
default page from sourceforge

21 years agoRemoving unused parameter fs from read_config_line()
jongfoster [Sat, 22 Sep 2001 16:36:59 +0000 (16:36 +0000)]
Removing unused parameter fs from read_config_line()

21 years agoRemoving unneeded #includes
jongfoster [Sat, 22 Sep 2001 16:34:44 +0000 (16:34 +0000)]
Removing unneeded #includes

21 years agoRemoving unused #includes.
jongfoster [Sat, 22 Sep 2001 16:32:28 +0000 (16:32 +0000)]
Removing unused #includes.

21 years agoDisplaying an error message whenever the config directory is read.
jongfoster [Sat, 22 Sep 2001 14:55:41 +0000 (14:55 +0000)]
Displaying an error message whenever the config directory is read.

21 years agoTelling robots not to touch /config/ - if there's a JunkBuster
jongfoster [Sat, 22 Sep 2001 14:55:03 +0000 (14:55 +0000)]
Telling robots not to touch /config/ - if there's a JunkBuster
proxy between the robot and the web server, then accessing
/config can affect the proxy.

21 years agoAdding proper license
jongfoster [Sat, 22 Sep 2001 14:53:46 +0000 (14:53 +0000)]
Adding proper license

21 years agoAdding proper copyright notice
jongfoster [Sat, 22 Sep 2001 14:52:02 +0000 (14:52 +0000)]
Adding proper copyright notice
Removing a character that just appeared at the start of the file.

21 years agoBugfix: Multiple escaped "#" characters in a configuration
jongfoster [Sat, 22 Sep 2001 14:05:22 +0000 (14:05 +0000)]
Bugfix: Multiple escaped "#" characters in a configuration
file are now permitted.
Also removing 3 unused headers.

21 years agoCleaning up 2 compiler warnings on OS/2.
David Schmidt [Fri, 21 Sep 2001 23:02:02 +0000 (23:02 +0000)]
Cleaning up 2 compiler warnings on OS/2.

21 years agoAdded filter to replace "Nimda" code by a warning.
joergs [Fri, 21 Sep 2001 12:34:00 +0000 (12:34 +0000)]
Added filter to replace "Nimda" code by a warning.

21 years agoAdd casting for some string functions.
steudten [Thu, 20 Sep 2001 16:11:06 +0000 (16:11 +0000)]
Add casting for some string functions.

21 years agoFix BUG: Change int size to size_t size in pcrs_filter_response().
steudten [Thu, 20 Sep 2001 15:49:36 +0000 (15:49 +0000)]
Fix BUG: Change int size to size_t size in pcrs_filter_response().
See cgi.c fill_template().

21 years agoFix BUG: Modify int size to size_t size in fill_template()
steudten [Thu, 20 Sep 2001 15:47:44 +0000 (15:47 +0000)]
Fix BUG: Modify int size to size_t size in fill_template()
 - removes big trouble on machines where sizeof(int) != sizeof(size_t).

21 years agoadd casting from size_t to int for printf()
steudten [Thu, 20 Sep 2001 15:45:25 +0000 (15:45 +0000)]
add casting from size_t to int for printf()
remove local variable shadow s2

21 years agochange long to int for prototype hash_string()
steudten [Thu, 20 Sep 2001 13:34:09 +0000 (13:34 +0000)]
change long to int for prototype hash_string()

21 years agochange long to int as return value in hash_string(). Remember the wraparound
steudten [Thu, 20 Sep 2001 13:33:43 +0000 (13:33 +0000)]
change long to int as return value in hash_string(). Remember the wraparound
for int = long = sizeof(4) - thats maybe not what we want.

21 years agoMake freez() more secure in case of: if (exp) { free(z) ; a=*z }
steudten [Thu, 20 Sep 2001 13:30:08 +0000 (13:30 +0000)]
Make freez() more secure in case of: if (exp) { free(z) ; a=*z }
Last case will set z to NULL in free(z) and thats bad..

21 years agoFixed comments; cosmetics
oes [Wed, 19 Sep 2001 18:01:11 +0000 (18:01 +0000)]
Fixed comments; cosmetics

21 years ago - Deletef time() FIXME (Can't fail under Linux either, if
oes [Wed, 19 Sep 2001 18:00:37 +0000 (18:00 +0000)]
 - Deletef time() FIXME (Can't fail under Linux either, if
   the argument is guaranteed to be in out address space,
   which it is.)
 - Fixed comments
 - Pointer notation cosmetics
 - Fixed a minor bug in template_fill(): Failiure of
   pcrs_execute() now secure.

21 years agoFixed CFLAGS
oes [Wed, 19 Sep 2001 17:55:49 +0000 (17:55 +0000)]
Fixed CFLAGS

21 years agoFixing a warning
jongfoster [Sun, 16 Sep 2001 23:04:34 +0000 (23:04 +0000)]
Fixing a warning

21 years agoFixing warning
jongfoster [Sun, 16 Sep 2001 23:02:51 +0000 (23:02 +0000)]
Fixing warning

21 years agoRemoving showargs.[ch], adding cgi(simple|edit).[ch]
jongfoster [Sun, 16 Sep 2001 17:35:53 +0000 (17:35 +0000)]
Removing showargs.[ch], adding cgi(simple|edit).[ch]

21 years agoRemoving showargs.[ch], adding cgi(simple|edit).[ch]
jongfoster [Sun, 16 Sep 2001 17:34:27 +0000 (17:34 +0000)]
Removing showargs.[ch], adding cgi(simple|edit).[ch]
Replacing $(OBJEXT) with @OBJEXT@ - this seems to be a common source
of build problems.

21 years agoFixing a compiler warning.
jongfoster [Sun, 16 Sep 2001 17:30:24 +0000 (17:30 +0000)]
Fixing a compiler warning.

21 years agoAll the functions in this file have been moved to cgisimple.c or loadcfg.c
jongfoster [Sun, 16 Sep 2001 17:11:46 +0000 (17:11 +0000)]
All the functions in this file have been moved to cgisimple.c or loadcfg.c

21 years agoMoving function savearg() here, since it was the only thing left in
jongfoster [Sun, 16 Sep 2001 17:10:43 +0000 (17:10 +0000)]
Moving function savearg() here, since it was the only thing left in
showargs.c.

21 years agoMoving simple CGI functions from cgi.c to new file cgisimple.c
jongfoster [Sun, 16 Sep 2001 17:08:54 +0000 (17:08 +0000)]
Moving simple CGI functions from cgi.c to new file cgisimple.c

21 years agoRemoving unused #include showarg.h
jongfoster [Sun, 16 Sep 2001 17:05:14 +0000 (17:05 +0000)]
Removing unused #include showarg.h

21 years agoBugfix - couldn't build resources with previous version.
jongfoster [Sun, 16 Sep 2001 16:59:34 +0000 (16:59 +0000)]
Bugfix - couldn't build resources with previous version.

21 years agoNew version based on latest configure.in and acconfig.h
jongfoster [Sun, 16 Sep 2001 16:19:02 +0000 (16:19 +0000)]
New version based on latest configure.in and acconfig.h

21 years agoFirst version of CGI-based edit interface. This is very much a
jongfoster [Sun, 16 Sep 2001 15:47:37 +0000 (15:47 +0000)]
First version of CGI-based edit interface.  This is very much a
work-in-progress, and you can't actually use it to edit anything
yet.  You must #define FEATURE_CGI_EDIT_ACTIONS for these changes
to have any effect.

21 years agoFixing signed/unsigned comparison warning.
jongfoster [Sun, 16 Sep 2001 15:41:45 +0000 (15:41 +0000)]
Fixing signed/unsigned comparison warning.

21 years agoAdding i.j.b/robots.txt.
jongfoster [Sun, 16 Sep 2001 15:02:35 +0000 (15:02 +0000)]
Adding i.j.b/robots.txt.
Inlining add_stats() since it's only ever called from one place.

21 years agoChanges to use new list functions.
jongfoster [Sun, 16 Sep 2001 13:21:27 +0000 (13:21 +0000)]
Changes to use new list functions.

21 years agoRewrite of list library. Now has seperate header and list_entry
jongfoster [Sun, 16 Sep 2001 13:20:29 +0000 (13:20 +0000)]
Rewrite of list library.  Now has seperate header and list_entry
structures.  Also added a large sprinking of assert()s to the list
code.

21 years agoRemoving redundant function call that zeroed zalloc()'d memory.
jongfoster [Sun, 16 Sep 2001 13:01:46 +0000 (13:01 +0000)]
Removing redundant function call that zeroed zalloc()'d memory.

21 years agoSplitting fill_template() into 2 functions:
jongfoster [Sun, 16 Sep 2001 11:38:02 +0000 (11:38 +0000)]
Splitting fill_template() into 2 functions:
template_load() loads the file
template_fill() performs the PCRS regexps.
This is because the CGI edit interface has a "table row"
template which is used many times in the page - this
change means it's only loaded from disk once.

21 years agoBetter error handling in dispatch_cgi() and parse_cgi_parameters()
jongfoster [Sun, 16 Sep 2001 11:16:05 +0000 (11:16 +0000)]
Better error handling in dispatch_cgi() and parse_cgi_parameters()

21 years agoNew function alloc_http_response, for symmetry with free_http_response
jongfoster [Sun, 16 Sep 2001 11:00:10 +0000 (11:00 +0000)]
New function alloc_http_response, for symmetry with free_http_response

21 years agoRemove test for subsys flag in start. Some minor changes.
steudten [Sat, 15 Sep 2001 01:53:12 +0000 (01:53 +0000)]
Remove test for subsys flag in start. Some minor changes.

21 years ago%changelog
hal9 [Fri, 14 Sep 2001 23:28:29 +0000 (23:28 +0000)]
%changelog
* Thu Sep 13 2001 Hal Burgiss <hal@foobox.net>
- Added $RPM_OPT_FLAGS support, renaming of old logfile, and
- made sure no default shell exists for user junkbust.

Stefan and Thomas -- if you see this, see what you think of the CFLAGS
handling. The Makefile changed how this is handled recently, and what I've now
done is:

OPT_FLAGS="$RPM_OPT_FLAGS -Ipcre -Wall"
./configure
make "CFLAGS=$OPT_FLAGS"

Which 'works', but not sure what the best way to handle this. If I use
OTHER_FLAGS instead, I get duplicate gcc flag output like '-02 -03....'. Not
sure this is so bad, but at best, seems sloppy.

21 years agotest
hal9 [Fri, 14 Sep 2001 21:28:12 +0000 (21:28 +0000)]
test

21 years agoTidying up memory allocation. New function init_action().
jongfoster [Fri, 14 Sep 2001 00:17:32 +0000 (00:17 +0000)]
Tidying up memory allocation. New function init_action().

21 years agoSupport for both static and dynamically generated CGI pages.
jongfoster [Thu, 13 Sep 2001 23:53:03 +0000 (23:53 +0000)]
Support for both static and dynamically generated CGI pages.
Correctly setting Last-Modified: and Expires: HTTP headers.

21 years agoSupport for both static and dynamically generated CGI pages
jongfoster [Thu, 13 Sep 2001 23:52:00 +0000 (23:52 +0000)]
Support for both static and dynamically generated CGI pages

21 years ago(Cosmetic only) Indentation correction
jongfoster [Thu, 13 Sep 2001 23:40:36 +0000 (23:40 +0000)]
(Cosmetic only) Indentation correction

21 years agoMoving image data to cgi.c rather than cgi.h
jongfoster [Thu, 13 Sep 2001 23:32:40 +0000 (23:32 +0000)]
Moving image data to cgi.c rather than cgi.h
Fixing a GPF under Win32 (and any other OS that protects global
constants from being written to).

21 years agoMoving image data to cgi.c rather than cgi.h.
jongfoster [Thu, 13 Sep 2001 23:31:25 +0000 (23:31 +0000)]
Moving image data to cgi.c rather than cgi.h.

21 years agoDefining FORWARD_SPEC_INITIALIZER
jongfoster [Thu, 13 Sep 2001 23:29:43 +0000 (23:29 +0000)]
Defining FORWARD_SPEC_INITIALIZER

21 years agoChanging the string paramater to the header parsers a "const".
jongfoster [Thu, 13 Sep 2001 23:05:50 +0000 (23:05 +0000)]
Changing the string paramater to the header parsers a "const".

21 years agoAdding {} to an if statement
jongfoster [Thu, 13 Sep 2001 22:44:03 +0000 (22:44 +0000)]
Adding {} to an if statement

21 years agoFixing potential problems with characters >=128 in simplematch()
jongfoster [Thu, 13 Sep 2001 20:51:29 +0000 (20:51 +0000)]
Fixing potential problems with characters >=128 in simplematch()
This was also a compiler warning.

21 years agoFixing a compiler warning by adding a cast.
jongfoster [Thu, 13 Sep 2001 20:15:37 +0000 (20:15 +0000)]
Fixing a compiler warning by adding a cast.

21 years agoFixing 2 compiler warnings under Win32
jongfoster [Thu, 13 Sep 2001 20:11:46 +0000 (20:11 +0000)]
Fixing 2 compiler warnings under Win32

21 years agoFixing missing #include under Windows
jongfoster [Thu, 13 Sep 2001 20:10:12 +0000 (20:10 +0000)]
Fixing missing #include under Windows

21 years agoAdding support for LOG_LEVEL_CGI
jongfoster [Thu, 13 Sep 2001 20:08:06 +0000 (20:08 +0000)]
Adding support for LOG_LEVEL_CGI

21 years agoReverting to revision 1.10 - previous checking was majorly broken.
jongfoster [Thu, 13 Sep 2001 19:56:37 +0000 (19:56 +0000)]
Reverting to revision 1.10 - previous checking was majorly broken.

21 years agoman page is legacy. suse rpm now contains html
swa [Thu, 13 Sep 2001 16:22:42 +0000 (16:22 +0000)]
man page is legacy. suse rpm now contains html
documentation.

21 years agocosmetics
swa [Thu, 13 Sep 2001 15:27:40 +0000 (15:27 +0000)]
cosmetics

21 years agoshould give quick and dirty guidance
swa [Thu, 13 Sep 2001 15:24:30 +0000 (15:24 +0000)]
should give quick and dirty guidance

21 years agomerged standards into developer manual
swa [Thu, 13 Sep 2001 15:21:41 +0000 (15:21 +0000)]
merged standards into developer manual

21 years agowe want text files as well.
swa [Thu, 13 Sep 2001 15:19:08 +0000 (15:19 +0000)]
we want text files as well.

21 years agoGenerated from configure.in
steudten [Thu, 13 Sep 2001 13:43:13 +0000 (13:43 +0000)]
Generated from configure.in

21 years agoReplace DEBUG_CFLAGS with OTHER_CFLAGS
steudten [Thu, 13 Sep 2001 13:11:37 +0000 (13:11 +0000)]
Replace DEBUG_CFLAGS with OTHER_CFLAGS

21 years agoPreWork for Debug Interface.
steudten [Thu, 13 Sep 2001 13:10:24 +0000 (13:10 +0000)]
PreWork for Debug Interface.
Add new option "--with-debug" to enable debugging (flags aso.)

21 years agoA couple of minor tweaks:
David Schmidt [Thu, 13 Sep 2001 01:24:07 +0000 (01:24 +0000)]
A couple of minor tweaks:
- Cleaned up warnings on OS/2 and OSX
- Gave support to those needing <sys/malloc.h> instead of <malloc.h>

21 years agoMac OSX (Darwin) support added.
David Schmidt [Wed, 12 Sep 2001 23:44:55 +0000 (23:44 +0000)]
Mac OSX (Darwin) support added.

21 years agoAmigaOS support added.
joergs [Wed, 12 Sep 2001 22:55:45 +0000 (22:55 +0000)]
AmigaOS support added.

21 years agoStacksize of main thread increased.
joergs [Wed, 12 Sep 2001 22:54:51 +0000 (22:54 +0000)]
Stacksize of main thread increased.

21 years agoIn parse_http_request() header rewriting miss the host value, so
steudten [Wed, 12 Sep 2001 18:08:19 +0000 (18:08 +0000)]
In parse_http_request() header rewriting miss the host value, so
from http://www.mydomain.com the result was just " / " not
http://www.mydomain.com/ in case we forward.

21 years agoadd #include <string.h>
steudten [Wed, 12 Sep 2001 17:58:26 +0000 (17:58 +0000)]
add #include <string.h>

21 years agoOS/2 port: update autoconf'd support for the platform.
David Schmidt [Wed, 12 Sep 2001 17:28:59 +0000 (17:28 +0000)]
OS/2 port: update autoconf'd support for the platform.

21 years agoadded "make dok" section to generate html pages from
swa [Wed, 12 Sep 2001 16:28:42 +0000 (16:28 +0000)]
added "make dok" section to generate html pages from
the sgml source documents. note that the we do not want
generated stuff in cvs.

21 years agocould not find docbook.dsl
swa [Wed, 12 Sep 2001 16:19:51 +0000 (16:19 +0000)]
could not find docbook.dsl

21 years agoMiniscule English edits on template HTML
David Schmidt [Wed, 12 Sep 2001 16:07:04 +0000 (16:07 +0000)]
Miniscule English edits on template HTML

21 years agowill be generated in the future
swa [Wed, 12 Sep 2001 16:05:41 +0000 (16:05 +0000)]
will be generated in the future

21 years agoignore generated files
swa [Wed, 12 Sep 2001 15:40:03 +0000 (15:40 +0000)]
ignore generated files

21 years agosource files for junkbuster documentation
swa [Wed, 12 Sep 2001 15:36:41 +0000 (15:36 +0000)]
source files for junkbuster documentation

21 years agomoved old junkbuster docs to obsolete/
swa [Wed, 12 Sep 2001 15:35:10 +0000 (15:35 +0000)]
moved old junkbuster docs to obsolete/

21 years agoNewest version from gnu.org
steudten [Wed, 12 Sep 2001 13:56:47 +0000 (13:56 +0000)]
Newest version from gnu.org

21 years agoReplacing text version of coding standards with a HTML one.
jongfoster [Mon, 10 Sep 2001 19:00:25 +0000 (19:00 +0000)]
Replacing text version of coding standards with a HTML one.
This is a cosmetic change only.