privoxy.git
23 years agoCompress doc files. Install README and AUTHORS at last as document.
steudten [Tue, 6 Nov 2001 12:09:03 +0000 (12:09 +0000)]
Compress doc files. Install README and AUTHORS at last as document.

23 years agoAdd --clean for building rpm in target redhat-dist.
steudten [Tue, 6 Nov 2001 12:07:30 +0000 (12:07 +0000)]
Add --clean for building rpm in target redhat-dist.

23 years agoStartup syntax change.
hal9 [Mon, 5 Nov 2001 23:59:17 +0000 (23:59 +0000)]
Startup syntax change.

23 years agoMinor update for startup now daemon mode.
hal9 [Mon, 5 Nov 2001 23:57:51 +0000 (23:57 +0000)]
Minor update for startup now daemon mode.

23 years agoAdd time+date to log files.
steudten [Mon, 5 Nov 2001 23:43:05 +0000 (23:43 +0000)]
Add time+date to log files.

23 years agoSome changes..
steudten [Mon, 5 Nov 2001 21:54:48 +0000 (21:54 +0000)]
Some changes..

23 years agoAdd global var 'basedir' for unix os.
steudten [Mon, 5 Nov 2001 21:43:48 +0000 (21:43 +0000)]
Add global var 'basedir' for unix os.

23 years agoInclude DBG() macro.
steudten [Mon, 5 Nov 2001 21:42:41 +0000 (21:42 +0000)]
Include DBG() macro.

23 years agoAdd changes to be a real daemon just for unix os.
steudten [Mon, 5 Nov 2001 21:41:43 +0000 (21:41 +0000)]
Add changes to be a real daemon just for unix os.
(change cwd to /, detach from controlling tty, set
process group and session leader to the own process.
Add DBG() Macro.
Add some fatal-error log message for failed malloc().
Add '-d' if compiled with 'configure --with-debug' to
enable debug output.

23 years agoFix to include the actual version for name.
steudten [Mon, 5 Nov 2001 21:37:34 +0000 (21:37 +0000)]
Fix to include the actual version for name.
Let the 'real' packager be included - sorry stefan.

23 years agoComplete rewrite for the 'redhat-dist' target.
steudten [Mon, 5 Nov 2001 21:35:23 +0000 (21:35 +0000)]
Complete rewrite for the 'redhat-dist' target.
Checks for writeable RPM build directories for calling user.
So you must not be root, just set the modes to 1777 to
build a RH package.
Fix the upload-target to be arch independant.
Add target for 'solaris-dist' - coming soon.

23 years agoChange switch mode from weekly to size 1M
steudten [Mon, 5 Nov 2001 21:31:51 +0000 (21:31 +0000)]
Change switch mode from weekly to size 1M

23 years agoEnable jarfile by default.
steudten [Mon, 5 Nov 2001 21:31:09 +0000 (21:31 +0000)]
Enable jarfile by default.

23 years agoMake JB startup without & due to be a 'real' daemon right now.
steudten [Mon, 5 Nov 2001 21:30:23 +0000 (21:30 +0000)]
Make JB startup without & due to be a 'real' daemon right now.
Make the script easy to change.

23 years agoShow enablement/disablement status in almost all templates.
David Schmidt [Thu, 1 Nov 2001 14:28:47 +0000 (14:28 +0000)]
Show enablement/disablement status in almost all templates.
There is a little trickiness here: apparent recursive resolution of
@if-enabled-then@ caused the toggle template to show status out-of-phase with
the actual enablement status.  So a similar construct,
@if-enabled-display-then@, is used to resolve the status display on non-'toggle'
templates.

23 years agoShow enablement/disablement status in almost all templates.
David Schmidt [Thu, 1 Nov 2001 14:18:57 +0000 (14:18 +0000)]
Show enablement/disablement status in almost all templates.
There is a little trickiness here: apparent recursive resolution of
@if-enabled-then@ caused the toggle template to show status out-of-phase with
the actual enablement status.  So a similar construct,
@if-enabled-display-then@, is used to resolve the status display on non-'toggle'
templates.

23 years agoRedhat-upload stuff per Stefan.
hal9 [Thu, 1 Nov 2001 00:52:04 +0000 (00:52 +0000)]
Redhat-upload stuff per Stefan.

23 years agoCorrect 2 minor errors
hal9 [Wed, 31 Oct 2001 21:11:03 +0000 (21:11 +0000)]
Correct 2 minor errors

23 years agoconsistent description. new name for suse since
swa [Wed, 31 Oct 2001 19:27:27 +0000 (19:27 +0000)]
consistent description. new name for suse since
we had troubles with rpms of identical names
on the webserver.

23 years agoautomate process of uploading new releases
swa [Wed, 31 Oct 2001 19:26:13 +0000 (19:26 +0000)]
automate process of uploading new releases
to sf.

23 years agodocumentation added: howto generate docs in text and html
swa [Wed, 31 Oct 2001 18:16:52 +0000 (18:16 +0000)]
documentation added: howto generate docs in text and html
format, howto move stuff to the webserver.

23 years agoOS/2 native needed a snprintf() routine. Added one to miscutil, brackedted
David Schmidt [Mon, 29 Oct 2001 03:48:10 +0000 (03:48 +0000)]
OS/2 native needed a snprintf() routine.  Added one to miscutil, brackedted
by and __OS2__ ifdef.

23 years agoAdding ijb_toupper()
jongfoster [Sun, 28 Oct 2001 19:12:06 +0000 (19:12 +0000)]
Adding ijb_toupper()

23 years agoctype.h is needed in Windows, too.
jongfoster [Fri, 26 Oct 2001 20:13:09 +0000 (20:13 +0000)]
ctype.h is needed in Windows, too.

23 years agoFixing type mismatch
jongfoster [Fri, 26 Oct 2001 20:11:20 +0000 (20:11 +0000)]
Fixing type mismatch

23 years agoupdated files from SGML code.
swa [Fri, 26 Oct 2001 18:38:49 +0000 (18:38 +0000)]
updated files from SGML code.

23 years agogive consistent intro. look pretty (ier) ;-).
swa [Fri, 26 Oct 2001 18:37:14 +0000 (18:37 +0000)]
give consistent intro. look pretty (ier) ;-).

23 years agogive consistent intro.
swa [Fri, 26 Oct 2001 18:36:52 +0000 (18:36 +0000)]
give consistent intro.

23 years agonew version string
swa [Fri, 26 Oct 2001 18:17:23 +0000 (18:17 +0000)]
new version string

23 years agoMoved ijb_isspace and ijb_tolower to project.h
oes [Fri, 26 Oct 2001 17:40:47 +0000 (17:40 +0000)]
Moved ijb_isspace and ijb_tolower to project.h
Removed http->user_agent, csp->referrer and csp->accept_types

23 years agoIntroduced get_header_value()
oes [Fri, 26 Oct 2001 17:40:23 +0000 (17:40 +0000)]
Introduced get_header_value()
Removed client_accept()

23 years agoIntroduced get_header_value()
oes [Fri, 26 Oct 2001 17:40:04 +0000 (17:40 +0000)]
Introduced get_header_value()
Removed http->user_agent, csp->referrer and csp->accept_types
Removed client_accept()

23 years agoMoved ijb_isspace and ijb_tolower to project.h
oes [Fri, 26 Oct 2001 17:39:38 +0000 (17:39 +0000)]
Moved ijb_isspace and ijb_tolower to project.h

23 years agoRemoved csp->referrer
oes [Fri, 26 Oct 2001 17:39:01 +0000 (17:39 +0000)]
Removed csp->referrer
Moved ijb_isspace and ijb_tolower to project.h

23 years agoCosmetics
oes [Fri, 26 Oct 2001 17:38:28 +0000 (17:38 +0000)]
Cosmetics

23 years ago- Re-enabled Netscape 200/404 bug workaround in block_url():
oes [Fri, 26 Oct 2001 17:37:55 +0000 (17:37 +0000)]
- Re-enabled Netscape 200/404 bug workaround in block_url():
  - Removed OS/2 special case
  - Made block_url() independant from sed() having been run
- Made trust_url independant from sed() having been run
- Made is_imageurl independant from sed() having been run.
  It now checks User-Agent: and Accept: by itself.

23 years agomarginal bugfix
oes [Fri, 26 Oct 2001 17:33:27 +0000 (17:33 +0000)]
marginal bugfix

23 years agoRe-enabling the default strings for admin-adress and proxy-info-url
oes [Fri, 26 Oct 2001 11:12:15 +0000 (11:12 +0000)]
Re-enabling the default strings for admin-adress and proxy-info-url

23 years ago- Now works with Netscape 6
jongfoster [Thu, 25 Oct 2001 21:35:45 +0000 (21:35 +0000)]
- Now works with Netscape 6
- Still doesn't work properly in Opera 5.12 or Netscape 4.75
  (It's usable but you don't get the pretty effects)
- Contains ugly browser-detection code that needs tidying if possible

23 years agoAdding a (void*) cast to freez() because Visual Age C++ won't expand the
David Schmidt [Thu, 25 Oct 2001 03:45:02 +0000 (03:45 +0000)]
Adding a (void*) cast to freez() because Visual Age C++ won't expand the
macro when called with a cast; so moving the cast to the macro def'n
seems to both eliminate compiler warnings (on darwin and OS/2, anyway) and
doesn't make macro expansion complain.  Hope this works for everyone else
too...

23 years agoChange in porting tactics: OS/2's EMX porting layer doesn't allow multiple
David Schmidt [Thu, 25 Oct 2001 03:40:48 +0000 (03:40 +0000)]
Change in porting tactics: OS/2's EMX porting layer doesn't allow multiple
threads to call select() simultaneously.  So, it's time to do a real, live,
native OS/2 port.  See defines for __EMX__ (the porting layer) vs. __OS2__
(native). Both versions will work, but using __OS2__ offers multi-threading.

23 years ago*** empty log message ***
hal9 [Wed, 24 Oct 2001 23:58:48 +0000 (23:58 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
hal9 [Wed, 24 Oct 2001 19:27:36 +0000 (19:27 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
hal9 [Wed, 24 Oct 2001 18:47:54 +0000 (18:47 +0000)]
*** empty log message ***

23 years agonit.
hal9 [Wed, 24 Oct 2001 18:40:12 +0000 (18:40 +0000)]
nit.

23 years agonada
hal9 [Wed, 24 Oct 2001 17:43:51 +0000 (17:43 +0000)]
nada

23 years agoFix date only.
hal9 [Wed, 24 Oct 2001 17:13:08 +0000 (17:13 +0000)]
Fix date only.

23 years agoCatching up with Jon's recent work, and a few other things.
hal9 [Wed, 24 Oct 2001 17:10:55 +0000 (17:10 +0000)]
Catching up with Jon's recent work, and a few other things.

23 years agoIncorporate recent changes from Jon's new stuff.
hal9 [Wed, 24 Oct 2001 17:10:08 +0000 (17:10 +0000)]
Incorporate recent changes from Jon's new stuff.

23 years agoMinor update.
hal9 [Wed, 24 Oct 2001 16:46:50 +0000 (16:46 +0000)]
Minor update.

23 years agoTo keep Thomas happy (aka correcting my mistakes)
hal9 [Wed, 24 Oct 2001 15:45:49 +0000 (15:45 +0000)]
To keep Thomas happy (aka correcting my  mistakes)

23 years agoCleaning up error handling in CGI functions - they now send back
jongfoster [Tue, 23 Oct 2001 21:48:19 +0000 (21:48 +0000)]
Cleaning up error handling in CGI functions - they now send back
a HTML error page and should never cause a FATAL error.  (Fixes one
potential source of "denial of service" attacks).

CGI actions file editor that works and is actually useful.

Ability to toggle JunkBuster remotely using a CGI call.

You can turn off both the above features in the main configuration
file, e.g. if you are running a multi-user proxy.

23 years agoAdded enable-edit-actions and enable-remote-toggle
jongfoster [Tue, 23 Oct 2001 21:42:41 +0000 (21:42 +0000)]
Added enable-edit-actions and enable-remote-toggle

23 years agoAdded call to initialize the (statically-allocated of course)
jongfoster [Tue, 23 Oct 2001 21:41:35 +0000 (21:41 +0000)]
Added call to initialize the (statically-allocated of course)
"out of memory" CGI response.

23 years agoAdded support for enable-edit-actions and enable-remote-toggle config
jongfoster [Tue, 23 Oct 2001 21:40:30 +0000 (21:40 +0000)]
Added support for enable-edit-actions and enable-remote-toggle config
file options.

23 years agoAdding error-checking to create_url_spec()
jongfoster [Tue, 23 Oct 2001 21:38:53 +0000 (21:38 +0000)]
Adding error-checking to create_url_spec()

23 years agoDocumenting sed()'s error behaviou (doc change only)
jongfoster [Tue, 23 Oct 2001 21:36:02 +0000 (21:36 +0000)]
Documenting sed()'s error behaviou (doc change only)

23 years agoAdding error-checking to selected functions
jongfoster [Tue, 23 Oct 2001 21:32:33 +0000 (21:32 +0000)]
Adding error-checking to selected functions

23 years agoAdding error-checking to selected functions.
jongfoster [Tue, 23 Oct 2001 21:30:30 +0000 (21:30 +0000)]
Adding error-checking to selected functions.

23 years agoStandardising error codes in string_append
jongfoster [Tue, 23 Oct 2001 21:27:50 +0000 (21:27 +0000)]
Standardising error codes in string_append
make_path() no longer adds '\\' if the dir already ends in '\\' (this
is just copying a UNIX-specific fix to the Windows-specific part)

23 years agoSupport for FEATURE_CGI_EDIT_ACTIONS
jongfoster [Tue, 23 Oct 2001 21:24:10 +0000 (21:24 +0000)]
Support for FEATURE_CGI_EDIT_ACTIONS

23 years agoNew error handling - error codes are now jb_errs, not ints.
jongfoster [Tue, 23 Oct 2001 21:21:03 +0000 (21:21 +0000)]
New error handling - error codes are now jb_errs, not ints.
Changed the way map() handles out-of-memory, to dramatically
reduce the amount of error-checking clutter needed.

23 years agoNew error-handling support: jb_err type and JB_ERR_xxx constants
jongfoster [Tue, 23 Oct 2001 21:19:04 +0000 (21:19 +0000)]
New error-handling support: jb_err type and JB_ERR_xxx constants
CGI functions now return a jb_err, and their parameters map is const.
Support for RUNTIME_FEATUREs to enable/disable config editor
Adding a few comments

23 years agoSpecial-cased OS/2 out of the Netscape-abort-on-404-in-js problem in
David Schmidt [Mon, 22 Oct 2001 15:33:56 +0000 (15:33 +0000)]
Special-cased OS/2 out of the Netscape-abort-on-404-in-js problem in
filters.c.  Added a FIXME in front of the offending code.  I'll gladly
put in a better/more robust fix for all parties if one is presented...
It seems that just returning 200 instead of 404 would pretty much fix
it for everyone, but I don't know all the history of the problem.

23 years agoDisable single-threaded back.
steudten [Sun, 21 Oct 2001 20:25:20 +0000 (20:25 +0000)]
Disable single-threaded back.
filtering by reexp is default on in actionsfile.

23 years agoUpdate from configure.in
steudten [Sun, 21 Oct 2001 19:48:31 +0000 (19:48 +0000)]
Update from configure.in

23 years agowrong url in documentation
swa [Sun, 21 Oct 2001 17:19:22 +0000 (17:19 +0000)]
wrong url in documentation

23 years agonew version.
swa [Sun, 21 Oct 2001 17:08:17 +0000 (17:08 +0000)]
new version.

23 years agoalso provide developer and faq docs.
swa [Sun, 21 Oct 2001 17:07:21 +0000 (17:07 +0000)]
also provide developer and faq docs.

23 years agoComment out the bogus local doc URL by default, now that we're only
David Schmidt [Fri, 19 Oct 2001 00:20:03 +0000 (00:20 +0000)]
Comment out the bogus local doc URL by default, now that we're only
showing it if it's filled in

23 years agoConditional administrator e-mail address... some templates need colspan=2
David Schmidt [Fri, 19 Oct 2001 00:01:33 +0000 (00:01 +0000)]
Conditional administrator e-mail address... some templates need colspan=2

23 years agoOnly show "Local support" on templates conditionally:
David Schmidt [Thu, 18 Oct 2001 22:22:09 +0000 (22:22 +0000)]
Only show "Local support" on templates conditionally:
  - if either 'admin-address' or 'proxy-info-url' are uncommented in config
  - if not, no Local support section appears are removed automatically

23 years agoOnly show "Local support" on templates conditionally:
David Schmidt [Thu, 18 Oct 2001 22:17:43 +0000 (22:17 +0000)]
Only show "Local support" on templates conditionally:
  - if either 'admin-address' or 'proxy-info-url' are uncommented in config
  - if not, no Local support section appears

23 years agomini nit
hal9 [Tue, 16 Oct 2001 01:31:53 +0000 (01:31 +0000)]
mini nit

23 years agoAdding testers. They're important too!
jongfoster [Mon, 15 Oct 2001 23:01:36 +0000 (23:01 +0000)]
Adding testers.  They're important too!
Currently, the list of tester's names has been taken from the
mailing list as far back as the end of June, around when we
moved over from Yahoo! Groups to a SourceForge mailing list.
I've also added those people who've submitted bugs to SourceForge
and who logged in to their SourceForge accounts first.

23 years agoRemoved -O2 and -Wall from AmigaOS-only CFLAGS since they are now in
joergs [Mon, 15 Oct 2001 22:14:59 +0000 (22:14 +0000)]
Removed -O2 and -Wall from AmigaOS-only CFLAGS since they are now in
 the general CFLAGS already.

23 years agoAdded some entries from my local actionsfile.
joergs [Mon, 15 Oct 2001 22:06:16 +0000 (22:06 +0000)]
Added some entries from my local actionsfile.

23 years agoReformatted
hal9 [Mon, 15 Oct 2001 18:52:19 +0000 (18:52 +0000)]
Reformatted

23 years agoremove config.cache for target clobber.
steudten [Mon, 15 Oct 2001 18:28:06 +0000 (18:28 +0000)]
remove config.cache for target clobber.
Cleanup make dist for RH and S.u.S.E.

23 years agoNit
hal9 [Mon, 15 Oct 2001 15:03:05 +0000 (15:03 +0000)]
Nit

23 years agoNit.
hal9 [Mon, 15 Oct 2001 14:44:08 +0000 (14:44 +0000)]
Nit.

23 years agoAdding finished docs to CVS
hal9 [Mon, 15 Oct 2001 14:42:12 +0000 (14:42 +0000)]
Adding finished docs to CVS

23 years agoMinor updates.
hal9 [Mon, 15 Oct 2001 14:25:56 +0000 (14:25 +0000)]
Minor updates.

23 years agoMinor additions, esp. BSD/gmake.
hal9 [Mon, 15 Oct 2001 05:37:32 +0000 (05:37 +0000)]
Minor additions, esp. BSD/gmake.

23 years agoNits.
hal9 [Mon, 15 Oct 2001 03:23:59 +0000 (03:23 +0000)]
Nits.

23 years agoVarious minor changes. Fleshed out SEE ALSO section.
hal9 [Sun, 14 Oct 2001 23:46:24 +0000 (23:46 +0000)]
Various minor changes. Fleshed out SEE ALSO section.

23 years agoRewrite
hal9 [Sun, 14 Oct 2001 23:43:42 +0000 (23:43 +0000)]
Rewrite

23 years agoAdded back in man page
hal9 [Sun, 14 Oct 2001 23:42:18 +0000 (23:42 +0000)]
Added back in man page

23 years agoNew file per Andreas's request...
hal9 [Sun, 14 Oct 2001 23:39:06 +0000 (23:39 +0000)]
New file per Andreas's request...

23 years agoAdding nytimes.com with -no-cookies -fast-redirect
jongfoster [Sun, 14 Oct 2001 23:18:19 +0000 (23:18 +0000)]
Adding nytimes.com with -no-cookies -fast-redirect
Rearranging slightly - should not change results.

23 years agoFixing stupid typo.
jongfoster [Sun, 14 Oct 2001 22:28:41 +0000 (22:28 +0000)]
Fixing stupid typo.

23 years ago- Changes to CGI dispatching method to match CGI names exactly,
jongfoster [Sun, 14 Oct 2001 22:20:18 +0000 (22:20 +0000)]
- Changes to CGI dispatching method to match CGI names exactly,
  rather than doing a prefix match.
- No longer need to count the length of the CGI handler names by hand.
- Adding new handler for 404 error when disptching a CGI, if none of
  the handlers match.
- Adding new handlers for CGI actionsfile editor.

23 years agoRemoving name_length field from struct cgi_dispatcher, as this is
jongfoster [Sun, 14 Oct 2001 22:14:01 +0000 (22:14 +0000)]
Removing name_length field from struct cgi_dispatcher, as this is
now calculated at runtime from the "name" field.

23 years agoNew version of CGI-based actionsfile editor.
jongfoster [Sun, 14 Oct 2001 22:12:49 +0000 (22:12 +0000)]
New version of CGI-based actionsfile editor.
Major changes, including:
- Completely new file parser and file output routines
- edit-actions CGI renamed edit-actions-for-url
- All CGIs now need a filename parameter, except for...
- New CGI edit-actions which doesn't need a filename,
  to allow you to start the editor up.
- edit-actions-submit now works, and now automatically
  redirects you back to the main edit-actions-list handler.

23 years agoNew function string_append() which is like strsav(), but running
jongfoster [Sun, 14 Oct 2001 22:02:57 +0000 (22:02 +0000)]
New function string_append() which is like strsav(), but running
out of memory isn't automatically FATAL.

23 years agoAdding support for a 404 error when an invalid CGI page is requested.
jongfoster [Sun, 14 Oct 2001 22:00:32 +0000 (22:00 +0000)]
Adding support for a 404 error when an invalid CGI page is requested.

23 years agoAdding support for the CGI-based editor:
jongfoster [Sun, 14 Oct 2001 21:58:22 +0000 (21:58 +0000)]
Adding support for the CGI-based editor:
- Exported get_actions()
- Added new function free_alias_list()
- Added support for {{settings}} and {{description}} blocks
  in the actions file.  They are currently ignored.
- Added restriction to only one {{alias}} block which must appear
  first in the file, to simplify the editor's rewriting rules.
- Note that load_actions_file() is no longer used by the CGI-based
  editor, but some of the other routines in this file are.

23 years agoFixed WebBug filter.
joergs [Sat, 13 Oct 2001 13:11:20 +0000 (13:11 +0000)]
Fixed WebBug filter.

23 years agoRemoved client_host, (was only required for the old 2.0.2-11 http://noijb.
joergs [Sat, 13 Oct 2001 12:51:51 +0000 (12:51 +0000)]
Removed client_host, (was only required for the old 2.0.2-11 noijb.
force-load), instead crumble Host: and add it (again) in client_host_adder
(in case we get a HTTP/1.0 request without Host: header and forward it to
a HTTP/1.1 server/proxy).

23 years agoRemoved client_host, added client_host_adder
joergs [Sat, 13 Oct 2001 12:47:32 +0000 (12:47 +0000)]
Removed client_host, added client_host_adder