]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
24 years agoAdded BPROPPATCH metchod
hno [Sat, 17 Nov 2001 00:02:20 +0000 (00:02 +0000)] 
Added BPROPPATCH metchod

24 years agoAdded MARA as a sponsor.
hno [Fri, 16 Nov 2001 23:56:58 +0000 (23:56 +0000)] 
Added MARA as a sponsor.

24 years agoWebDAV SEARCH method
hno [Fri, 16 Nov 2001 22:59:07 +0000 (22:59 +0000)] 
WebDAV SEARCH method

24 years agoYet another printf style format issue...
hno [Thu, 15 Nov 2001 22:01:37 +0000 (22:01 +0000)] 
Yet another printf style format issue...

24 years agoFix GNU regex library paths..
hno [Thu, 15 Nov 2001 21:58:38 +0000 (21:58 +0000)] 
Fix GNU regex library paths..

24 years agoBugzilla #224 also present for HTCP
hno [Thu, 15 Nov 2001 08:17:29 +0000 (08:17 +0000)] 
Bugzilla #224 also present for HTCP

24 years agoBugzilla 224: ICP FIRST_PARENT selection fails if rtt is 0
hno [Thu, 15 Nov 2001 08:15:45 +0000 (08:15 +0000)] 
Bugzilla 224: ICP FIRST_PARENT selection fails if rtt is 0

24 years agoBugzilla #157: /dev/nat permissions
hno [Thu, 15 Nov 2001 07:52:42 +0000 (07:52 +0000)] 
Bugzilla #157: /dev/nat permissions

24 years agoBootstrapped
hno [Thu, 15 Nov 2001 06:20:51 +0000 (06:20 +0000)] 
Bootstrapped

24 years agoARP is actually implemented for Solaris as well.. no need to warn there.
hno [Thu, 15 Nov 2001 06:18:46 +0000 (06:18 +0000)] 
ARP is actually implemented for Solaris as well.. no need to warn there.

24 years agoRemoved broken install tests when installing/uninstalling error pages.
hno [Thu, 15 Nov 2001 06:09:10 +0000 (06:09 +0000)] 
Removed broken install tests when installing/uninstalling error pages.

24 years agoRestructured to dynamically allocate room for the nis password instead
hno [Thu, 15 Nov 2001 05:11:48 +0000 (05:11 +0000)] 
Restructured to dynamically allocate room for the nis password instead
of relying on a local array that may get overflowed.

24 years agoMinor bugfix for skipped /etc/hosts addresses
hno [Wed, 14 Nov 2001 05:17:01 +0000 (05:17 +0000)] 
Minor bugfix for skipped /etc/hosts addresses

24 years agoSilently skip IPv6 addresses
hno [Wed, 14 Nov 2001 05:16:24 +0000 (05:16 +0000)] 
Silently skip IPv6 addresses

24 years agoNot all versions of GCC is very happy about expressions in __attribute__
hno [Wed, 14 Nov 2001 04:27:47 +0000 (04:27 +0000)] 
Not all versions of GCC is very happy about expressions in __attribute__
definitions. (works, but complains a bit... looks like GCC bugs)

/home/users/h/hn/hno/squid/src/protos.h:1068: syntax error, found `+'
/home/users/h/hn/hno/squid/src/protos.h:1068: illegal function definition, found `)'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode

and then it works..

24 years agoOur official sized unsigned types are u_int<size>_t
hno [Wed, 14 Nov 2001 04:12:36 +0000 (04:12 +0000)] 
Our official sized unsigned types are u_int<size>_t

24 years agoSome minor cleanup of comments related to the OpenSSL MD5 integration
hno [Wed, 14 Nov 2001 02:25:08 +0000 (02:25 +0000)] 
Some minor cleanup of comments related to the OpenSSL MD5 integration

24 years agoWrap the Squid radix implementation with a "squid_" prefix to protect it
hno [Wed, 14 Nov 2001 02:24:34 +0000 (02:24 +0000)] 
Wrap the Squid radix implementation with a "squid_" prefix to protect it
from any collisions with system provided versions..

24 years agoFix coredump in aclCacheMatchAcl if proxy_auth_regex is used
hno [Wed, 14 Nov 2001 01:50:43 +0000 (01:50 +0000)] 
Fix coredump in aclCacheMatchAcl if proxy_auth_regex is used

24 years agoClean swap.state rotation was completely fucked up for most stores.. and
hno [Wed, 14 Nov 2001 01:11:19 +0000 (01:11 +0000)] 
Clean swap.state rotation was completely fucked up for most stores.. and
has been for a very long time (probably since modio merge). Only diskd
worked.

24 years agoMark icons as "SPECIAL" early on, making it more obvious when debugging
hno [Wed, 14 Nov 2001 00:32:15 +0000 (00:32 +0000)] 
Mark icons as "SPECIAL" early on, making it more obvious when debugging
and less risk of future confusion.

24 years agoDon't swap out "SPECIAL" entries such as icons. We don't log these anyway
hno [Wed, 14 Nov 2001 00:30:45 +0000 (00:30 +0000)] 
Don't swap out "SPECIAL" entries such as icons. We don't log these anyway
so there is no way they can be reused after a restart, and they are never
released from memory until destroyed..

24 years agoMake no_cache bypass the cache, not only stop content from being cached.
hno [Tue, 13 Nov 2001 13:38:27 +0000 (13:38 +0000)] 
Make no_cache bypass the cache, not only stop content from being cached.

24 years agoUse the correct error message when asking for FTP passwords. The requests
hno [Fri, 9 Nov 2001 14:05:00 +0000 (14:05 +0000)] 
Use the correct error message when asking for FTP passwords. The requests
are "unauthorized", not "access denied".

24 years agoHTML error detected by Toomas Soome
hno [Sat, 3 Nov 2001 00:01:24 +0000 (00:01 +0000)] 
HTML error detected by Toomas Soome

24 years agostdlib.h is required for abs()
hno [Wed, 31 Oct 2001 04:43:13 +0000 (04:43 +0000)] 
stdlib.h is required for abs()

24 years agostring.h is required for memcpy and friends
hno [Wed, 31 Oct 2001 04:42:03 +0000 (04:42 +0000)] 
string.h is required for memcpy and friends

24 years agoError number 1048 doesn't actually exist, so we can't ignore it.
adrian [Tue, 30 Oct 2001 20:19:22 +0000 (20:19 +0000)] 
Error number 1048 doesn't actually exist, so we can't ignore it.

24 years agoFurther cleanups of Bugzilla #255 related issues.
hno [Mon, 29 Oct 2001 23:06:31 +0000 (23:06 +0000)] 
Further cleanups of Bugzilla #255 related issues.
 * Partly backed out the previous patch. We can store the status, only need
   to do it slightly different.
 * Same error was repeated a few lines down for another "error" case.
   (out of filedescriptors)

24 years agoOnly build snprintf.o if one or more of the functions in it is actually needed
robertc [Mon, 29 Oct 2001 15:45:17 +0000 (15:45 +0000)] 
Only build snprintf.o if one or more of the functions in it is actually needed

24 years agofix race with installing .conf and .conf.default files.
robertc [Mon, 29 Oct 2001 15:10:21 +0000 (15:10 +0000)] 
fix race with installing .conf and .conf.default files.

24 years agodon't delete icons.shar on make distclean
robertc [Mon, 29 Oct 2001 14:40:56 +0000 (14:40 +0000)] 
don't delete icons.shar on make distclean

24 years agoOops.. the previous bugfix to plug leaks on errors did it too well,
hno [Sat, 27 Oct 2001 05:11:56 +0000 (05:11 +0000)] 
Oops.. the previous bugfix to plug leaks on errors did it too well,
causing some memory to be freed twice. This confusion was caused by
some very odd management of the request buffer in clientReadRequest /
parseHttpRequest. This patch cleans this up to use a single unified
policy.

24 years agoBugzilla #255: Core dump in sslStart if miss_access is denied
hno [Fri, 26 Oct 2001 01:51:27 +0000 (01:51 +0000)] 
Bugzilla #255: Core dump in sslStart if miss_access is denied

24 years agoauthenticateAuthUserRequestSetIp never stored the new IP's due to
hno [Fri, 26 Oct 2001 00:08:47 +0000 (00:08 +0000)] 
authenticateAuthUserRequestSetIp never stored the new IP's due to
an inverted condition.

24 years agoBe both stricter and more relaxed when reading TLV records
hno [Wed, 24 Oct 2001 14:52:37 +0000 (14:52 +0000)] 
Be both stricter and more relaxed when reading TLV records
 * VOID is reserved
 * allow for some new types without choking (10)

24 years agoformat fixes
hno [Wed, 24 Oct 2001 14:19:07 +0000 (14:19 +0000)] 
format fixes

24 years agoformat fixes
hno [Wed, 24 Oct 2001 13:45:33 +0000 (13:45 +0000)] 
format fixes

24 years agoformat fixes
hno [Wed, 24 Oct 2001 12:55:43 +0000 (12:55 +0000)] 
format fixes

24 years agoformat fixes
hno [Wed, 24 Oct 2001 12:16:16 +0000 (12:16 +0000)] 
format fixes

24 years agoformat error fixes
hno [Wed, 24 Oct 2001 11:46:26 +0000 (11:46 +0000)] 
format error fixes

24 years agoFirst batch of format error fixes
hno [Wed, 24 Oct 2001 11:26:12 +0000 (11:26 +0000)] 
First batch of format error fixes

24 years agoDon't consider PURGE as proxy requests when running as a accelerator, but
hno [Wed, 24 Oct 2001 08:25:08 +0000 (08:25 +0000)] 
Don't consider PURGE as proxy requests when running as a accelerator, but
allow these to be processed as normal.

24 years agoAdded configure options to "squid -v"
hno [Tue, 23 Oct 2001 18:14:46 +0000 (18:14 +0000)] 
Added configure options to "squid -v"

24 years agoRemoved duplicate ipcacheInvalidate call
hno [Tue, 23 Oct 2001 17:05:16 +0000 (17:05 +0000)] 
Removed duplicate ipcacheInvalidate call

24 years agoPlug some memory leaks on invalid requests.
hno [Tue, 23 Oct 2001 17:00:41 +0000 (17:00 +0000)] 
Plug some memory leaks on invalid requests.

Alerted by Radu Greab on squid-dev May 30, and a quick investigation along
the same lines revealed more leaks.

24 years agoEnable GCC to check printf style arguments
hno [Tue, 23 Oct 2001 05:55:43 +0000 (05:55 +0000)] 
Enable GCC to check printf style arguments

24 years agoRemoved type dependency on glib.h. This is not needed as configure
hno [Tue, 23 Oct 2001 05:35:07 +0000 (05:35 +0000)] 
Removed type dependency on glib.h. This is not needed as configure
checks for all variants, and the glib wrappers crashes the build if
activated as glib.h is not always included..

24 years agoRemoved the default request_body_max_size limit. There is no reason why we
hno [Mon, 22 Oct 2001 20:40:23 +0000 (20:40 +0000)] 
Removed the default request_body_max_size limit. There is no reason why we
should by default impose a limit on the request body sizes.

24 years agoProperly account "Store Disk files open" in "aufs", even if the opening
hno [Mon, 22 Oct 2001 15:41:39 +0000 (15:41 +0000)] 
Properly account "Store Disk files open" in "aufs", even if the opening
fails or otherwise is rejected by the I/O layer.

24 years agoProtect acl types requiring a request from NULL pointer dereference
hno [Mon, 22 Oct 2001 07:22:45 +0000 (07:22 +0000)] 
Protect acl types requiring a request from NULL pointer dereference
if used in contexts where there is no request (snmp_access for example)

24 years agossl_unclean_shutdown needs to be ifdef USE_SSL
hno [Sat, 20 Oct 2001 17:12:37 +0000 (17:12 +0000)] 
ssl_unclean_shutdown needs to be ifdef USE_SSL

24 years agoBugzilla #131
hno [Sat, 20 Oct 2001 15:32:51 +0000 (15:32 +0000)] 
Bugzilla #131

Added a recommended default rule to block access TO localhost

commented out by default as some people need to be able to access
localhost, or run in environments where DNS isn't used
(never_direct allow all).

24 years agoMore minor https_port documentation cleanups
hno [Sat, 20 Oct 2001 05:49:36 +0000 (05:49 +0000)] 
More minor https_port documentation cleanups

24 years agoMinor cleanup of https_port options documentation
hno [Sat, 20 Oct 2001 05:40:28 +0000 (05:40 +0000)] 
Minor cleanup of https_port options documentation

24 years agoSSL update from the "ssl" branch at SourceForge
hno [Sat, 20 Oct 2001 04:34:48 +0000 (04:34 +0000)] 
SSL update from the "ssl" branch at SourceForge

* Several SSL tweaking options
  - SSL version per https_port, no longer a global setting
  - supported chipers, per https_port
  - supported protocols, per https_port
  - connection shutdown method

* Fix the bug reported by Noel Burton-Krahn where SSL connections
  could get hung with data pending in the SSL internal buffers. Mostly
  seen on large POST/PUT requests, but could in theory appear on any
  request larger than 4K.

24 years agoSunPRO cc found a bug.. adrian changed the argument name to htime,
hno [Thu, 18 Oct 2001 03:37:28 +0000 (03:37 +0000)] 
SunPRO cc found a bug.. adrian changed the argument name to htime,
but forgot to update the assertion.

24 years agoGet rid of a "unused variable" warning when NTLM fail open isn't enabled
hno [Thu, 18 Oct 2001 03:05:00 +0000 (03:05 +0000)] 
Get rid of a "unused variable" warning when NTLM fail open isn't enabled

24 years agoMany small compiler warning fixes, mainly const strings
hno [Thu, 18 Oct 2001 02:25:01 +0000 (02:25 +0000)] 
Many small compiler warning fixes, mainly const strings

24 years agoBacked out bad/unneded cleanup
hno [Thu, 18 Oct 2001 01:50:50 +0000 (01:50 +0000)] 
Backed out bad/unneded cleanup

24 years agoSome warning fixes
hno [Thu, 18 Oct 2001 01:46:43 +0000 (01:46 +0000)] 
Some warning fixes

24 years agoMany small warning fixes, const and missing prototypes
hno [Thu, 18 Oct 2001 01:43:39 +0000 (01:43 +0000)] 
Many small warning fixes, const and missing prototypes

24 years agoMany small warning fixes, mostly const related
hno [Thu, 18 Oct 2001 01:33:06 +0000 (01:33 +0000)] 
Many small warning fixes, mostly const related

24 years agoANSI:fied the SNMP functions, and removed some stale junk
hno [Thu, 18 Oct 2001 01:05:37 +0000 (01:05 +0000)] 
ANSI:fied the SNMP functions, and removed some stale junk
and some const cleanup

24 years agoConverted to ANSI C
hno [Wed, 17 Oct 2001 23:55:23 +0000 (23:55 +0000)] 
Converted to ANSI C

24 years agobootstrapped
hno [Wed, 17 Oct 2001 23:11:29 +0000 (23:11 +0000)] 
bootstrapped

24 years agoNamespace cleanup of the digest and ntlm schemes
hno [Wed, 17 Oct 2001 23:09:08 +0000 (23:09 +0000)] 
Namespace cleanup of the digest and ntlm schemes

24 years agoThere is no need to include <ldap_cdefs.h>. This is an OpenLDAP internal
hno [Wed, 17 Oct 2001 21:29:06 +0000 (21:29 +0000)] 
There is no need to include <ldap_cdefs.h>. This is an OpenLDAP internal
include file, and breaks compability with other LDAP implementation.

24 years agoThe "aufs" and "diskd" stores also had the same sfileno confusion. Obvious
hno [Wed, 17 Oct 2001 21:00:54 +0000 (21:00 +0000)] 
The "aufs" and "diskd" stores also had the same sfileno confusion. Obvious
case of copy-paste programming.

24 years agoSimplified code flow to not confuse SunPRO cc into thinking that variables
hno [Wed, 17 Oct 2001 20:59:34 +0000 (20:59 +0000)] 
Simplified code flow to not confuse SunPRO cc into thinking that variables
are used unassigned..

24 years agobootstrapped
hno [Wed, 17 Oct 2001 20:54:58 +0000 (20:54 +0000)] 
bootstrapped

24 years ago--use-pthreads needs to add thread compiler options on Solaris
hno [Wed, 17 Oct 2001 20:54:36 +0000 (20:54 +0000)] 
--use-pthreads needs to add thread compiler options on Solaris

24 years agoMore SunPRO cc warnings and errors..
hno [Wed, 17 Oct 2001 19:43:06 +0000 (19:43 +0000)] 
More SunPRO cc warnings and errors..

* Some signed/unsigned char conflicts
* Errored out on a // comment.. this is C not C++.
* cleanup of sfileno usage in "ufs".. not good to have variables named the
  same as a type.. and even worse when the type differs.

24 years agoFixes various warnings emitted in lib by the SunPRO cc compiler, and
hno [Wed, 17 Oct 2001 19:30:49 +0000 (19:30 +0000)] 
Fixes various warnings emitted in lib by the SunPRO cc compiler, and
synchronized the MD5 prototypes with OpenSSL.

* MD5 operates on binary data, not characters. Avoid signed/unsigned issues
* The bswap16/32 macros was not signed/unsigned safe
* lib/rfc2617 had several spurious extra ;
* MD5Final wants an unsigned char *

24 years agoindent
hno [Wed, 17 Oct 2001 18:41:48 +0000 (18:41 +0000)] 
indent

24 years agoMinor cosmetic fix of squid_ldap_auth usage message
hno [Wed, 17 Oct 2001 18:33:34 +0000 (18:33 +0000)] 
Minor cosmetic fix of squid_ldap_auth usage message

24 years agoA bunch of quick patches to silence gcc warnings when compiling
adrian [Wed, 17 Oct 2001 16:59:08 +0000 (16:59 +0000)] 
A bunch of quick patches to silence gcc warnings when compiling
with FreeBSD's BDECFLAGS. These include duplicate declarations,
declarations shadowing global declarations, implicit type size
and signed/unsigned conversions.

24 years agoMake xcalloc() take size_t in both it's arguments. This to match the
hno [Wed, 17 Oct 2001 07:36:05 +0000 (07:36 +0000)] 
Make xcalloc() take size_t in both it's arguments. This to match the
definition of calloc().

24 years agoDon't mess with libexecdir in the makefiles. This is the job of configure
hno [Tue, 16 Oct 2001 20:25:57 +0000 (20:25 +0000)] 
Don't mess with libexecdir in the makefiles. This is the job of configure

24 years agomemcpy and friends requires string.h
hno [Mon, 15 Oct 2001 15:57:36 +0000 (15:57 +0000)] 
memcpy and friends requires string.h

24 years agoindent
hno [Sat, 13 Oct 2001 05:33:00 +0000 (05:33 +0000)] 
indent

24 years agoPotential fix for Bugzilla #236
hno [Sat, 13 Oct 2001 00:20:23 +0000 (00:20 +0000)] 
Potential fix for Bugzilla #236

Reading the code shows that if the reply contains a single truncated entry
then rfc1035AnswersUnpack will return 0 records, possibly causing assertion
failure in rfc1035RRDestroy

24 years agotosaddracl messed up one of the comments
hno [Thu, 11 Oct 2001 19:12:57 +0000 (19:12 +0000)] 
tosaddracl messed up one of the comments

24 years agoCommit Roger Venning's TOS/source address ACL selection work.
adrian [Wed, 10 Oct 2001 21:17:37 +0000 (21:17 +0000)] 
Commit Roger Venning's TOS/source address ACL selection work.
This code allows the user to set ToS bits or the source address
of an ACL by defining an ACL and then using that ACL in
(mutiple instances of the) tcp_outgoing_address statement.

24 years agoUnwrap globals.h
hno [Mon, 8 Oct 2001 23:04:03 +0000 (23:04 +0000)] 
Unwrap globals.h

24 years agoOops..
hno [Mon, 8 Oct 2001 22:55:25 +0000 (22:55 +0000)] 
Oops..

24 years agoBugzilla #11: Some Header Files Not Wrapped Or Wrapped Improperly
hno [Mon, 8 Oct 2001 22:18:31 +0000 (22:18 +0000)] 
Bugzilla #11: Some Header Files Not Wrapped Or Wrapped Improperly

24 years agoThe rearrangement of store/file numbers broke the on-disk STORE_META_STD
hno [Mon, 8 Oct 2001 21:05:11 +0000 (21:05 +0000)] 
The rearrangement of store/file numbers broke the on-disk STORE_META_STD
TLV field in the on-disk file header.

24 years ago* Be more consistent with OpenLDAP tools in how to specify the LDAP server
hno [Sat, 6 Oct 2001 04:30:38 +0000 (04:30 +0000)] 
* Be more consistent with OpenLDAP tools in how to specify the LDAP server
  -h hostname

* Allow for more than one LDAP server to be specified

24 years agoOops..
hno [Sat, 6 Oct 2001 03:58:58 +0000 (03:58 +0000)] 
Oops..

24 years agoBe consistent with most other helpers in how to manage spaces. If there
hno [Sat, 6 Oct 2001 03:54:03 +0000 (03:54 +0000)] 
Be consistent with most other helpers in how to manage spaces. If there
is space characters then assume these are from the password, not the login
name.

24 years agoSome spelling corrections
hno [Thu, 4 Oct 2001 18:47:59 +0000 (18:47 +0000)] 
Some spelling corrections

24 years agoAdded a warning about append_domain blocking access to top-domain sites
hno [Thu, 4 Oct 2001 05:11:05 +0000 (05:11 +0000)] 
Added a warning about append_domain blocking access to top-domain sites
such as http://dk/, http://cc/ or http://tv/

24 years agoFurther cleanup of quick_abort description. It is wrong to say that
hno [Thu, 4 Oct 2001 05:00:07 +0000 (05:00 +0000)] 
Further cleanup of quick_abort description. It is wrong to say that
it can be configured to continue downloading when in fact the default
is to continue if there is less than 16 KB remaining.

24 years agoMake the wording in quick_abort less ambigous. Lots of people seem to
hno [Thu, 4 Oct 2001 04:56:20 +0000 (04:56 +0000)] 
Make the wording in quick_abort less ambigous. Lots of people seem to
think that quick_abort_min actually makes Squid to never continuing
the downloads..

24 years agoCosmetic: Added a missing linefeed from a lowlevel debug message
hno [Thu, 4 Oct 2001 02:12:47 +0000 (02:12 +0000)] 
Cosmetic: Added a missing linefeed from a lowlevel debug message

24 years agoBootstrapped with maintainer mode
hno [Wed, 3 Oct 2001 20:56:50 +0000 (20:56 +0000)] 
Bootstrapped with maintainer mode

24 years agoDon't rely on getcwd(NULL,..) allocating the needed memory. This is
hno [Wed, 3 Oct 2001 15:16:13 +0000 (15:16 +0000)] 
Don't rely on getcwd(NULL,..) allocating the needed memory. This is
non-standardized and implementation dependent.

24 years agoAdded maintainer mode to not have automake dependencies rebuild automake
hno [Wed, 3 Oct 2001 15:02:24 +0000 (15:02 +0000)] 
Added maintainer mode to not have automake dependencies rebuild automake
files bo default. This is likely to be confusing and causing lots of problems
to the causal user, especially considering the rather strict requirements
we have on automake versions...

24 years agoRemoved all trailing spaces
hno [Tue, 2 Oct 2001 00:28:04 +0000 (00:28 +0000)] 
Removed all trailing spaces