]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
22 years agoRestructured the directory structure to have all helpers in the new
hno [Wed, 26 Jun 2002 16:37:30 +0000 (16:37 +0000)] 
Restructured the directory structure to have all helpers in the new
helpers directory.

helpers/basic_auth Basic auth helpers
helpers/ntlm_auth NTLM auth helpers
helpers/digest_auth Digest auth helpers

22 years agoPatch by Guido to convert some more of the code to use FD_READ/WRITE_METHOD.
hno [Wed, 26 Jun 2002 15:55:56 +0000 (15:55 +0000)] 
Patch by Guido to convert some more of the code to use FD_READ/WRITE_METHOD.
Simplifies the WIN32 porting.

22 years agoClarified httpd_accel_host virtual and httpd_accel_uses_host_header
hno [Wed, 26 Jun 2002 03:16:47 +0000 (03:16 +0000)] 
Clarified httpd_accel_host virtual and httpd_accel_uses_host_header

22 years agoSome casting to hopefully make some compilers more happy about
hno [Tue, 25 Jun 2002 17:58:15 +0000 (17:58 +0000)] 
Some casting to hopefully make some compilers more happy about
signed/unsigned char *

22 years agoexternal_acl bugfix to cooperate with --disable-ident
hno [Tue, 25 Jun 2002 17:54:49 +0000 (17:54 +0000)] 
external_acl bugfix to cooperate with --disable-ident

22 years agoSupport for Windows .NET (5.2). By Guido.
hno [Tue, 25 Jun 2002 17:43:34 +0000 (17:43 +0000)] 
Support for Windows .NET (5.2). By Guido.

22 years agoDeny any requests using transfer-encoding. This is needed in case a browser
hno [Mon, 24 Jun 2002 12:07:38 +0000 (12:07 +0000)] 
Deny any requests using transfer-encoding. This is needed in case a browser
gets confused and sends us a HTTP/1.1 request using transfer-encoding.

22 years agospeling correction in the external_acl documentation
hno [Mon, 24 Jun 2002 03:52:32 +0000 (03:52 +0000)] 
speling correction in the external_acl documentation

22 years agoBootstrapped
hno [Sun, 23 Jun 2002 20:53:34 +0000 (20:53 +0000)] 
Bootstrapped

22 years agosatellite Changelog entry
hno [Sun, 23 Jun 2002 20:52:05 +0000 (20:52 +0000)] 
satellite Changelog entry

22 years agoPeering enhancement options for satellite or other high latency links
hno [Sun, 23 Jun 2002 20:50:06 +0000 (20:50 +0000)] 
Peering enhancement options for satellite or other high latency links
by Robert Cohen

22 years agoUNIX group membership external acl helper by Rodrigo Campos
hno [Sun, 23 Jun 2002 20:31:09 +0000 (20:31 +0000)] 
UNIX group membership external acl helper by Rodrigo Campos

22 years agoip_user external_acl helper by Rodrigo Campos
hno [Sun, 23 Jun 2002 20:25:16 +0000 (20:25 +0000)] 
ip_user external_acl helper by Rodrigo Campos

22 years agoA simple external_acl helper to match LDAP groups
hno [Sun, 23 Jun 2002 20:11:40 +0000 (20:11 +0000)] 
A simple external_acl helper to match LDAP groups

22 years agoUpdated external acl Changelog entry
hno [Sun, 23 Jun 2002 19:51:42 +0000 (19:51 +0000)] 
Updated external acl Changelog entry

22 years agoexternal acl changelog entry
hno [Sun, 23 Jun 2002 19:49:39 +0000 (19:49 +0000)] 
external acl changelog entry

22 years agoexternal acl support. A mechanism where flexible ACL checks can be driven
hno [Sun, 23 Jun 2002 19:32:23 +0000 (19:32 +0000)] 
external acl support. A mechanism where flexible ACL checks can be driven
by external helpers.

22 years agoDist the bootstrap.sh script, so people more easily can do development
hno [Sun, 23 Jun 2002 18:57:07 +0000 (18:57 +0000)] 
Dist the bootstrap.sh script, so people more easily can do development
without having to use CVS

22 years agoA bit of cleanups to make GCC happy, and removed some unused code.
hno [Sun, 23 Jun 2002 17:28:43 +0000 (17:28 +0000)] 
A bit of cleanups to make GCC happy, and removed some unused code.

22 years agoBugzilla #369: Don't attempt to close the WCCP socket twice on shutdown /
hno [Fri, 21 Jun 2002 19:16:30 +0000 (19:16 +0000)] 
Bugzilla #369: Don't attempt to close the WCCP socket twice on shutdown /
reconfigure.

22 years agoread_ahead_gap config directive by Jeffrey D. Wheelhouse. Allows
hno [Fri, 21 Jun 2002 18:58:20 +0000 (18:58 +0000)] 
read_ahead_gap config directive by Jeffrey D. Wheelhouse. Allows
the read-ahead gap to be configured from squid.conf (previously
hardcoded at 16 KB)

22 years agoSome rewriting inspired by suggestions of overflow bugs and other problems
wessels [Thu, 20 Jun 2002 04:54:14 +0000 (04:54 +0000)] 
Some rewriting inspired by suggestions of overflow bugs and other problems
with this code.

denyusers.c and allowusers.c have a fair amount of nearly identical code.
I moved these functions to a new file, called usersfile.[ch].  I didn't
really want to add another source file, but....

22 years agoSome rewriting inspired by suggestions of overflow bugs and other problems
wessels [Thu, 20 Jun 2002 04:53:56 +0000 (04:53 +0000)] 
Some rewriting inspired by suggestions of overflow bugs and other problems
with this code.

denyusers.c and allowusers.c have a fair amount of nearly identical code.
I moved these functions to a new file, called usersfile.[ch].  I didn't
really want to add another source file, but....

The list of allowed/denied users were formerly stored as whitespace
separated tokens in a single char buffer.  The code used strstr() to
search for matches.  This was awkward because the search key had to
be surrounded by space characters.  The new code uses and array
of char buffers -- one for each name.  The new code uses qsort() and
bsearch().

The old code was more robust with the input file.  You could put multiple
names on a single line.  Due to the way the names were stored, it didn't
matter.  The new code is less robust.  It requires one name per line,
and no leading whitespace.

Names longer than NAMELEN are now truncated.

Added an openlog() call and Removed LOG_USER from syslog() calls.

No longer use scanf() in some places.

There is some weird logic about what to do if an allow/deny file
does not exist, or exists but cannot be read, or was read once but
cannot be read later.  I hope it still works the same.

replaced some strcpy() calls with memset() and strncpy().

Fixed a strange usage of ServerArray[] that started at index 1?

#ifdefd-out some debugging code that included fprintfs to stderr, but
was apparently never called.

Rewrote some signal handling stuff to use sigaction() (and fall back
to signal()) and removed calls to sigvec().

22 years agoSmall fixes and clarifications to the cbdata documentation
hno [Wed, 19 Jun 2002 12:29:45 +0000 (12:29 +0000)] 
Small fixes and clarifications to the cbdata documentation

22 years agoCorrected some peerDigest internal function prototypes, prototyped with
hno [Wed, 19 Jun 2002 04:52:32 +0000 (04:52 +0000)] 
Corrected some peerDigest internal function prototypes, prototyped with
a int argument, defined with a ssize_t argument...

22 years agobuffered_log commend update by Guido
hno [Tue, 18 Jun 2002 16:54:17 +0000 (16:54 +0000)] 
buffered_log commend update by Guido

22 years agoBootstrapped
hno [Tue, 18 Jun 2002 06:10:43 +0000 (06:10 +0000)] 
Bootstrapped

22 years agoAdded support for sys/bitypes.h, apparently needed for some of the bittypes
hno [Tue, 18 Jun 2002 00:28:12 +0000 (00:28 +0000)] 
Added support for sys/bitypes.h, apparently needed for some of the bittypes
on tru64 and possibly others.

22 years agoFixed some include dependencies
hno [Tue, 18 Jun 2002 00:27:30 +0000 (00:27 +0000)] 
Fixed some include dependencies

22 years agoFixed that misgiving comment again...
hno [Mon, 17 Jun 2002 02:10:29 +0000 (02:10 +0000)] 
Fixed that misgiving comment again...

22 years agoAdded some functions for accessing HTTP list header values
hno [Mon, 17 Jun 2002 02:05:53 +0000 (02:05 +0000)] 
Added some functions for accessing HTTP list header values

extern String httpHeaderGetListMember(const HttpHeader * hdr, http_hdr_type id, const char *member, const char separator);

extern String httpHeaderGetByNameListMember(const HttpHeader * hdr, const char *name, const char *member, const char separator);

22 years agoForgot a small piece of the auth cleanup patch from external_acl.
hno [Mon, 17 Jun 2002 01:56:08 +0000 (01:56 +0000)] 
Forgot a small piece of the auth cleanup patch from external_acl.

22 years agoCorrected a misgiving comment. httpHeaderGetByName returns by value,
hno [Mon, 17 Jun 2002 01:48:04 +0000 (01:48 +0000)] 
Corrected a misgiving comment. httpHeaderGetByName returns by value,
not pointer.

22 years agoOops.. got the auth logics slightly wrong..
hno [Mon, 17 Jun 2002 01:32:01 +0000 (01:32 +0000)] 
Oops.. got the auth logics slightly wrong..

22 years agoGeneralized the proxy_auth ACL processing one small step further to make
hno [Sun, 16 Jun 2002 23:46:25 +0000 (23:46 +0000)] 
Generalized the proxy_auth ACL processing one small step further to make
it easier for other ACL types to use/require authentication.

22 years agoPrevent logging of "blank" user names. If the username is "" then log
hno [Sun, 16 Jun 2002 17:24:00 +0000 (17:24 +0000)] 
Prevent logging of "blank" user names. If the username is "" then log
as a dash, assuming the "" usename is a false value from ident or partial
authentication.

22 years agoBugzilla #358: Make whois replies cacheable
hno [Sat, 15 Jun 2002 01:31:22 +0000 (01:31 +0000)] 
Bugzilla #358: Make whois replies cacheable

22 years agoBugzilla #351: ignore-reload should override max-age=0
hno [Sat, 15 Jun 2002 01:26:43 +0000 (01:26 +0000)] 
Bugzilla #351: ignore-reload should override max-age=0

22 years agoAllow for half closed pipelines of requests
hno [Sat, 15 Jun 2002 00:45:16 +0000 (00:45 +0000)] 
Allow for half closed pipelines of requests

22 years agoArgh!
hno [Fri, 14 Jun 2002 23:51:39 +0000 (23:51 +0000)] 
Argh!

22 years agoOops.. syntax error when adding the -T client option
hno [Fri, 14 Jun 2002 23:50:07 +0000 (23:50 +0000)] 
Oops.. syntax error when adding the -T client option

22 years agoCorrected parsing of the max_user_ip -s option (forgot the number of allowed
hno [Fri, 14 Jun 2002 22:27:13 +0000 (22:27 +0000)] 
Corrected parsing of the max_user_ip -s option (forgot the number of allowed
IPs)

22 years agoDon't fill up cache.log about max_user_ip. It does work.
hno [Thu, 13 Jun 2002 23:08:01 +0000 (23:08 +0000)] 
Don't fill up cache.log about max_user_ip. It does work.

22 years agoDocumented the max_user_ip -s option for strict mode
hno [Thu, 13 Jun 2002 23:04:18 +0000 (23:04 +0000)] 
Documented the max_user_ip -s option for strict mode

22 years agoBugzilla #361: client -T opion was not implemented
hno [Thu, 13 Jun 2002 14:41:01 +0000 (14:41 +0000)] 
Bugzilla #361: client -T opion was not implemented

22 years agoBootstrapped
hno [Thu, 13 Jun 2002 06:10:44 +0000 (06:10 +0000)] 
Bootstrapped

22 years agoclear out new auth_user_request objects in case of reused memory
robertc [Wed, 12 Jun 2002 17:47:59 +0000 (17:47 +0000)] 
clear out new auth_user_request objects in case of reused memory

22 years agoUpdate Makefile.am syntax
robertc [Wed, 12 Jun 2002 17:45:20 +0000 (17:45 +0000)] 
Update Makefile.am syntax

22 years agoGet rid of the cbdataInternalLock/Unlock requirement. Still a bit confused
hno [Fri, 7 Jun 2002 00:44:35 +0000 (00:44 +0000)] 
Get rid of the cbdataInternalLock/Unlock requirement. Still a bit confused
in how the peer digests and fetch pulls together however, and there is more
work in cleaning this up to make more proper use of cbdata.

22 years agoRenamed httpSendRequestEntry to httpSendRequestEntity
hno [Thu, 6 Jun 2002 21:11:31 +0000 (21:11 +0000)] 
Renamed httpSendRequestEntry to httpSendRequestEntity

22 years agoFix a minor compiler warning
hno [Thu, 6 Jun 2002 21:11:01 +0000 (21:11 +0000)] 
Fix a minor compiler warning

22 years agoOops.. missed a t in \t
hno [Thu, 6 Jun 2002 20:50:15 +0000 (20:50 +0000)] 
Oops.. missed a t in \t

22 years agoTLS encryption support by Michael Cunningham
hno [Tue, 4 Jun 2002 22:05:52 +0000 (22:05 +0000)] 
TLS encryption support by Michael Cunningham

22 years agoUpper the limit on HTTP ports to 128 (was 12)
hno [Tue, 4 Jun 2002 21:04:05 +0000 (21:04 +0000)] 
Upper the limit on HTTP ports to 128 (was 12)

22 years agoBarf if there is too many https_port defined
hno [Tue, 4 Jun 2002 20:42:32 +0000 (20:42 +0000)] 
Barf if there is too many https_port defined

22 years agoUpdated Douch error pages by Bart Koelman
hno [Fri, 31 May 2002 21:17:17 +0000 (21:17 +0000)] 
Updated Douch error pages by Bart Koelman

22 years agonew config.guess, dated 2002-03-04, from autoconf-2.53
wessels [Thu, 23 May 2002 23:58:04 +0000 (23:58 +0000)] 
new config.guess, dated 2002-03-04, from autoconf-2.53

22 years agoBootstrapped
hno [Thu, 23 May 2002 20:03:43 +0000 (20:03 +0000)] 
Bootstrapped

22 years agoThe winbind helper needs XTRA_LIBS, just as mostly everything else...
hno [Thu, 23 May 2002 20:01:19 +0000 (20:01 +0000)] 
The winbind helper needs XTRA_LIBS, just as mostly everything else...
(-lsocket on Solaris and many other platform dependencies are herein)

22 years agocomplain if kill() (as in --enable-kill-parent-hack) returns an error.
wessels [Thu, 23 May 2002 02:48:14 +0000 (02:48 +0000)] 
complain if kill() (as in --enable-kill-parent-hack) returns an error.

22 years agoBootstrapped
hno [Mon, 20 May 2002 08:05:32 +0000 (08:05 +0000)] 
Bootstrapped

22 years agoMissing files added to "make dist"
hno [Mon, 20 May 2002 08:03:55 +0000 (08:03 +0000)] 
Missing files added to "make dist"

22 years agoBootstrapped
hno [Mon, 20 May 2002 07:48:02 +0000 (07:48 +0000)] 
Bootstrapped

22 years agodist winbind files
hno [Mon, 20 May 2002 07:42:50 +0000 (07:42 +0000)] 
dist winbind files

22 years agodist winbind files
hno [Mon, 20 May 2002 07:42:50 +0000 (07:42 +0000)] 
dist winbind files

22 years agoNeed to dist some header files
hno [Mon, 20 May 2002 07:39:53 +0000 (07:39 +0000)] 
Need to dist some header files

22 years agoBootstrapped
hno [Mon, 20 May 2002 07:18:11 +0000 (07:18 +0000)] 
Bootstrapped

22 years agoSupport out-of-tree "make dist" (autoconf.h)
hno [Mon, 20 May 2002 07:16:41 +0000 (07:16 +0000)] 
Support out-of-tree "make dist" (autoconf.h)

22 years agoBootstrapped
hno [Mon, 20 May 2002 05:53:27 +0000 (05:53 +0000)] 
Bootstrapped

22 years agowinbind helper
hno [Mon, 20 May 2002 05:52:56 +0000 (05:52 +0000)] 
winbind helper

22 years agoBootstrapped
hno [Mon, 20 May 2002 05:48:19 +0000 (05:48 +0000)] 
Bootstrapped

22 years agoOops..
hno [Mon, 20 May 2002 05:46:31 +0000 (05:46 +0000)] 
Oops..

22 years agoSamba Winbind ntlm and basic authentication helpers by Francesco Chemolli
hno [Mon, 20 May 2002 05:42:39 +0000 (05:42 +0000)] 
Samba Winbind ntlm and basic authentication helpers by Francesco Chemolli

22 years agoCOSS fixes by Guido.
hno [Sun, 19 May 2002 22:40:56 +0000 (22:40 +0000)] 
COSS fixes by Guido.

Also triggered a small cleanup in the othere store implementations to
get rid of a unneccesary CYGWIN dependency. (binary file mode)

22 years agoBootstrapped
hno [Sun, 19 May 2002 21:16:37 +0000 (21:16 +0000)] 
Bootstrapped

22 years agoNTLMSSP renamed to SMB.
hno [Sun, 19 May 2002 21:07:55 +0000 (21:07 +0000)] 
NTLMSSP renamed to SMB.

Note: The CVS files have been moved. If going back to a older version than
this then one will have to manually move them back to get a checkout that
reflects the older layout.

22 years agocrypt.h is only needed by some helpers, not the Squid core.
hno [Sun, 19 May 2002 20:32:09 +0000 (20:32 +0000)] 
crypt.h is only needed by some helpers, not the Squid core.

Including it in squid.h only increases compile time and causes
portability issues and conflicts.

22 years agoFix a cbdata reference error in coss async_io implementation.. the pointer
hno [Sun, 19 May 2002 20:14:52 +0000 (20:14 +0000)] 
Fix a cbdata reference error in coss async_io implementation.. the pointer
was cleared before being checked for validity.

22 years agoTwo fixes from Steve Bennett s.bennett at lancaster.ac.uk
wessels [Thu, 16 May 2002 01:08:34 +0000 (01:08 +0000)] 
Two fixes from Steve Bennett s.bennett at lancaster.ac.uk

1) The running averager intAverage() approaches zero due to
   roundoff errors when the input values are less than the
   averaging interval, which is happening for redirector
   service times.  For helper processes, we'll store
   the average service time in microseconds now.

2) the cachemgr output shows 'Time' as large numbers for idle
   helpers.  This patch makes use of the 'answer_time' field
   and uses that for calculating service time in cachemgr stats
   output.

22 years agoDocumented the -o option
hno [Wed, 15 May 2002 18:03:57 +0000 (18:03 +0000)] 
Documented the -o option

22 years agoThe fatal helper queue overflow condition should not be limited by
hno [Wed, 15 May 2002 16:30:27 +0000 (16:30 +0000)] 
The fatal helper queue overflow condition should not be limited by
the warning rate limitation.

22 years agoOne quite obvious use of cbdataReferenceValidDone()
hno [Sat, 11 May 2002 00:56:45 +0000 (00:56 +0000)] 
One quite obvious use of cbdataReferenceValidDone()

22 years agoBootstrapped
hno [Tue, 7 May 2002 06:10:49 +0000 (06:10 +0000)] 
Bootstrapped

22 years agoDon't dist autoconf.h (merged from Squid-2.5, thanks Robert)
hno [Mon, 6 May 2002 12:25:14 +0000 (12:25 +0000)] 
Don't dist autoconf.h (merged from Squid-2.5, thanks Robert)

22 years agominimum_icp_query_timeout needs to set icp_query_min, not max..
hno [Fri, 3 May 2002 20:25:29 +0000 (20:25 +0000)] 
minimum_icp_query_timeout needs to set icp_query_min, not max..
thanks to  Evgeny Kotsuba for spotting the error.

22 years agoConverted htcp to use locally created MemoryPool:s rather than using
hno [Tue, 30 Apr 2002 13:59:49 +0000 (13:59 +0000)] 
Converted htcp to use locally created MemoryPool:s rather than using
the MEM_* approach. This to solve reconfigure and not having htcp configured
in a nice manner.

22 years agoUse FD_READ_METHOD rather than direcly calling read()
hno [Sun, 28 Apr 2002 20:55:40 +0000 (20:55 +0000)] 
Use FD_READ_METHOD rather than direcly calling read()

22 years agoDon't overuse bitfields when storing enums.. care must be taken for
hno [Sun, 28 Apr 2002 18:18:07 +0000 (18:18 +0000)] 
Don't overuse bitfields when storing enums.. care must be taken for
signed/unsigned etc. For fields where memoryusage isn't a significant
impact it is better to not care and let the compiler assign field size.

22 years agoBootstrapped
hno [Sun, 28 Apr 2002 06:10:43 +0000 (06:10 +0000)] 
Bootstrapped

22 years agoAssert that there is at least one port defined when trying to figure out
hno [Sun, 28 Apr 2002 04:54:49 +0000 (04:54 +0000)] 
Assert that there is at least one port defined when trying to figure out
out port number..

22 years agobugfix: Initialize pendingfds to zero
hno [Sat, 27 Apr 2002 14:47:43 +0000 (14:47 +0000)] 
bugfix: Initialize pendingfds to zero

22 years agoCheck for select(), not all OS:es have poll...
hno [Sat, 27 Apr 2002 14:46:44 +0000 (14:46 +0000)] 
Check for select(), not all OS:es have poll...

22 years agoftp_sanitycheck option changelog
hno [Tue, 23 Apr 2002 02:38:36 +0000 (02:38 +0000)] 
ftp_sanitycheck option changelog

22 years agoGopher improvements
hno [Mon, 22 Apr 2002 04:47:59 +0000 (04:47 +0000)] 
Gopher improvements

22 years agoconst cleanup
hno [Mon, 22 Apr 2002 04:14:08 +0000 (04:14 +0000)] 
const cleanup

22 years agoMake delay pools less greedy, to only ask for the amount there is
hno [Mon, 22 Apr 2002 03:54:40 +0000 (03:54 +0000)] 
Make delay pools less greedy, to only ask for the amount there is
clients asking for.

22 years agoDon't mess with store client internals.. not unless debugging is
hno [Mon, 22 Apr 2002 03:54:03 +0000 (03:54 +0000)] 
Don't mess with store client internals.. not unless debugging is
enabled anyway.

22 years agoRemoved unused storeClientWaiting function
hno [Mon, 22 Apr 2002 03:52:47 +0000 (03:52 +0000)] 
Removed unused storeClientWaiting function

22 years agoCleanup of our Gopher client to protect from buffer overflows and
hno [Mon, 22 Apr 2002 03:23:15 +0000 (03:23 +0000)] 
Cleanup of our Gopher client to protect from buffer overflows and
to correct the functionality, plus some new pieces that was missing
like the ability to deal with Gopher Info entries and WWW links

22 years agoRewrite of FTP directory parsing to strengthen against possible buffer
hno [Sun, 21 Apr 2002 22:20:25 +0000 (22:20 +0000)] 
Rewrite of FTP directory parsing to strengthen against possible buffer
overflows