privoxy.git
20 years agoAdd line number in error output for lineparsing for
steudten [Wed, 7 Nov 2001 00:02:13 +0000 (00:02 +0000)]
Add line number in error output for lineparsing for
actionsfile and configfile.
Special handling for CLF added.

20 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.

20 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.

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

20 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.

20 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.

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

20 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.

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

20 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.

20 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.

20 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.

20 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

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

20 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.

20 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.

20 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.

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

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

20 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.

20 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.

20 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.

20 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.

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

20 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.

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

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

20 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) ;-).

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

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

20 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

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

20 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()

20 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

20 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

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

20 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.

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

20 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

20 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

20 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...

20 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.

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

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

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

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

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

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

20 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.

20 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.

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

20 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)

20 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.

20 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

20 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.

20 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.

20 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()

20 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)

20 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

20 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.

20 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)

20 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

20 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.

20 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

20 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.

20 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.

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

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

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

20 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.

20 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

20 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

20 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

20 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

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

20 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.

20 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.

20 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.

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

20 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.

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

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

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

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

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

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

20 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.

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

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

20 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...

20 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.

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

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

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

20 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).