privoxy.git
22 years agoMoved HAVE_*_R to acconfig.h, where they belong.
oes [Thu, 10 Jan 2002 12:36:18 +0000 (12:36 +0000)]
Moved HAVE_*_R to acconfig.h, where they belong.

22 years agoAdded cross-compile defaults to the AC_CHECK_SIZEOF macros
oes [Thu, 10 Jan 2002 12:35:18 +0000 (12:35 +0000)]
Added cross-compile defaults to the AC_CHECK_SIZEOF macros
to silence autoconf warnings. Numbers are for Intel/Linux.
Is there a better way?

22 years agoUpdated. I hope I'm not missing anything serious.
hal9 [Thu, 10 Jan 2002 03:13:45 +0000 (03:13 +0000)]
Updated. I hope I'm not missing anything serious.

22 years agoFix bug re: auto-detect config file changes.
hal9 [Wed, 9 Jan 2002 20:02:50 +0000 (20:02 +0000)]
Fix bug re: auto-detect config file changes.

22 years agoFix big memory leak.
steudten [Wed, 9 Jan 2002 19:05:45 +0000 (19:05 +0000)]
Fix big memory leak.

22 years agoMinor touchups.
hal9 [Wed, 9 Jan 2002 18:52:52 +0000 (18:52 +0000)]
Minor touchups.

22 years agoMinor update
hal9 [Wed, 9 Jan 2002 18:42:32 +0000 (18:42 +0000)]
Minor update

22 years agonit.
hal9 [Wed, 9 Jan 2002 18:34:03 +0000 (18:34 +0000)]
nit.

22 years agoRemoved RPM_OPT_FLAGS kludge.
hal9 [Wed, 9 Jan 2002 18:32:02 +0000 (18:32 +0000)]
Removed RPM_OPT_FLAGS kludge.

22 years agoA few minor updates.
hal9 [Wed, 9 Jan 2002 18:21:10 +0000 (18:21 +0000)]
A few minor updates.

22 years agoTouch ups for *.action files.
hal9 [Wed, 9 Jan 2002 18:20:30 +0000 (18:20 +0000)]
Touch ups for *.action files.

22 years agoAdded HOSTENT_BUFFER_SIZE
oes [Wed, 9 Jan 2002 14:33:27 +0000 (14:33 +0000)]
Added HOSTENT_BUFFER_SIZE

22 years agoAdded support for localtime_r.
oes [Wed, 9 Jan 2002 14:33:03 +0000 (14:33 +0000)]
Added support for localtime_r.

22 years agoAdded support for gethostbyname_r and gethostbyaddr_r.
oes [Wed, 9 Jan 2002 14:32:33 +0000 (14:32 +0000)]
Added support for gethostbyname_r and gethostbyaddr_r.

22 years agoAdded support for gmtime_r and localtime_r.
oes [Wed, 9 Jan 2002 14:32:08 +0000 (14:32 +0000)]
Added support for gmtime_r and localtime_r.

22 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

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

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

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

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

22 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

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

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

22 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

22 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

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

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

22 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

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

22 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

22 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

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

22 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?

22 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

22 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'.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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