privoxy.git
20 years ago- Added AC_CHECK_FUNC tests for the availability of
oes [Wed, 9 Jan 2002 14:29:49 +0000 (14:29 +0000)]
- Added AC_CHECK_FUNC tests for the availability of
  gethostbyname_r, gethostbyaddr_r, gmtime_r and
  localtime_r, as well as AC_TRY_COMPILE tests to
  determine their signatures.

- Fixed a bug with the init of CFLAGS that was
  reported by barsnick

20 years agoUpdated from configure.in
oes [Wed, 9 Jan 2002 14:28:59 +0000 (14:28 +0000)]
Updated from configure.in

20 years agoAdded #defines for use and selection of the right
oes [Wed, 9 Jan 2002 14:27:25 +0000 (14:27 +0000)]
Added #defines for use and selection of the right
signature of the thread-safe *_r calls.

20 years agoAdded support for thread-safe gmtime_r call.
oes [Wed, 9 Jan 2002 14:26:46 +0000 (14:26 +0000)]
Added support for thread-safe gmtime_r call.

20 years agoUpdated from configure.in
oes [Fri, 4 Jan 2002 15:59:38 +0000 (15:59 +0000)]
Updated from configure.in

20 years agoChanged quoting of CODE_STATUS for use in make
oes [Fri, 4 Jan 2002 15:27:18 +0000 (15:27 +0000)]
Changed quoting of CODE_STATUS for use in make

20 years agoAdded tarball-src target
oes [Fri, 4 Jan 2002 15:26:08 +0000 (15:26 +0000)]
Added tarball-src target

20 years ago- Add signal handling (unix)
steudten [Sun, 30 Dec 2001 14:07:32 +0000 (14:07 +0000)]
- Add signal handling (unix)
- Add SIGHUP handler (unix)
- Add creation of pidfile (unix)
- Add action 'top' in rc file (RH)
- Add entry 'SIGNALS' to manpage
- Add exit message to logfile (unix)

20 years agoFix for feature Req #495374: http-equiv problem
steudten [Fri, 28 Dec 2001 23:54:20 +0000 (23:54 +0000)]
Fix for feature Req #495374: http-equiv problem

20 years agoAdd paranoia check and BuildReq: gzip
steudten [Fri, 28 Dec 2001 01:45:36 +0000 (01:45 +0000)]
Add paranoia check and BuildReq: gzip

20 years agoRemove 'user:pass@' from 'proto://user:pass@host' for the
steudten [Fri, 14 Dec 2001 01:22:54 +0000 (01:22 +0000)]
Remove 'user:pass@' from 'proto://user:pass@host' for the
new added header 'Host: ..'. (See Req ID 491818)

20 years agoAdd 'restart' of junkbuster service after rotate logfiles.
steudten [Thu, 13 Dec 2001 23:19:43 +0000 (23:19 +0000)]
Add 'restart' of junkbuster service after rotate logfiles.
Better we could use the well known 'kill -HUP', but the handler
isn't there at this time.

20 years agoFixed Bug: 503 error page now sent OK
oes [Thu, 13 Dec 2001 14:07:18 +0000 (14:07 +0000)]
Fixed Bug: 503 error page now sent OK

21 years agofirst attempt. plz verify and test.
swa [Tue, 11 Dec 2001 22:07:26 +0000 (22:07 +0000)]
first attempt. plz verify and test.

21 years agoChange from "alpha" to "beta" in configure.in
David Schmidt [Sun, 9 Dec 2001 20:24:42 +0000 (20:24 +0000)]
Change from "alpha" to "beta" in configure.in

21 years agoUpdated CODE_STATUS to beta, commented out microsuck line in re_filterfile
David Schmidt [Sun, 9 Dec 2001 18:55:11 +0000 (18:55 +0000)]
Updated CODE_STATUS to beta, commented out microsuck line in re_filterfile
for 2.9.10 beta

21 years agoA contribution/recomendation to the IJBSWA group for a generic doubly
iwanttokeepanon [Fri, 7 Dec 2001 01:54:50 +0000 (01:54 +0000)]
A contribution/recomendation to the IJBSWA group for a generic doubly
linked list.  This file is a home brew "bash tar" (I cannot create a
contrib directory and I cannot upload a tarball ... it gets
corrupted).  This script will expand all files needed to create the
linked list modules and an example program.  Please see the README.
Feed back is welcomed.  Enjoy.

21 years agoCVS corrupted the tar archive, rendering it useless.
iwanttokeepanon [Tue, 4 Dec 2001 01:45:35 +0000 (01:45 +0000)]
CVS corrupted the tar archive, rendering it useless.

How the @!#%$#!@# do I add my linked list contrib?

21 years agoThis list supports:
iwanttokeepanon [Tue, 4 Dec 2001 01:24:58 +0000 (01:24 +0000)]
This list supports:
copy construction,
"virtual" destruction,
streaming,
comparison (equal comparison currently supported).

With the "object oriented" nature of the list, nodes, and records; it is
easily concievable that sorted lists and hash tables could be implemented
with little extra effort.

Philosophical point:

I am sure there is room for improvement with this design.  I am
submitting this as a generic doubly linked list recomendation for IJB.
Whatever the "collective" decides is fine with me.

This implementation uses the "naming space" of gen_list, derived_rec,
construct, copy construct, stream, destruct, etc...  These are open to
argument.  I just used what was familiar to me and others in the "OO"
community.  If these need changed to be adopted ... "so be it".

Implementation point:

I assume this is too late for a "3.0" release.  As I work for an
airline, the whole past summer has been hectic (not to mention the
last 4 months); but things have begun to settle down and I am
following the IJB lists a bit more closely.  And I would like to say
"HOLY CRAP!" .. you guys have accompolished a lot!  Way to go.

But, the adoption of a better linked list package should at least be
high on the next release list (if not the current one).  If you choose
this submission or not, so be it.  But as a "data structure" man, I
think IJB's linked lists need addressing.

List/Enlist note:

I have noticed the list.c file.  If this generic list is adopted, I
think all existing functionallity could be duplicated with the
"copy_contruct", "equal", and "destruct" `virtuals'.  This would also
eliminate and/or enhance the other manually maintained lists in IJB.

Debug note:

Since the generic list defined a "stream" virtual, it could be programmed
that the list could print itself whenever a FATAL error occurs.  A user (or
programmer) could read the list and hopefully determine the cause of the
abend.

Potential note:

Think of the possibilites of a linked list, sorted list, and/or a hash
list.  Think of a request to a web site that has been referenced
before.  If a hash list keep track of all block requests and regexp
change commands, then a site could be blocked and/or modified without
ever consulting the actions lists again.  What a speed up!

What if some of the current lists were kept in sorted lists?  Then a
search for a particular record could be a binary search instead of a
linear search.

The actions file(s) and regexp files(s) could be inserted into the
list from front to back order (or visa versa) and the processing would
take place in actual file order (which is more natural); rather than
in reverse order (as it is today).

Thank you for you time and attention to this contribution.  If it is
"blessed" by the group, I am available to give time to integrating
this into IJB.

Let me know what y'all think about this package.

--
Rodney

21 years agoAdded new actions files. Changed to 'beta'.
hal9 [Sun, 2 Dec 2001 18:34:30 +0000 (18:34 +0000)]
Added new actions files. Changed to 'beta'.

21 years agoI could not commit .action files.
swa [Sun, 2 Dec 2001 15:28:11 +0000 (15:28 +0000)]
I could not commit .action files.

21 years agoTemplate for the action file in three
swa [Sun, 2 Dec 2001 15:26:49 +0000 (15:26 +0000)]
Template for the action file in three
different ways: basic (with simple,
widely used actions), intermediate
(with more agressive actions) and
advanced (with most agressive actions
that demonstrate what JB is capable
of).

21 years ago2.9.10
swa [Sun, 2 Dec 2001 15:17:22 +0000 (15:17 +0000)]
2.9.10

21 years agotypo
swa [Sun, 2 Dec 2001 15:16:53 +0000 (15:16 +0000)]
typo

21 years agoNew version made these changes necessary.
swa [Sun, 2 Dec 2001 10:29:26 +0000 (10:29 +0000)]
New version made these changes necessary.

21 years agoFix typo.
hal9 [Sun, 2 Dec 2001 01:14:16 +0000 (01:14 +0000)]
Fix typo.

21 years agoFix typo
hal9 [Sun, 2 Dec 2001 01:03:12 +0000 (01:03 +0000)]
Fix typo

21 years agoUpdates for recent changes.
hal9 [Sun, 2 Dec 2001 00:20:41 +0000 (00:20 +0000)]
Updates for recent changes.

21 years agofix stupid typo.
hal9 [Sun, 2 Dec 2001 00:19:56 +0000 (00:19 +0000)]
fix stupid typo.

21 years agoUpdate for recent changes.
hal9 [Sun, 2 Dec 2001 00:16:20 +0000 (00:16 +0000)]
Update for recent changes.

21 years agoChanged cookie example for Jon's new stuff.
hal9 [Sun, 2 Dec 2001 00:15:54 +0000 (00:15 +0000)]
Changed cookie example for Jon's new stuff.

21 years agonit
hal9 [Sat, 1 Dec 2001 23:44:33 +0000 (23:44 +0000)]
nit

21 years agoFirst committal
hal9 [Sat, 1 Dec 2001 22:51:33 +0000 (22:51 +0000)]
First committal

21 years agoijb.action updates.
hal9 [Sat, 1 Dec 2001 21:52:34 +0000 (21:52 +0000)]
ijb.action updates.

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

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

21 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

21 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

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

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

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

21 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"

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

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

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

21 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

21 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

21 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

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

21 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

21 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

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

21 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

21 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

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

21 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

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

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

21 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().

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

21 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

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

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

21 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

21 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

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

21 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

21 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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