]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
23 years agoThese comments before aclIpNetworkCompare() turned out to be true:
wessels [Wed, 17 Apr 2002 11:31:46 +0000 (11:31 +0000)] 
These comments before aclIpNetworkCompare() turned out to be true:

  * NOTE: this is very similar to aclIpNetworkCompare and it's not yet
  * clear whether this OK. The problem could be with when a network
  * is a subset of the other networks:
  *
  * 128.1.2.0/255.255.255.128 == 128.1.2.0/255.255.255.0 ?
  *
  * Currently only the first address of the first network is used.

The aclIpNetworkCompare() function did not detect collisions and/or
overlapping addresses that can confuse the splay sorting algorithm.
This was proven with an ACL like:

acl a src 1.2.3.4/32
acl a src 1.2.3.0/24

...and then testing the access controls with this sequence of
source IP addresses:

9.9.9.9 correctly denied
1.2.3.4 correctly allowed
1.2.3.5 incorrectly denied
1.2.3.4 correctly allowed
1.2.3.3 correctly allowed
1.2.3.5 correctly allowed

This patch creates two functions for use by the splay library.  One
is used for inserting new ACL entries.  It complains when it detects
a collision/overlap.  The other is used for checking the access
control lists.

I also discovered that we were technically passing the wrong data
type to aclIpNetworkCompare() from aclMatchIp() (via the splay
routines).  The first argument was a 'struct in_addr' but should
really be a 'struct acl_ip_data'.  There was no harm, apparently,
because the first element of acl_ip_data is an in_addr, and the
only member that aclIpNetworkCompare() accesses.  Perhaps this was
intentional, but I doubt it.

23 years agoadd *.gif to .cvsignore
wessels [Wed, 17 Apr 2002 05:13:06 +0000 (05:13 +0000)] 
add *.gif to .cvsignore

23 years agoadd the binaries to .cvsignore
wessels [Wed, 17 Apr 2002 05:12:42 +0000 (05:12 +0000)] 
add the binaries to .cvsignore

23 years agoadding .cvsignore files
wessels [Wed, 17 Apr 2002 05:08:44 +0000 (05:08 +0000)] 
adding .cvsignore files

23 years agooops, undo this mistakenly-committed change
wessels [Wed, 17 Apr 2002 04:45:25 +0000 (04:45 +0000)] 
oops, undo this mistakenly-committed change

23 years agouse %ld in printf to avoid compiler warnings.
wessels [Wed, 17 Apr 2002 04:43:38 +0000 (04:43 +0000)] 
use %ld in printf to avoid compiler warnings.

23 years agoIncrement and decrement store_dirs_rebuilding counter so that
wessels [Wed, 17 Apr 2002 04:43:05 +0000 (04:43 +0000)] 
Increment and decrement store_dirs_rebuilding counter so that
we dont get an assertion if, for some reason, the config file
has more than one 'null' cache_dir.

23 years agoHave memBufAppend \0 terminate the data, allowing it to be used on strings
hno [Tue, 16 Apr 2002 06:35:39 +0000 (06:35 +0000)] 
Have memBufAppend \0 terminate the data, allowing it to be used on strings
(done quite frequently, the error was unnotices as mempools always zeroed
the data, and the likelyhood the buffer is exacly filled is very small)

23 years agoClear all pools on free. Don't assume pools having an even size (in KB) is
hno [Tue, 16 Apr 2002 06:33:29 +0000 (06:33 +0000)] 
Clear all pools on free. Don't assume pools having an even size (in KB) is
plain buffers.

23 years agoBootstrapped
hno [Mon, 15 Apr 2002 06:17:12 +0000 (06:17 +0000)] 
Bootstrapped

23 years agoDist the squid_sasl_auth squid_sasl_auth.conf config files
hno [Mon, 15 Apr 2002 04:24:03 +0000 (04:24 +0000)] 
Dist the squid_sasl_auth squid_sasl_auth.conf config files
(should probably install those somewhere..)

23 years agodist msntauth.h
hno [Mon, 15 Apr 2002 04:21:21 +0000 (04:21 +0000)] 
dist msntauth.h

23 years agoMake GCC happy with printf formats
hno [Mon, 15 Apr 2002 04:08:36 +0000 (04:08 +0000)] 
Make GCC happy with printf formats

23 years agoBacked out Bugzilla #164 patch. It is not complete.
hno [Mon, 15 Apr 2002 03:51:36 +0000 (03:51 +0000)] 
Backed out Bugzilla #164 patch. It is not complete.

23 years agoBootstrapped
hno [Mon, 15 Apr 2002 02:00:43 +0000 (02:00 +0000)] 
Bootstrapped

23 years agoSet SQUID_RELEASE_TIME when making a release
hno [Mon, 15 Apr 2002 01:58:53 +0000 (01:58 +0000)] 
Set SQUID_RELEASE_TIME when making a release

23 years agoBugzilla #271: diskd and comm_quick_poll_requrired
hno [Sun, 14 Apr 2002 22:10:03 +0000 (22:10 +0000)] 
Bugzilla #271: diskd and comm_quick_poll_requrired

23 years agoInstall squid.conf and mime.conf in their configured default locations
hno [Sun, 14 Apr 2002 21:57:01 +0000 (21:57 +0000)] 
Install squid.conf and mime.conf in their configured default locations
not blindly assuming sysconfdir.

23 years agoBugzilla #164: delay_access and proxy_auth ACL types
hno [Sun, 14 Apr 2002 19:58:01 +0000 (19:58 +0000)] 
Bugzilla #164: delay_access and proxy_auth ACL types
Patch by Robert Collins.

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

23 years agoNew improved reference based cbdata API, avoiding the need to
hno [Sun, 14 Apr 2002 05:07:47 +0000 (05:07 +0000)] 
New improved reference based cbdata API, avoiding the need to
manual lock/unlock. Including full programmers guide documentation

23 years agoMark successfull FTP transfers as complete to allow them to stay in the
hno [Sun, 14 Apr 2002 04:56:21 +0000 (04:56 +0000)] 
Mark successfull FTP transfers as complete to allow them to stay in the
cache.

23 years agoMake the default refresh_pattern merely a suggested default. This is
hno [Sun, 14 Apr 2002 04:30:53 +0000 (04:30 +0000)] 
Make the default refresh_pattern merely a suggested default. This is
consistent with older Squid versions due to a bug in the "DEFAULT-IF-NONE"
processing of refresh_pattern.

23 years agoDefault refresh patterns
hno [Sun, 14 Apr 2002 04:25:19 +0000 (04:25 +0000)] 
Default refresh patterns

23 years agoBootstrapped
hno [Sat, 13 Apr 2002 23:46:31 +0000 (23:46 +0000)] 
Bootstrapped

23 years agoAC_CHECK_SIZEOF_SYSTYPE (forgot to add acinclude.m4 previously)
hno [Sat, 13 Apr 2002 23:45:39 +0000 (23:45 +0000)] 
AC_CHECK_SIZEOF_SYSTYPE (forgot to add acinclude.m4 previously)

23 years agoBootstrapped
hno [Sat, 13 Apr 2002 23:43:59 +0000 (23:43 +0000)] 
Bootstrapped

23 years agoCARP enabled by default
hno [Sat, 13 Apr 2002 22:30:12 +0000 (22:30 +0000)] 
CARP enabled by default

23 years agoEnable CARP by default now when it no longer is a intrusive change
hno [Sat, 13 Apr 2002 22:29:06 +0000 (22:29 +0000)] 
Enable CARP by default now when it no longer is a intrusive change
to how Squid peers with other caches

23 years agoconst correctness
hno [Sat, 13 Apr 2002 22:24:50 +0000 (22:24 +0000)] 
const correctness

23 years agoOops.. need to test even trivial changes..
hno [Sat, 13 Apr 2002 21:51:43 +0000 (21:51 +0000)] 
Oops.. need to test even trivial changes..

23 years agoFixed a merge error in the improved CARP implementation, reported by
hno [Sat, 13 Apr 2002 21:46:42 +0000 (21:46 +0000)] 
Fixed a merge error in the improved CARP implementation, reported by
Guido.

23 years agoBootstrapped
hno [Sat, 13 Apr 2002 21:37:37 +0000 (21:37 +0000)] 
Bootstrapped

23 years agoBugzilla #314: Transparent proxy support for OpenBSD's PF
hno [Sat, 13 Apr 2002 21:30:10 +0000 (21:30 +0000)] 
Bugzilla #314: Transparent proxy support for OpenBSD's PF
patch by Brad Smith <brad@comstyle.com>

23 years agoDeal with '%c' in custom deny_info error pages
hno [Sat, 13 Apr 2002 20:27:41 +0000 (20:27 +0000)] 
Deal with '%c' in custom deny_info error pages

23 years agoBugzilla #207: Abort requests becoming too large for us to handle
hno [Sat, 13 Apr 2002 20:16:04 +0000 (20:16 +0000)] 
Bugzilla #207: Abort requests becoming too large for us to handle
(2GB on 32bit machines)

23 years agoAutoconf cleanups
hno [Sat, 13 Apr 2002 20:11:43 +0000 (20:11 +0000)] 
Autoconf cleanups
 * Simplified --with-pthreads and --with-aio, and automatically enable
   when known to be required (aufs / coss)
 * Added --with-dl, mainly to be used together with --with-openssl on
   systems where openssl requires -ldl.

23 years agoDocumented no_cache change (not new, but rather important)
hno [Fri, 12 Apr 2002 04:34:49 +0000 (04:34 +0000)] 
Documented no_cache change (not new, but rather important)

23 years agoBugzilla #297: Ignore no_cache or reload on icons
hno [Fri, 12 Apr 2002 04:05:53 +0000 (04:05 +0000)] 
Bugzilla #297: Ignore no_cache or reload on icons

23 years agoBugzilla #297, icons not working in Squid-2.5.
hno [Fri, 12 Apr 2002 03:34:03 +0000 (03:34 +0000)] 
Bugzilla #297, icons not working in Squid-2.5.

23 years agomsntauth update
hno [Fri, 12 Apr 2002 01:31:26 +0000 (01:31 +0000)] 
msntauth update

23 years agoCoding style cleanups to make GCC happy
hno [Fri, 12 Apr 2002 01:30:16 +0000 (01:30 +0000)] 
Coding style cleanups to make GCC happy

23 years agoUpdated Basic MSNT auth helper (msntauth) to v2.0.3 from the authors
hno [Fri, 12 Apr 2002 01:14:47 +0000 (01:14 +0000)] 
Updated Basic MSNT auth helper (msntauth) to v2.0.3 from the authors
web page <http://members.tripod.com/stellarx/software.html>

23 years agoWhen resolving our name from IP, use the first http OR https port found,
hno [Thu, 11 Apr 2002 23:05:31 +0000 (23:05 +0000)] 
When resolving our name from IP, use the first http OR https port found,
and dont segfault if none is set..

23 years agoOops.. need assert.h if calling assert()...
hno [Thu, 11 Apr 2002 23:04:02 +0000 (23:04 +0000)] 
Oops.. need assert.h if calling assert()...

23 years agoDeal with end-of-line comments in ACL definitions, such as used in the
hno [Thu, 11 Apr 2002 22:45:28 +0000 (22:45 +0000)] 
Deal with end-of-line comments in ACL definitions, such as used in the
default Safe_ports definition.

23 years agoReported by Olaf Kirch:
hno [Thu, 11 Apr 2002 04:12:31 +0000 (04:12 +0000)] 
Reported by Olaf Kirch:
A possible buffer overflow in process_request

23 years agoReported by Olaf Kirch:
hno [Thu, 11 Apr 2002 04:09:40 +0000 (04:09 +0000)] 
Reported by Olaf Kirch:
Possible buffer overflow in make_auth_header

23 years agoUpdate from "yoav"
hno [Thu, 11 Apr 2002 03:43:42 +0000 (03:43 +0000)] 
Update from "yoav"

23 years agoAllow recursive compression. Put a limit at 64 as "insane", to infinite
hno [Thu, 11 Apr 2002 03:16:17 +0000 (03:16 +0000)] 
Allow recursive compression. Put a limit at 64 as "insane", to infinite
recursion.

This was causing problems at for example ftp.kde.org:

;; ANSWER SECTION:
ftp.kde.org.            1405    IN      CNAME   bolugftp.uni-bonn.de.
bolugftp.uni-bonn.de.   75221   IN      CNAME   subraum.rhrz.uni-bonn.de.
subraum.rhrz.uni-bonn.de. 75221 IN      A       131.220.60.97

Here subraum.rhrz.uni-bonn.de. is compressed using it's CNAME which is
compressed using the prior CNAME.

23 years agoFixed one more pointer aritmetics portability issue in memCompObjChunks
hno [Mon, 8 Apr 2002 16:17:11 +0000 (16:17 +0000)] 
Fixed one more pointer aritmetics portability issue in memCompObjChunks

23 years agoChanged "age" to "heap_age" to avoid confustion.
hno [Mon, 8 Apr 2002 15:03:17 +0000 (15:03 +0000)] 
Changed "age" to "heap_age" to avoid confustion.

Extended the "lost attribution" to include a reference to the heap paper

23 years agoAdded back missing attributions
hno [Mon, 8 Apr 2002 14:48:47 +0000 (14:48 +0000)] 
Added back missing attributions

23 years agoOops. My cleanup of pointer aritmetic in memCompChunks inadvertly
hno [Mon, 8 Apr 2002 14:19:05 +0000 (14:19 +0000)] 
Oops. My cleanup of pointer aritmetic in memCompChunks inadvertly
compared the wrong pointers.. Must have been tired.

Thanks to Andree for noticing quickly

23 years agoBugzilla #132:
hno [Mon, 8 Apr 2002 04:16:47 +0000 (04:16 +0000)] 
Bugzilla #132:

Better labels on the HTTP/ICP messages per minute to indicate these are
averates since start, not current values.

23 years agoConditionally remove the sb variable definitions when their uses
hno [Sun, 7 Apr 2002 17:52:33 +0000 (17:52 +0000)] 
Conditionally remove the sb variable definitions when their uses
are not available on the platform (fchmod)

23 years agoBugzilla #293: Request for a icp_query_timeout_min option
hno [Sun, 7 Apr 2002 09:35:30 +0000 (09:35 +0000)] 
Bugzilla #293: Request for a icp_query_timeout_min option

23 years agoBugzilla #283: fileno-to-pathname.pl does not work with squid 2.x
hno [Sun, 7 Apr 2002 09:33:40 +0000 (09:33 +0000)] 
Bugzilla #283: fileno-to-pathname.pl does not work with squid 2.x

23 years agoBootstrapped
hno [Sun, 7 Apr 2002 08:11:11 +0000 (08:11 +0000)] 
Bootstrapped

23 years agoBugzilla #274: Assertion failure on ETag with odd headers
hno [Sun, 7 Apr 2002 07:41:54 +0000 (07:41 +0000)] 
Bugzilla #274: Assertion failure on ETag with odd headers

23 years agoA matching #ifdef S_ISREG on the temporary sb variable used for S_ISREG
hno [Sun, 7 Apr 2002 03:48:44 +0000 (03:48 +0000)] 
A matching #ifdef S_ISREG on the temporary sb variable used for S_ISREG
testing..

23 years agoBugfix: Uninitialized variable (trapped by GCC)
hno [Sat, 6 Apr 2002 22:24:41 +0000 (22:24 +0000)] 
Bugfix: Uninitialized variable (trapped by GCC)

23 years agoPorted to the revised chunked mempools API
hno [Sat, 6 Apr 2002 22:08:05 +0000 (22:08 +0000)] 
Ported to the revised chunked mempools API

23 years agoCleaned up pointer arithmetic
hno [Sat, 6 Apr 2002 22:06:13 +0000 (22:06 +0000)] 
Cleaned up pointer arithmetic
* (void *) cannot be used in arithmetic
* It is not safe to cast pointers to int (size downcast)

23 years agoBugzilla #244: Remove reference to sys_nerr
hno [Sat, 6 Apr 2002 20:57:11 +0000 (20:57 +0000)] 
Bugzilla #244: Remove reference to sys_nerr

Patch by Allen Wittenauer / SUN.

23 years agoPatch by Duane:
hno [Sat, 6 Apr 2002 19:54:42 +0000 (19:54 +0000)] 
Patch by Duane:

Dynamically calculate the amount of needed SHM buffers for diskd at startup,
and complain if squid -k reconfigure tries to increase the Q1/Q2 values.

23 years agoFix a memory leak on http_reply_access deny ...
hno [Sat, 6 Apr 2002 18:25:46 +0000 (18:25 +0000)] 
Fix a memory leak on http_reply_access deny ...

23 years agoDon't try to spit out the 'unallocated' stuff unless you've got the
adrian [Sat, 6 Apr 2002 15:57:54 +0000 (15:57 +0000)] 
Don't try to spit out the 'unallocated' stuff unless you've got the
right set of compile time flags.

The code didn't compile under BSD which doesn't have mallinfo() or whatever
it needs..

23 years ago* Commit Andres Kroonmaa's chunked memory pool allocator
adrian [Sat, 6 Apr 2002 15:49:21 +0000 (15:49 +0000)] 
* Commit Andres Kroonmaa's chunked memory pool allocator
* bootstrap

23 years agoRewrote the confusing comment on cache_mem suggesting that Squid may use
hno [Fri, 5 Apr 2002 15:55:22 +0000 (15:55 +0000)] 
Rewrote the confusing comment on cache_mem suggesting that Squid may use
3 to 4 times the size of cache_mem.. Instead added a reference to the FAQ.

23 years agoBootstrapped
hno [Fri, 5 Apr 2002 08:10:58 +0000 (08:10 +0000)] 
Bootstrapped

23 years agoUNIX domain IPC sockets support
hno [Fri, 5 Apr 2002 06:59:25 +0000 (06:59 +0000)] 
UNIX domain IPC sockets support

Centralised the IPC type selection to defines.h by the defines IPC_STREAM
and IPC_DGRAM.

23 years agoMake http_port optional, allowing for SSL-only operation. Squid will
hno [Fri, 5 Apr 2002 04:33:26 +0000 (04:33 +0000)] 
Make http_port optional, allowing for SSL-only operation. Squid will
refuse to start unless at least one port is defined.

23 years agoAbility to read the configuration file from an external program pipe
hno [Fri, 5 Apr 2002 04:17:24 +0000 (04:17 +0000)] 
Ability to read the configuration file from an external program pipe

23 years agoMajor cleanup or CARP. Now plays well with the other peering algorithms
hno [Fri, 5 Apr 2002 04:03:46 +0000 (04:03 +0000)] 
Major cleanup or CARP. Now plays well with the other peering algorithms
as just another non-ICP peering method.

23 years agosquid.conf grammar corrections by "marius"
hno [Wed, 3 Apr 2002 03:32:43 +0000 (03:32 +0000)] 
squid.conf grammar corrections by "marius"

23 years agoNew deny_info capabilities to redirect to another server
hno [Tue, 2 Apr 2002 18:38:02 +0000 (18:38 +0000)] 
New deny_info capabilities to redirect to another server

  deny_info http://www.example.com/ acl1 acl2 ...
  deny_info TCP_RESET acl3 acl4 ...

23 years agoBootstrapped
hno [Tue, 2 Apr 2002 08:34:08 +0000 (08:34 +0000)] 
Bootstrapped

23 years agoI must be tired.. more of this crap.
hno [Tue, 2 Apr 2002 08:33:04 +0000 (08:33 +0000)] 
I must be tired.. more of this crap.

23 years agoBootstrapped
hno [Tue, 2 Apr 2002 08:30:03 +0000 (08:30 +0000)] 
Bootstrapped

23 years agoOops.. one error directory too many.. (list is not an error directory)
hno [Tue, 2 Apr 2002 08:28:22 +0000 (08:28 +0000)] 
Oops.. one error directory too many.. (list is not an error directory)

23 years agoprintf format bugfix
hno [Tue, 2 Apr 2002 05:20:43 +0000 (05:20 +0000)] 
printf format bugfix

23 years agostore...WriteCleanEntry had a bug where it referenced already freed
hno [Tue, 2 Apr 2002 04:53:21 +0000 (04:53 +0000)] 
store...WriteCleanEntry had a bug where it referenced already freed
memory in case of a write failure (found by Guido)

23 years agoBootstrapped
hno [Mon, 1 Apr 2002 20:09:58 +0000 (20:09 +0000)] 
Bootstrapped

23 years agoconfigure cleanups
hno [Mon, 1 Apr 2002 20:06:28 +0000 (20:06 +0000)] 
configure cleanups

  - Removed potentially dangerous debugging options. Developers know
    how to edit configure.in or set defines.

  - configure --help lineups

23 years agoBootstrapped
hno [Mon, 1 Apr 2002 19:14:54 +0000 (19:14 +0000)] 
Bootstrapped

23 years agoBootstrapped
hno [Mon, 1 Apr 2002 19:06:31 +0000 (19:06 +0000)] 
Bootstrapped

23 years agoBootstrapped
hno [Mon, 1 Apr 2002 19:00:48 +0000 (19:00 +0000)] 
Bootstrapped

23 years agoSyncronised the list of error languages used when making distributions
hno [Mon, 1 Apr 2002 18:59:55 +0000 (18:59 +0000)] 
Syncronised the list of error languages used when making distributions

23 years agoSASL heler bugfix from Ian Castle. Forgot to turn off buffering of stdout
hno [Mon, 1 Apr 2002 16:08:38 +0000 (16:08 +0000)] 
SASL heler bugfix from Ian Castle. Forgot to turn off buffering of stdout

23 years agoThis patch was posted to squid-users some time ago. It allows the admin
wessels [Mon, 1 Apr 2002 13:02:15 +0000 (13:02 +0000)] 
This patch was posted to squid-users some time ago.  It allows the admin
to make Squid send TCP resets for certain error pages.

23 years agogindent -br -ce -i4 -ci4 -l80 -nlp -npcs -npsl -d0 -sc -di0 -psl
wessels [Mon, 1 Apr 2002 12:59:50 +0000 (12:59 +0000)] 
gindent -br -ce -i4 -ci4 -l80 -nlp -npcs -npsl -d0 -sc -di0 -psl

23 years agoBootstrapped
hno [Mon, 1 Apr 2002 08:17:06 +0000 (08:17 +0000)] 
Bootstrapped

23 years agoconst correctness fix by Guido
hno [Sun, 31 Mar 2002 21:50:21 +0000 (21:50 +0000)] 
const correctness fix by Guido

23 years agoSpelling corrections by Reuben Farrelly
hno [Sun, 31 Mar 2002 21:47:43 +0000 (21:47 +0000)] 
Spelling corrections by Reuben Farrelly

23 years agoSALS auth helper by Ian Castle
hno [Sun, 31 Mar 2002 21:45:57 +0000 (21:45 +0000)] 
SALS auth helper by Ian Castle

23 years agoBootstrapped
hno [Sun, 31 Mar 2002 08:10:43 +0000 (08:10 +0000)] 
Bootstrapped

23 years agoIan Castle
hno [Sun, 31 Mar 2002 00:00:29 +0000 (00:00 +0000)] 
Ian Castle

23 years agoBootstrapped
hno [Sat, 30 Mar 2002 23:46:21 +0000 (23:46 +0000)] 
Bootstrapped

23 years agoBootstrapped
hno [Sat, 30 Mar 2002 23:46:21 +0000 (23:46 +0000)] 
Bootstrapped