privoxy.git
22 years agoactionsfile -> ijb.action
hal9 [Sat, 1 Dec 2001 21:48:39 +0000 (21:48 +0000)]
actionsfile -> ijb.action

22 years agoAllowed for new ijb.action file.
hal9 [Sat, 1 Dec 2001 21:43:14 +0000 (21:43 +0000)]
Allowed for new ijb.action file.

22 years agoRegenerating from latest configure.in v_2_9_10
jongfoster [Sat, 1 Dec 2001 11:26:40 +0000 (11:26 +0000)]
Regenerating from latest configure.in

22 years agoWill display a warning if non-GNU make is used
jongfoster [Sat, 1 Dec 2001 11:24:29 +0000 (11:24 +0000)]
Will display a warning if non-GNU make is used

22 years agoRenaming Makefile.in to GNUmakefile.in so that non-GNU versions of
jongfoster [Sat, 1 Dec 2001 11:24:01 +0000 (11:24 +0000)]
Renaming Makefile.in to GNUmakefile.in so that non-GNU versions of
make break in a more obvious way.

22 years agoRenaming Makefile.in to GNUmakefile.in so that non-GNU versions of
jongfoster [Sat, 1 Dec 2001 11:22:57 +0000 (11:22 +0000)]
Renaming Makefile.in to GNUmakefile.in so that non-GNU versions of
make break in a more obvious way.
Adding .PHONY section.

22 years agoRenaming various config files
jongfoster [Sat, 1 Dec 2001 00:24:11 +0000 (00:24 +0000)]
Renaming various config files
Fixing CR->CRLF under Win32 (I hope)

22 years agoRenaming the Win32 config file to config.txt - this is almost the
jongfoster [Fri, 30 Nov 2001 23:37:24 +0000 (23:37 +0000)]
Renaming the Win32 config file to config.txt - this is almost the
same as the corresponding UNIX name "config"

22 years agoRenaming actionsfile to ijb.action
jongfoster [Fri, 30 Nov 2001 23:35:51 +0000 (23:35 +0000)]
Renaming actionsfile to ijb.action

22 years agoMaking +no-cookie-keep -no-cookies the default. Comments on this
jongfoster [Fri, 30 Nov 2001 23:34:08 +0000 (23:34 +0000)]
Making +no-cookie-keep -no-cookies the default.  Comments on this
approach would be appreciated.
Should have fixed most match-subdirectory patterns so they will also
match the root directory
Removed sites which needed -no-cookies, except for shops.

22 years agoRenaming actionsfile to ijb.action
jongfoster [Fri, 30 Nov 2001 23:14:17 +0000 (23:14 +0000)]
Renaming actionsfile to ijb.action

22 years agoNow reports on FEATURE_CGI_EDIT_ACTIONS
jongfoster [Fri, 30 Nov 2001 23:09:15 +0000 (23:09 +0000)]
Now reports on FEATURE_CGI_EDIT_ACTIONS
Removing FEATURE_DENY_GZIP from template

22 years agoBumping version number to 2.9.10
jongfoster [Fri, 30 Nov 2001 21:35:54 +0000 (21:35 +0000)]
Bumping version number to 2.9.10

22 years agoFixing signed/unsigned comparison (Andreas please check this!)
jongfoster [Fri, 30 Nov 2001 21:32:14 +0000 (21:32 +0000)]
Fixing signed/unsigned comparison (Andreas please check this!)
One tab->space

22 years agoFixing a warning
jongfoster [Fri, 30 Nov 2001 21:29:33 +0000 (21:29 +0000)]
Fixing a warning

22 years agoFixing two really stupid errors in my previous commit
jongfoster [Fri, 23 Nov 2001 00:26:38 +0000 (00:26 +0000)]
Fixing two really stupid errors in my previous commit

22 years agoAdding code to handle +no-cookies-keep
jongfoster [Thu, 22 Nov 2001 21:59:30 +0000 (21:59 +0000)]
Adding code to handle +no-cookies-keep

22 years agoAdding action +no-cookies-keep
jongfoster [Thu, 22 Nov 2001 21:58:41 +0000 (21:58 +0000)]
Adding action +no-cookies-keep

22 years agoMaking action_spec->flags into an unsigned long rather than just an
jongfoster [Thu, 22 Nov 2001 21:57:51 +0000 (21:57 +0000)]
Making action_spec->flags into an unsigned long rather than just an
unsigned int.
Adding ACTION_NO_COOKIE_KEEP

22 years agoMaking action_spec->flags into an unsigned long rather than just an
jongfoster [Thu, 22 Nov 2001 21:56:49 +0000 (21:56 +0000)]
Making action_spec->flags into an unsigned long rather than just an
unsigned int.
Fixing a bug in the display of -add-header and -wafer

22 years agoAdding Gabor Liptak, who reported a bug with the CygWin build.
jongfoster [Fri, 16 Nov 2001 00:58:47 +0000 (00:58 +0000)]
Adding Gabor Liptak, who reported a bug with the CygWin build.

22 years agoAdding VC build directories to ignore list
jongfoster [Fri, 16 Nov 2001 00:52:45 +0000 (00:52 +0000)]
Adding VC build directories to ignore list

22 years agoEnabling duplicate-socket detection for all platforms, not
jongfoster [Fri, 16 Nov 2001 00:48:48 +0000 (00:48 +0000)]
Enabling duplicate-socket detection for all platforms, not
just Win32.

22 years agoFixing a compiler warning
jongfoster [Fri, 16 Nov 2001 00:48:13 +0000 (00:48 +0000)]
Fixing a compiler warning

22 years agoChanging the tty-disconnection code to use setsid().
jongfoster [Fri, 16 Nov 2001 00:47:43 +0000 (00:47 +0000)]
Changing the tty-disconnection code to use setsid().

22 years agoFixing compiler warnings
jongfoster [Fri, 16 Nov 2001 00:46:31 +0000 (00:46 +0000)]
Fixing compiler warnings

22 years agoAdded support for the following actions:
jongfoster [Tue, 13 Nov 2001 21:12:17 +0000 (21:12 +0000)]
Added support for the following actions:
+downgrade, +limit-connect, +no-compression

22 years agoAcknowledging Al's FreeBSD patch
jongfoster [Tue, 13 Nov 2001 20:43:59 +0000 (20:43 +0000)]
Acknowledging Al's FreeBSD patch

22 years agoTabs->spaces, fixing a bug with missing {} around an if()
jongfoster [Tue, 13 Nov 2001 20:20:54 +0000 (20:20 +0000)]
Tabs->spaces, fixing a bug with missing {} around an if()

22 years agoPatch for FreeBSD setpgrp() as suggested by Alexander Lazic
jongfoster [Tue, 13 Nov 2001 20:14:53 +0000 (20:14 +0000)]
Patch for FreeBSD setpgrp() as suggested by Alexander Lazic

22 years agoNew version of actions file editor templates
jongfoster [Tue, 13 Nov 2001 00:58:18 +0000 (00:58 +0000)]
New version of actions file editor templates

22 years ago- Adding new CGIs for use by non-JavaScript browsers:
jongfoster [Tue, 13 Nov 2001 00:31:21 +0000 (00:31 +0000)]
- Adding new CGIs for use by non-JavaScript browsers:
    edit-actions-url-form
    edit-actions-add-url-form
    edit-actions-remove-url-form
- Fixing make_menu()'s HTML generation - it now quotes the href parameter.
- Fixing || bug.

22 years agoAdding new CGIs for use by non-JavaScript browsers:
jongfoster [Tue, 13 Nov 2001 00:28:51 +0000 (00:28 +0000)]
Adding new CGIs for use by non-JavaScript browsers:
  edit-actions-url-form
  edit-actions-add-url-form
  edit-actions-remove-url-form

22 years ago- Renaming parameters from edit-actions-for-url so that they only
jongfoster [Tue, 13 Nov 2001 00:28:24 +0000 (00:28 +0000)]
- Renaming parameters from edit-actions-for-url so that they only
  contain legal JavaScript characters.  If we wanted to write
  JavaScript that worked with Netscape 4, this is nessacery.
  (Note that at the moment the JavaScript doesn't actually work
  with Netscape 4, but now this is purely a template issue, not
  one affecting code).
- Adding new CGIs for use by non-JavaScript browsers:
    edit-actions-url-form
    edit-actions-add-url-form
    edit-actions-remove-url-form
- Fixing || bug.

22 years agoReplacing references to malloc.h with the standard stdlib.h
jongfoster [Tue, 13 Nov 2001 00:16:40 +0000 (00:16 +0000)]
Replacing references to malloc.h with the standard stdlib.h
(See ANSI or K&R 2nd Ed)

22 years agoFixing stupid bug now I've figured out what || means.
jongfoster [Tue, 13 Nov 2001 00:14:07 +0000 (00:14 +0000)]
Fixing stupid bug now I've figured out what || means.
(It always returns 0 or 1, not one of it's paramaters.)

23 years agoAdd line number in error output for lineparsing for
steudten [Wed, 7 Nov 2001 00:06:06 +0000 (00:06 +0000)]
Add line number in error output for lineparsing for
actionsfile.

23 years agoGive reliable return value if an error
steudten [Wed, 7 Nov 2001 00:03:14 +0000 (00:03 +0000)]
Give reliable return value if an error
occurs not just 0 with new daemon mode.

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

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