]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
23 years agoSupport OpenSSL headers outside standard system locations..
hno [Fri, 30 Nov 2001 17:23:17 +0000 (17:23 +0000)] 
Support OpenSSL headers outside standard system locations..
(need to use CPPFLAGS, not CFLAGS, else configure won't find the headers)

23 years agoBootstrapped
hno [Fri, 30 Nov 2001 17:07:30 +0000 (17:07 +0000)] 
Bootstrapped

23 years agoThe winbind helper does not exists in HEAD. Forgotten?
hno [Fri, 30 Nov 2001 17:00:17 +0000 (17:00 +0000)] 
The winbind helper does not exists in HEAD. Forgotten?

23 years agoprintf format fixes
hno [Fri, 30 Nov 2001 16:53:15 +0000 (16:53 +0000)] 
printf format fixes

23 years agoSome minor cleanups of NTLMSSP to get rid of compiler warnings
hno [Fri, 30 Nov 2001 16:50:28 +0000 (16:50 +0000)] 
Some minor cleanups of NTLMSSP to get rid of compiler warnings
  * Unused variable
  * Missing prototypes for SMBencrypt() and SMBNTencrypt()

23 years agoBootstrapped
hno [Thu, 29 Nov 2001 18:16:43 +0000 (18:16 +0000)] 
Bootstrapped

23 years agoMore --with-openssl corrections. Was refering to --with-ssl for the path
hno [Thu, 29 Nov 2001 18:11:01 +0000 (18:11 +0000)] 
More --with-openssl corrections. Was refering to --with-ssl for the path
argument..

23 years agoAdd custom SSL include path to CFLAGS. This is required globally for md5.h
hno [Thu, 29 Nov 2001 18:07:02 +0000 (18:07 +0000)] 
Add custom SSL include path to CFLAGS. This is required globally for md5.h

23 years agoThe CVS version is 2.5-DEVEL, not 2.5-ntlm...
hno [Thu, 29 Nov 2001 06:40:59 +0000 (06:40 +0000)] 
The CVS version is 2.5-DEVEL, not 2.5-ntlm...

23 years agoLatest bugfixes from the NTLM development branch.
robertc [Wed, 28 Nov 2001 15:01:41 +0000 (15:01 +0000)] 
Latest bugfixes from the NTLM development branch.

These include
* A memory leak in the auth infrastructure.
* Debugging and reliability fixes to the NTLMSSP helper.
* The brand spanking new winbindd helper developed by Kinkie with input from
  the SAMBA team. This helper should eliminate the occasional errors currently
  plaguing NTLM with the NTLMSSP helper. It's included for completeness, as
  it has no squid-internal changes, but the actual helper needs some serious
  user bashing to be called stable.

23 years ago* Remove the autoconf path overrides from configure.in
robertc [Wed, 28 Nov 2001 10:02:30 +0000 (10:02 +0000)] 
* Remove the autoconf path overrides from configure.in
* Update icons and errors to install to $(sharedstatedir)/squid/icons
and ... errors. This could be simply $(sharedstatedir)/icons and errors,
but I don't think there is much call for reusing the squid specific
stuff :}. The shareing is for NFS installs and the like via the
autoconf site override capability.
* ERR_LANGUAGE and --enable-err-language to ERR_DEFAULT_LANGUAGE to
allow choice of which of the installed languages is to be used, without
preventing the install of all languages.
* New option --enable-err-languages to choose specific languages to
install.
* blindly overwrite any existing error files, if users have custom files
they should place them in a directory of their own.

23 years agoBetter explanations for login=PASS option
hno [Sat, 24 Nov 2001 06:38:52 +0000 (06:38 +0000)] 
Better explanations for login=PASS option

23 years ago--with-openssl is not the same thing as --enable-ssl. --with-openssl only
hno [Thu, 22 Nov 2001 06:47:10 +0000 (06:47 +0000)] 
--with-openssl is not the same thing as --enable-ssl. --with-openssl only
links with the OpenSSL crypto libraries for faster MD5 implementation.

23 years agoAdded a couple of leading dots to dstdomain examples
hno [Tue, 20 Nov 2001 19:26:58 +0000 (19:26 +0000)] 
Added a couple of leading dots to dstdomain examples

23 years ago* add a header containing an Id tag
adrian [Mon, 19 Nov 2001 16:02:57 +0000 (16:02 +0000)] 
* add a header containing an Id tag
* add miss_access in the http/icp access section

23 years agoDon't strip out anchors from URL's. Doing so violates the HTTP specification
hno [Sun, 18 Nov 2001 17:20:28 +0000 (17:20 +0000)] 
Don't strip out anchors from URL's. Doing so violates the HTTP specification
on URL transformation and semantical transparency.

23 years agoEnable dlmalloc automatically if we're building on an SGI running
adrian [Sun, 18 Nov 2001 10:41:26 +0000 (10:41 +0000)] 
Enable dlmalloc automatically if we're building on an SGI running
IRIX.

IRIX's system malloc isn't very squid-friendly, and causes large
memory leaks for people.

23 years agoSome WIN32 enhancements on WIN32 GetOSVersion code by Guido
hno [Sat, 17 Nov 2001 18:09:24 +0000 (18:09 +0000)] 
Some WIN32 enhancements on WIN32 GetOSVersion code by Guido

23 years agoIndend
hno [Sat, 17 Nov 2001 18:08:55 +0000 (18:08 +0000)] 
Indend

23 years agoAdded BPROPPATCH metchod
hno [Sat, 17 Nov 2001 00:02:20 +0000 (00:02 +0000)] 
Added BPROPPATCH metchod

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

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

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

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

23 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

23 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

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

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

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

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

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

23 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

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

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

23 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

23 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

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

23 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

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

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

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

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

23 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".

23 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

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

23 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

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

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

23 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

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

23 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

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

23 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

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

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

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

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

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

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

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

23 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

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

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

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

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

23 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

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

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

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

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

23 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

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

23 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

23 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

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

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

23 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

23 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

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

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

23 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

23 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

23 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

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

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

23 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

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

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

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

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

23 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

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

23 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 *

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

23 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

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

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

23 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

23 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

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