jongfoster [Sat, 9 Jun 2001 10:58:57 +0000 (10:58 +0000)]
Removing a single unused #define which referenced BUFSIZ
jongfoster [Sat, 9 Jun 2001 10:57:39 +0000 (10:57 +0000)]
Adding definition of BUFFER_SIZE.
Changing struct cgi_dispatcher to use "const" strings.
jongfoster [Sat, 9 Jun 2001 10:55:28 +0000 (10:55 +0000)]
Changing BUFSIZ ==> BUFFER_SIZE
jongfoster [Sat, 9 Jun 2001 10:51:58 +0000 (10:51 +0000)]
Changing "show URL info" handler to new style.
Changing BUFSIZ ==> BUFFER_SIZE
jongfoster [Sat, 9 Jun 2001 10:50:58 +0000 (10:50 +0000)]
Changing "show URL info" handler to new style.
Adding "extern" to some function prototypes.
jongfoster [Sat, 9 Jun 2001 10:47:39 +0000 (10:47 +0000)]
Removing ACL and Forward entries
swa [Sat, 9 Jun 2001 09:14:11 +0000 (09:14 +0000)]
shamelessly adapted RPM stuff from the newest rpm that
RedHat provided for the JB.
swa [Sat, 9 Jun 2001 09:13:29 +0000 (09:13 +0000)]
description shorter
swa [Fri, 8 Jun 2001 20:54:18 +0000 (20:54 +0000)]
type with status file. remove forward et. al from file list.
swa [Fri, 8 Jun 2001 20:53:36 +0000 (20:53 +0000)]
use buildroot, export init to separate file (better manageability)
jongfoster [Fri, 8 Jun 2001 00:25:01 +0000 (00:25 +0000)]
Merging ACL and Forward files into main config file.
jongfoster [Thu, 7 Jun 2001 23:15:40 +0000 (23:15 +0000)]
Removing config->proxy_args_gateways
Missing return statement added to end_proxy_args().
jongfoster [Thu, 7 Jun 2001 23:15:09 +0000 (23:15 +0000)]
Merging ACL and forward files into config file.
Moving struct gateway members into struct forward_spec
Removing config->proxy_args_gateways
Cosmetic: Adding a few comments
jongfoster [Thu, 7 Jun 2001 23:14:38 +0000 (23:14 +0000)]
Removing ACL and forward file loaders - these files have
been merged into the config file.
jongfoster [Thu, 7 Jun 2001 23:14:14 +0000 (23:14 +0000)]
Removing ACL and forward file loaders - these
files have been merged into the config file.
Cosmetic: Moving unloader funcs next to their
respective loader funcs
jongfoster [Thu, 7 Jun 2001 23:13:40 +0000 (23:13 +0000)]
Merging ACL and forward files into config file.
Cosmetic: Sorting config file options alphabetically.
Cosmetic: Adding brief syntax comments to config file options.
jongfoster [Thu, 7 Jun 2001 23:12:52 +0000 (23:12 +0000)]
Replacing function pointer in struct gateway with a directly
called function forwarded_connect().
Replacing struct gateway with struct forward_spec
jongfoster [Thu, 7 Jun 2001 23:12:14 +0000 (23:12 +0000)]
Removing gateways[] list - no longer used.
Replacing function pointer in struct gateway with a directly
called function forwarded_connect(), which can do the common
task of deciding whether to connect to the web server or HTTP
proxy.
Replacing struct gateway with struct forward_spec
jongfoster [Thu, 7 Jun 2001 23:11:38 +0000 (23:11 +0000)]
Removing gateways[] list - no longer used.
Replacing function pointer in struct gateway with a directly
called function forwarded_connect(), which can do the common
task of deciding whether to connect to the web server or HTTP
proxy.
Replacing struct gateway with struct forward_spec
Fixing bug with SOCKS4A and HTTP proxy server in combination.
It was a bug which led to the connection being made to the web
server rather than the HTTP proxy, and also a buffer overrun.
jongfoster [Thu, 7 Jun 2001 23:10:53 +0000 (23:10 +0000)]
Replacing struct gateway with struct forward_spec
jongfoster [Thu, 7 Jun 2001 23:10:26 +0000 (23:10 +0000)]
Allowing unanchored domain patterns to back off and retry
if they partially match. Optimized right-anchored patterns.
Moving ACL and forward files into config file.
Replacing struct gateway with struct forward_spec
jongfoster [Thu, 7 Jun 2001 23:09:19 +0000 (23:09 +0000)]
Cosmetic indentation changes.
jongfoster [Thu, 7 Jun 2001 23:08:54 +0000 (23:08 +0000)]
Forward and ACL edit options removed.
Config edit option renamed from "&Junkbuster" to "&Configuration".
jongfoster [Thu, 7 Jun 2001 23:08:12 +0000 (23:08 +0000)]
Forward and ACL edit options removed.
jongfoster [Thu, 7 Jun 2001 23:06:09 +0000 (23:06 +0000)]
The host parameter to connect_to() is now const.
jongfoster [Thu, 7 Jun 2001 23:05:19 +0000 (23:05 +0000)]
Removing code related to old forward and ACL files.
jongfoster [Thu, 7 Jun 2001 23:04:34 +0000 (23:04 +0000)]
Made get_actions() static.
jongfoster [Thu, 7 Jun 2001 23:03:56 +0000 (23:03 +0000)]
Added standard comment at top of file.
swa [Thu, 7 Jun 2001 17:29:51 +0000 (17:29 +0000)]
ignore logfile
swa [Thu, 7 Jun 2001 17:28:10 +0000 (17:28 +0000)]
cosmetics
swa [Thu, 7 Jun 2001 17:27:45 +0000 (17:27 +0000)]
added suse build section
swa [Thu, 7 Jun 2001 17:18:44 +0000 (17:18 +0000)]
header fixed
swa [Thu, 7 Jun 2001 17:15:13 +0000 (17:15 +0000)]
suse spec file (as shamelessly used from suse's 2.0-14 version)
joergs [Thu, 7 Jun 2001 14:51:38 +0000 (14:51 +0000)]
make_path() no longer adds '/' if the dir already ends in '/'.
joergs [Thu, 7 Jun 2001 14:46:25 +0000 (14:46 +0000)]
Missing make_path() added for re_filterfile.
joergs [Thu, 7 Jun 2001 14:43:51 +0000 (14:43 +0000)]
i.j.b/ijb-send-banner changed to http://i.j.b/send-banner
swa [Thu, 7 Jun 2001 14:43:17 +0000 (14:43 +0000)]
slight mistake in make_path, unix path style is /.
Sarantis Paskalis [Wed, 6 Jun 2001 09:37:59 +0000 (09:37 +0000)]
Fix misplaced comment start.
jongfoster [Tue, 5 Jun 2001 22:36:42 +0000 (22:36 +0000)]
Adding VC++ temporary files, and Win32 config file.
jongfoster [Tue, 5 Jun 2001 22:33:54 +0000 (22:33 +0000)]
Fixed minor memory leak.
Also now uses make_path to prepend the pathnames.
jongfoster [Tue, 5 Jun 2001 22:32:01 +0000 (22:32 +0000)]
New function make_path() to splice directory and file names together.
jongfoster [Tue, 5 Jun 2001 20:04:09 +0000 (20:04 +0000)]
Now uses _snprintf() in place of snprintf() under Win32.
jongfoster [Tue, 5 Jun 2001 20:01:25 +0000 (20:01 +0000)]
Now compiles in cgi.[ch]
jongfoster [Tue, 5 Jun 2001 19:59:16 +0000 (19:59 +0000)]
Fixing multiline character string (a GCC-only "feature"), and snprintf (it's _snprintf under VC++).
swa [Mon, 4 Jun 2001 18:31:58 +0000 (18:31 +0000)]
files are now prefixed with either `confdir' or `logdir'.
`make redhat-dist' replaces both entries confdir and logdir
with redhat values
swa [Mon, 4 Jun 2001 11:28:53 +0000 (11:28 +0000)]
redirect did not work due to missing /
swa [Mon, 4 Jun 2001 10:44:57 +0000 (10:44 +0000)]
`make redhatr-dist' now works. Except for the paths
in the config file.
swa [Mon, 4 Jun 2001 10:41:52 +0000 (10:41 +0000)]
show version string of cgi.h and cgi.c
oes [Sun, 3 Jun 2001 19:13:05 +0000 (19:13 +0000)]
moved stuff to cgi.c
oes [Sun, 3 Jun 2001 19:12:58 +0000 (19:12 +0000)]
added struct map, added struct http_response, changed struct interceptors to struct cgi_dispatcher, moved HTML stuff to cgi.h
oes [Sun, 3 Jun 2001 19:12:45 +0000 (19:12 +0000)]
added FIXME
oes [Sun, 3 Jun 2001 19:12:38 +0000 (19:12 +0000)]
deleted const struct interceptors
oes [Sun, 3 Jun 2001 19:12:30 +0000 (19:12 +0000)]
introduced bindup()
oes [Sun, 3 Jun 2001 19:12:24 +0000 (19:12 +0000)]
functions for new struct map, extended enlist_unique
oes [Sun, 3 Jun 2001 19:12:16 +0000 (19:12 +0000)]
introduced new cgi handling
oes [Sun, 3 Jun 2001 19:12:07 +0000 (19:12 +0000)]
filled comment
oes [Sun, 3 Jun 2001 19:12:00 +0000 (19:12 +0000)]
extracted-CGI relevant stuff
oes [Sun, 3 Jun 2001 19:11:54 +0000 (19:11 +0000)]
introduced confdir option
oes [Sun, 3 Jun 2001 19:11:48 +0000 (19:11 +0000)]
adapted to new enlist_unique arg format
oes [Sun, 3 Jun 2001 18:52:46 +0000 (18:52 +0000)]
revoking monster-commit
oes [Sun, 3 Jun 2001 18:38:11 +0000 (18:38 +0000)]
Changed confdir to . to reflect sourcetree structure
swa [Sun, 3 Jun 2001 17:28:49 +0000 (17:28 +0000)]
moved templates to ./templates/
swa [Sun, 3 Jun 2001 17:10:04 +0000 (17:10 +0000)]
swa for oes
swa [Sun, 3 Jun 2001 17:09:09 +0000 (17:09 +0000)]
swa for oes: reversed my earlier change
swa [Sun, 3 Jun 2001 17:07:27 +0000 (17:07 +0000)]
swa for oes
swa [Sun, 3 Jun 2001 13:57:26 +0000 (13:57 +0000)]
compile cgi.c (for andreas' GUI)
oes [Sun, 3 Jun 2001 11:04:49 +0000 (11:04 +0000)]
Makefile/in
introduced cgi.c
actions.c:
adapted to new enlist_unique arg format
conf loadcfg.c
introduced confdir option
filters.c filtrers.h
extracted-CGI relevant stuff
jbsockets.c
filled comment
jcc.c
support for new cgi mechansim
list.c list.h
functions for new list type: "map"
extended enlist_unique
miscutil.c .h
introduced bindup()
parsers.c parsers.h
deleted const struct interceptors
pcrs.c
added FIXME
project.h
added struct map
added struct http_response
changes struct interceptors to struct cgi_dispatcher
moved HTML stuff to cgi.h
re_filterfile:
changed
showargs.c
NO TIME LEFT
swa [Sun, 3 Jun 2001 09:43:53 +0000 (09:43 +0000)]
don't commit automatically generated files or binariess
swa [Sun, 3 Jun 2001 09:37:52 +0000 (09:37 +0000)]
don't commit automatically generated files or binariess
jongfoster [Fri, 1 Jun 2001 20:17:10 +0000 (20:17 +0000)]
Removing "tinygif" option.
jongfoster [Fri, 1 Jun 2001 20:15:05 +0000 (20:15 +0000)]
Fixing file copying.
jongfoster [Fri, 1 Jun 2001 20:08:59 +0000 (20:08 +0000)]
Added +image-blocker{} option - comment and default setting.
jongfoster [Fri, 1 Jun 2001 20:07:23 +0000 (20:07 +0000)]
Now uses action +image-blocker{} rather than config->tinygif
jongfoster [Fri, 1 Jun 2001 20:06:24 +0000 (20:06 +0000)]
Removed support for "tinygif" option - moved to actions file.
jongfoster [Fri, 1 Jun 2001 20:05:36 +0000 (20:05 +0000)]
Support for +image-blocker{}: added ACTION_IMAGE_BLOCKER
constant, and removed csp->tinygif.
jongfoster [Fri, 1 Jun 2001 20:04:19 +0000 (20:04 +0000)]
Added +image-blocker{string}
jongfoster [Fri, 1 Jun 2001 20:03:42 +0000 (20:03 +0000)]
Better memory management - current_action->strings[] now
contains copies of the strings, not the original.
jongfoster [Fri, 1 Jun 2001 18:49:17 +0000 (18:49 +0000)]
Replaced "list_share" with "list" - the tiny memory gain was not
worth the extra complexity.
jongfoster [Fri, 1 Jun 2001 18:14:49 +0000 (18:14 +0000)]
Changing the calls to strerr() to check HAVE_STRERR (which is defined
in config.h if appropriate) rather than the NO_STRERR macro.
jongfoster [Fri, 1 Jun 2001 18:12:50 +0000 (18:12 +0000)]
Correcting target directory of chartables.c
jongfoster [Fri, 1 Jun 2001 17:57:11 +0000 (17:57 +0000)]
This file now just includes JunkBuster's config.h, to prevent duplication
and make it easier to build. (In fact, this file wasn't ever updated
before, so this is a bugfix).
jongfoster [Fri, 1 Jun 2001 17:56:07 +0000 (17:56 +0000)]
Removing generated files config.h and pcre/chartables.c
Now use a custom build step to copy config.h.win to config.h
New VC++ project pcre/vc_dftables.dsp will generate pcre/chartables.c
Also adding the new files list.[ch], actions.[ch] to the console build.
jongfoster [Fri, 1 Jun 2001 17:05:32 +0000 (17:05 +0000)]
Correcting some typos, and an obsolete comment.
oes [Fri, 1 Jun 2001 13:56:20 +0000 (13:56 +0000)]
Adapted patterns to new syntax and fixed yahoo.com login
oes [Fri, 1 Jun 2001 10:32:47 +0000 (10:32 +0000)]
Added constants for anchoring selection bitmap
oes [Fri, 1 Jun 2001 10:31:51 +0000 (10:31 +0000)]
Added character class matching to trivimatch; renamed to simplematch
oes [Fri, 1 Jun 2001 10:30:55 +0000 (10:30 +0000)]
Added optional left-anchoring to domaincmp
oes [Fri, 1 Jun 2001 03:27:04 +0000 (03:27 +0000)]
Fixed line continuation problem
jongfoster [Thu, 31 May 2001 21:52:16 +0000 (21:52 +0000)]
Removing obsolete settings.
jongfoster [Thu, 31 May 2001 21:40:00 +0000 (21:40 +0000)]
Removing some commented out, obsolete blocks of code.
jongfoster [Thu, 31 May 2001 21:38:52 +0000 (21:38 +0000)]
Added list.[ch] and actions.[ch]
jongfoster [Thu, 31 May 2001 21:37:11 +0000 (21:37 +0000)]
GUI changes to rename "permissions file" to "actions file".
jongfoster [Thu, 31 May 2001 21:36:07 +0000 (21:36 +0000)]
Added RCS for actions.[ch] and list.[ch]
jongfoster [Thu, 31 May 2001 21:33:53 +0000 (21:33 +0000)]
Changes for new actions file, replacing permissionsfile
and parts of the config file. Also added support for
list_shared.
jongfoster [Thu, 31 May 2001 21:32:15 +0000 (21:32 +0000)]
Changed to include many of the new actions.
This should really be renamed actionsfile.
jongfoster [Thu, 31 May 2001 21:30:33 +0000 (21:30 +0000)]
Removed list code - it's now in list.[ch]
Renamed "permission" to "action", and changed many features
to use the actions file rather than the global config.
jongfoster [Thu, 31 May 2001 21:28:49 +0000 (21:28 +0000)]
Removed all permissionsfile code - it's now called the actions
file, and (almost) all the code is in actions.c
jongfoster [Thu, 31 May 2001 21:27:13 +0000 (21:27 +0000)]
Removed many options from the config file and into the
"actions" file: add_forwarded, suppress_vanilla_wafer,
wafer, add_header, user_agent, referer, from
Also globally replaced "permission" with "action".
jongfoster [Thu, 31 May 2001 21:24:47 +0000 (21:24 +0000)]
Changed "permission" to "action" throughout.
Removed DEFAULT_USER_AGENT - it must now be specified manually.
Moved vanilla wafer check into chat(), since we must now
decide whether or not to add it based on the URL.
jongfoster [Thu, 31 May 2001 21:21:30 +0000 (21:21 +0000)]
Permissionsfile / actions file changes:
- Changed "permission" to "action" throughout
- changes to file format to allow string parameters
- Moved helper functions to actions.c