]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
17 years agoPrep for STABLE 8
Amos Jeffries [Fri, 18 Jul 2008 06:48:14 +0000 (18:48 +1200)] 
Prep for STABLE 8

17 years agoDrop incorrect mention of all ACL.
Amos Jeffries [Thu, 17 Jul 2008 15:28:09 +0000 (09:28 -0600)] 
Drop incorrect mention of all ACL.

17 years agoUpdate Changelog for STABLE8
Amos Jeffries [Thu, 17 Jul 2008 15:05:25 +0000 (09:05 -0600)] 
Update Changelog for STABLE8

17 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Thu, 17 Jul 2008 13:02:33 +0000 (07:02 -0600)] 
Author: Mark Nottingham <mnot@pobox.com>
Bug #2376: Round-Robin becomes unbalanced when a peer dies and comes back

When a peer goes down and then comes back, its round-robin counters aren't
reset, causing it to get a disproportionate amount of traffic until it "catches
up" with the rest of the peers in the round-robin pool.

If it was down for load-related issues, this has the effect of making it more
likely that it will go down again, because it's temporarily handling the load
of the entire pool.

Normally, this isn't a concern, because the number of requests that it can get
out-of-step is relatively small (bounded to how many requests it can be given
before it is considered down -- is this 10 in all cases, or are there corner
cases?), but in an accelerator case where the origin has a process-based
request-handling model, or back-end processes are CPU-intensive, it is.

This patch resets the counters each time a peer changes state.

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 17 Jul 2008 11:51:01 +0000 (05:51 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
userhash and sourcehash peer selection methods

These is effectively just copies of carp.cc with changed keying method
to key on the authenticated username respectiely client source address.

17 years agoBug 2411: fakeauth_auth is crashing during NTLM auth
Amos Jeffries [Thu, 17 Jul 2008 10:51:59 +0000 (04:51 -0600)] 
Bug 2411: fakeauth_auth is crashing during NTLM auth

A NULL abort test was missing from the Squid-3 version.

17 years agoFix compile error auto-testing found
Amos Jeffries [Thu, 17 Jul 2008 10:49:55 +0000 (04:49 -0600)] 
Fix compile error auto-testing found

17 years agoSupercede b8856: old compiler support
Amos Jeffries [Tue, 15 Jul 2008 11:51:16 +0000 (23:51 +1200)] 
Supercede b8856: old compiler support

Seems the (void) casting method indicated as the best method to fix
unused return warning does not actually work. :-(

Of the other approaches, I'm picking this one used previously by the
SuSE Linux port of Squid as the cleanest.

Thanks Michael Bienia from the Ubuntu team for assistance testing.

17 years agoWindows port: Fix mswin_check_ad_group build error on MinGW and Cygwin
Guido Serassio [Sun, 13 Jul 2008 12:24:35 +0000 (14:24 +0200)] 
Windows port: Fix mswin_check_ad_group build error on MinGW and Cygwin

The w32api currently available on MinGW and Cygwin is not complete, and
lacks the needed AD functions for mswin_check_ad_group.
This add to config.test the check for the availability of the needed functions.

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 12 Jul 2008 12:48:15 +0000 (06:48 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Workaround for Linux-2.6.24/2.6.25 netfilter_ipv4.h __u32 issue

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 12 Jul 2008 12:45:55 +0000 (06:45 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Make --with-large-files and --with-build-envirnment=default play nice together

In this combination we need to add -D_FILE_OFFSET_BITS=64 just as we do when
not finding a suitable build environment.

17 years agoBoost error pages HTML standards.
Amos Jeffries [Sat, 12 Jul 2008 12:24:42 +0000 (06:24 -0600)] 
Boost error pages HTML standards.

This converts the hard-coded footer section of all error pages to XHTML
or HTML 4.01 Strict compliance. Ready for any improvements done on page
templates themselves to match the compliance level.

17 years agoCompiler support: fix cc compiler complaints about function results
Amos Jeffries [Fri, 11 Jul 2008 10:35:53 +0000 (04:35 -0600)] 
Compiler support: fix cc compiler complaints about function results

Fixes warnings produced by cc compiler about unused function
results. gcc ignores these.

This patch is to fix package generation on Ubuntu. By the looks
of it SuSE linux, Fedora Core, and RedHat also benefit.

17 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Thu, 10 Jul 2008 13:22:19 +0000 (01:22 +1200)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2400: ICAP accept mechanism assumes okay result

ACL checks produces an ACCESS_REQ_PROXY_AUTH result but ICAP
result handler assumes any non-zero result means ACCESS_ALLOWED

This can result in many requests being shunted to ICAP incorrently.

17 years agoWindows port: Restore _get_osfhandle() usage in FD_CLR and FD_SET macros
Guido Serassio [Wed, 9 Jul 2008 14:24:18 +0000 (16:24 +0200)] 
Windows port: Restore _get_osfhandle() usage in FD_CLR and FD_SET macros

17 years agoRemove strtok_r() usage because is not available on all platforms
Guido Serassio [Wed, 9 Jul 2008 13:15:32 +0000 (15:15 +0200)] 
Remove strtok_r() usage because is not available on all platforms

17 years agoBootstrapped
Henrik Nordstrom [Wed, 9 Jul 2008 00:13:42 +0000 (18:13 -0600)] 
Bootstrapped

17 years agoWindows port: Fix various build errors
Guido Serassio [Tue, 8 Jul 2008 10:33:53 +0000 (12:33 +0200)] 
Windows port: Fix various build errors

17 years agoWindows port: always shutdown winsocks on program termination
Guido Serassio [Tue, 8 Jul 2008 10:31:05 +0000 (12:31 +0200)] 
Windows port: always shutdown winsocks on program termination

WSACleanup() should called always before program termination.
Also ran indent on squid_radius_auth.c.

17 years agoWindows port: configure enhancements on MinGW
Guido Serassio [Tue, 8 Jul 2008 10:21:25 +0000 (12:21 +0200)] 
Windows port: configure enhancements on MinGW

- Really detect FD_SETSIZE on MinGW
- Detect real size of TCP and UDP buffers on MinGW
- Check for winsock.h or winsock2.h availability on MinGW

17 years agoWindows port: add option for control of IP address changes notification in squid...
Guido Serassio [Tue, 8 Jul 2008 10:07:15 +0000 (12:07 +0200)] 
Windows port: add option for control of IP address changes notification in squid.conf

On Windows Squid by default will monitor IP address changes and will
reconfigure itself after any detected event. This is very useful for
proxies connected to internet with dial-up interfaces.
In some cases (a Proxy server acting as VPN gateway is one) it could be
desiderable to disable this behaviour.

17 years agoWindows port: forward port of 2.7 lib functions updates
Guido Serassio [Tue, 8 Jul 2008 09:55:18 +0000 (11:55 +0200)] 
Windows port: forward port of 2.7 lib functions updates

- Implement crypt() on Windows
- Implement getopt() on Windows
- Implement dirent-style opendir(), readdir(), closedir(),
  rewinddir(), seekdir() and telldir() on Windows

17 years agoWindows port: allow build of squid_radius_auth on Windows
Guido Serassio [Tue, 8 Jul 2008 09:43:16 +0000 (11:43 +0200)] 
Windows port: allow build of squid_radius_auth on Windows

Experimental - correct helper functionality still NOT TESTED

17 years agoAuthor: Brad Smith <brad@comstyle.com>
Amos Jeffries [Tue, 8 Jul 2008 03:24:16 +0000 (21:24 -0600)] 
Author: Brad Smith <brad@comstyle.com>
Bug 2396: Correct the opening of the PF device file.

The PF device file is supposed to be opened read-only as of quite a number of
releases ago.

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Tue, 8 Jul 2008 03:01:49 +0000 (21:01 -0600)] 
Author: Guido Serassio <serassio@squid-cache.org>
Fix build error on Solaris using gcc and --with-large-files

On Solaris getconf returns for CFLAGS and LDFLAGS -xarch=generic64 option, but
this option is supported only by Sun cc, so we need to We need to replace it
with -m64 gcc equivalent option

17 years agoRollback: Windows port: cachemgr.cgi should use closesocket not close
Amos Jeffries [Fri, 4 Jul 2008 11:10:23 +0000 (23:10 +1200)] 
Rollback: Windows port: cachemgr.cgi should use closesocket not close

Squid-3 OS-specific portability code makes these obsolete.

17 years agoKill some magic numbers in string definition
Amos Jeffries [Thu, 3 Jul 2008 11:52:27 +0000 (23:52 +1200)] 
Kill some magic numbers in string definition

17 years agoWindows port: cachemgr.cgi should use closesocket not close
Amos Jeffries [Thu, 3 Jul 2008 05:07:35 +0000 (17:07 +1200)] 
Windows port: cachemgr.cgi should use closesocket not close

This bug was apparently fixed in 2.6 but not in 3.0.
It only affects Windows builds.

This brings Squid-3 cachemgr.cgi up to full Windows support parity with
Squid-2

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 3 Jul 2008 05:05:22 +0000 (17:05 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Port from 2.6: Support for cachemgr sub-actions

see. http://www.squid-cache.org/Versions/v2/2.6/changesets/10659.patch

This brings the Squid-3 cachemgr.cgi up to parity and backwards
compatibility with Squid 2.6 cachemgr.cgi

17 years agoChanged text file format from DOS to Unix
Guido Serassio [Sun, 29 Jun 2008 18:47:49 +0000 (20:47 +0200)] 
Changed text file format from DOS to Unix

17 years agoAdded missing reference to reconfigure cachemgr action in squid.conf
Guido Serassio [Sun, 29 Jun 2008 18:25:05 +0000 (20:25 +0200)] 
Added missing reference to reconfigure cachemgr action in squid.conf

17 years agoChanged text file format from DOS to Unix
Guido Serassio [Sun, 29 Jun 2008 18:17:11 +0000 (20:17 +0200)] 
Changed text file format from DOS to Unix

17 years agoAuthor: Alter <alter@alter.org.ua>
Amos Jeffries [Fri, 27 Jun 2008 13:40:12 +0000 (07:40 -0600)] 
Author: Alter <alter@alter.org.ua>
Bug 2301: Regression: Log format request/reply size options

MFC: logging HTTP-request size

I've made patch to Squid 2.5-stable14 (r4), which enables logging of
http-request size and/or total request+reply size.
Patch extends 'logformat' option of squid.conf. '>st' and 'st' can be
used to log request size and total size respectively. If 'st' is used
instead of '<st', squid will log total request size
instead of reply size to access.log. For example

logformat altsquid %ts.%03tu %6tr %>a %Ss/%03Hs %st %rm %ru %un %Sh/%<A %mt
access_log /usr/local/squid/logs/access.log altsquid

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 27 Jun 2008 13:11:51 +0000 (07:11 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug #2365: cachemgr.cgi fails to HTML encode config dumps properly

log_format and a couple other directives may contain HTML reserved characters
such as < >, and these needs to be HTML quoted in the output.

17 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Fri, 27 Jun 2008 13:08:03 +0000 (07:08 -0600)] 
Author: Mark Nottingham <mnot@pobox.com>
Bug #2388: acl documentation cleanup

Squid.conf for ACL has a few small errors that might lead to confusion;
this fixes them and makes it a bit more consistent.

17 years agoBootstrapped SQUID_3_0_STABLE7
Henrik Nordstrom [Sat, 21 Jun 2008 00:14:22 +0000 (18:14 -0600)] 
Bootstrapped

17 years agoRebuild Release Notes
Amos Jeffries [Fri, 20 Jun 2008 12:55:18 +0000 (00:55 +1200)] 
Rebuild Release Notes

17 years agoPrep for STABLE7
Amos Jeffries [Fri, 20 Jun 2008 12:53:34 +0000 (06:53 -0600)] 
Prep for STABLE7

17 years agoBug 1566 (also Bug 975): esi:include aborts with lock assert
Amos Jeffries [Fri, 20 Jun 2008 12:46:59 +0000 (06:46 -0600)] 
Bug 1566 (also Bug 975): esi:include aborts with lock assert

Proper fix requires callers inserting HTTPMSGLOCK() when the base rep
pointers are set, and HTTPMSGUNLOCK() macros when done. The lock/unlock
mechanism will take care of garbage collection in the background if used
properly.

The function this patches has no need to perform any of that itself
either way (it's a * not a ** ptr parameter so _cannot_ be safely deleted).

I'm cementing the temporary fix for 975 and 1566 as a permanent one and
documenting the correct requirements of the functions callers to prevent
memory leaks.

If leaks are found it will be separate bugs in the calling code related
to bad refcounting.

17 years agoNetfilter headers not detected properly.
Amos Jeffries [Fri, 20 Jun 2008 12:41:29 +0000 (06:41 -0600)] 
Netfilter headers not detected properly.

ip(6)tables v1.4.0 was released with a small bug in its header dependency.
This caused our configure checks for its usability to fail.

Also a mismatch between the code #if .. #endif and configure definitions
caused some pre-compiler logic failures on GCC 4.3.

This fixes both issues and makes Squid operable again when built against
Netfilter xtables v1.4.0

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 20 Jun 2008 12:31:22 +0000 (06:31 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Correct spelling of WCCPv2 dst_port_hash to match the source

17 years agoBug 2384: Assertion failed on ESI page.
Amos Jeffries [Fri, 20 Jun 2008 03:40:55 +0000 (15:40 +1200)] 
Bug 2384: Assertion failed on ESI page.

ESI was deleting its reference to child HTTP requests instead of unlocking
them. Even if they were in use elsewhere.

TODO: A better approach may be to cancel the dependent child request
entirely and close its resources down in a chain-reaction.

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 19 Jun 2008 05:37:04 +0000 (23:37 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Reject ridiculously large ASN.1 lengths

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 19 Jun 2008 05:35:31 +0000 (23:35 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Fix SNMP reporting of counters with a value >= 0xFF800000

The ASN.1 encoding of unsigned integers incorrectly compressed the value
as if it was a signed integer, truncating leading 0xFF octest, causing
0xFF800000 to be send ax 0x800000, 0xFFFF8000 as 0x8000 etc..

17 years agoRoll back. Wrong attributions
Amos Jeffries [Thu, 19 Jun 2008 05:34:00 +0000 (23:34 -0600)] 
Roll back. Wrong attributions

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 19 Jun 2008 05:32:28 +0000 (23:32 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Reject ridiculously large ASN.1 lengths

17 years agoAuthor: JPP <jpp1@frws.com>
Amos Jeffries [Thu, 19 Jun 2008 05:30:26 +0000 (23:30 -0600)] 
Author: JPP <jpp1@frws.com>
logformat docs contain extra whitespace

They also failed to mention that the displayed formats are built-in and
do not need to be defined.

17 years agoUpdate ChangeLog
Amos Jeffries [Sun, 15 Jun 2008 03:39:26 +0000 (21:39 -0600)] 
Update ChangeLog

17 years agoBug 2323 (again): basic auth leaks memory
Amos Jeffries [Fri, 13 Jun 2008 13:43:09 +0000 (07:43 -0600)] 
Bug 2323 (again): basic auth leaks memory

This round was caused by a few missing unlocks causing objects to be
incorrectly identified as in-use during garbage collection.

Future cleanups really need to make these objects true RefCounted.

17 years agoAuthor: Mike Mitchell <Mike.Mitchell@sas.com>
Amos Jeffries [Fri, 13 Jun 2008 10:20:46 +0000 (04:20 -0600)] 
Author: Mike Mitchell <Mike.Mitchell@sas.com>
Bug #2241: weights not applied properly in round-robin peer selection

17 years agoVarious bugs - GCC 4.3 detected
Amos Jeffries [Fri, 13 Jun 2008 05:13:47 +0000 (23:13 -0600)] 
Various bugs - GCC 4.3 detected

17 years agoTypo in documentation
Amos Jeffries [Fri, 13 Jun 2008 04:43:56 +0000 (22:43 -0600)] 
Typo in documentation

17 years agoUpdate ACL docs
Amos Jeffries [Fri, 13 Jun 2008 04:42:05 +0000 (22:42 -0600)] 
Update ACL docs

  - Some regex types were missing -i mentions.
  - Altered auth type to mention intercept alongside transparent
    now that they are distinct in squid
  - Also cosmetic re-order of a few items to provide a some type grouping

17 years agoBootstrapped
Henrik Nordstrom [Thu, 12 Jun 2008 00:50:38 +0000 (18:50 -0600)] 
Bootstrapped

17 years ago3.0 does not have testheaders.sh
Henrik Nordstrom [Thu, 12 Jun 2008 00:41:42 +0000 (18:41 -0600)] 
3.0 does not have testheaders.sh

17 years agoFix possible buffer overrun in rfc1738 encoder
Amos Jeffries [Mon, 2 Jun 2008 11:11:13 +0000 (05:11 -0600)] 
Fix possible buffer overrun in rfc1738 encoder

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Mon, 2 Jun 2008 11:07:57 +0000 (05:07 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Simplify linux capabilities version check to avoid repeated #ifdefs cluttering the code

17 years agoBug 2364: Add note that negative_ttl is a HTTP violation
Amos Jeffries [Thu, 29 May 2008 10:48:42 +0000 (04:48 -0600)] 
Bug 2364: Add note that negative_ttl is a HTTP violation

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 29 May 2008 10:40:36 +0000 (04:40 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug #1955: Clarify refresh_pattern override-expire option

override-expire applies to both Expires and CC max-age, but comments
only mention Expires..

17 years agoBootstrap and build test fallout
Amos Jeffries [Tue, 27 May 2008 13:23:13 +0000 (07:23 -0600)] 
Bootstrap and build test fallout

17 years agoAuthor: Henrik Nordstrom <hno@squid-cache.org>
Amos Jeffries [Tue, 27 May 2008 12:12:42 +0000 (00:12 +1200)] 
Author: Henrik Nordstrom <hno@squid-cache.org>
Properly dist testheaders.sh

17 years agomake check fix for 3.0
Amos Jeffries [Sat, 24 May 2008 07:33:52 +0000 (19:33 +1200)] 
make check fix for 3.0

17 years agoAmendment to capability debugs
Amos Jeffries [Fri, 23 May 2008 06:43:54 +0000 (18:43 +1200)] 
Amendment to capability debugs

17 years agoAuthor: Bojan Smojver <bojan@rexursive.com>
Amos Jeffries [Fri, 23 May 2008 06:36:37 +0000 (18:36 +1200)] 
Author: Bojan Smojver <bojan@rexursive.com>
Bug 2350: Memory allocation problem in restoreCapabilities(), tools.cc

Part 2 - Kernel folks are suggesting that the code in tools.cc should test
         _LINUX_CAPABILITY_VERSION_1 where possible

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 22 May 2008 14:00:37 +0000 (02:00 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug #2350: Memory allocation problem in restoreCapabilities()

17 years agoUpdate interception documentation and debugging.
Amos Jeffries [Thu, 22 May 2008 12:26:57 +0000 (00:26 +1200)] 
Update interception documentation and debugging.

Adds better documentation on effects of transparent and tproxy flags.

Alters debugging to clearly log components enabled/disabled on startup and
reconfigure of http(s)_port's using interception flags.

17 years agoSilence secondary errors on fatal shutdowns.
Amos Jeffries [Thu, 22 May 2008 06:04:40 +0000 (18:04 +1200)] 
Silence secondary errors on fatal shutdowns.

This patch causes fatal() errors to set the shutdown flag before aborting.
The result of this is that secondary errors not related to the fatal condition
but caused during the shutdown sequence no longer confuse the error traces.

It also cleans up a little broken whitespace formatting in the snmp_core.cc

17 years agoAdd missing helpers/external_acl/mswin_ad_group/Makefile.in SQUID_3_0_STABLE6
Amos Jeffries [Tue, 20 May 2008 15:00:49 +0000 (09:00 -0600)] 
Add missing helpers/external_acl/mswin_ad_group/Makefile.in

17 years agoRelease STABLE6
Amos Jeffries [Tue, 20 May 2008 14:53:01 +0000 (08:53 -0600)] 
Release STABLE6

17 years agoFinal Prep for STABLE6
Amos Jeffries [Tue, 20 May 2008 14:35:08 +0000 (08:35 -0600)] 
Final Prep for STABLE6

17 years agoUpdate Release Notes for STABLE6
Amos Jeffries [Mon, 19 May 2008 12:22:01 +0000 (00:22 +1200)] 
Update Release Notes for STABLE6

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Mon, 19 May 2008 11:42:50 +0000 (05:42 -0600)] 
Author: Guido Serassio <serassio@squid-cache.org>
Updated mswin_check_lm_group documentation

17 years agoBootstrap and build tests
Amos Jeffries [Mon, 19 May 2008 11:41:31 +0000 (05:41 -0600)] 
Bootstrap and build tests

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Mon, 19 May 2008 11:24:47 +0000 (05:24 -0600)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Added new mswin_check_ad_group external ACL helper

This helper allow the lookup of users's group membership in a Windows
Active Directory domain.
It overcomes the Lan Manager limits of mswin_check_lm_group, but it can be
used only with native Windows Active Directory domains, so mswin_check_lm_group
will not removed from Squid.

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Mon, 19 May 2008 11:08:21 +0000 (05:08 -0600)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: allow build of squid_session on Windows

17 years agoBootstrapped and build tests
Amos Jeffries [Mon, 19 May 2008 05:54:18 +0000 (23:54 -0600)] 
Bootstrapped and build tests

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Mon, 19 May 2008 05:24:50 +0000 (23:24 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Correct cachemgr.conf installation rule syntax errors

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Mon, 19 May 2008 05:23:01 +0000 (23:23 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
squid_raius_auth needs to include radius-util.h not util.h

17 years agoBootstrapped and build tested
Amos Jeffries [Thu, 15 May 2008 14:05:25 +0000 (08:05 -0600)] 
Bootstrapped and build tested

17 years agoAuthor: Joshua Root <josh+squid@root.id.au>
Amos Jeffries [Thu, 15 May 2008 13:30:53 +0000 (07:30 -0600)] 
Author: Joshua Root <josh+squid@root.id.au>
Bug 2204: configure fails to detect max open files

The behaviour of setrusage has changed in Mac OS X 10.5.

17 years agoRename helpers/basic_auth/squid_radius_auth/util.* to radius-util.*
Amos Jeffries [Thu, 15 May 2008 13:27:32 +0000 (07:27 -0600)] 
Rename helpers/basic_auth/squid_radius_auth/util.* to radius-util.*

They were clashing with Squids' own include/util.h

17 years agoAdd cachemgr.conf.default for easier maintenance
Amos Jeffries [Tue, 13 May 2008 14:51:16 +0000 (08:51 -0600)] 
Add cachemgr.conf.default for easier maintenance

cachemgr.conf has for a long while been created conditionally if none
already existed, but no current new default file was added to compare
for new configuration options.

This patch adds a file named cachemgr.conf.default next to the cachemgr.conf

cachemgr.conf.default file is replaces unconditionally so that it remains
current with the most recently installed build.
cachemgr.conf itself is only created if not already present so as not to
loose local configuration changes.

17 years agoBootstrapped
Amos Jeffries [Mon, 12 May 2008 03:31:52 +0000 (21:31 -0600)] 
Bootstrapped

17 years agoAuthor: Thomas-Martin Seck <tmseck@netcologne.de>
Amos Jeffries [Mon, 12 May 2008 02:33:52 +0000 (14:33 +1200)] 
Author: Thomas-Martin Seck <tmseck@netcologne.de>
Bug 2346: fix the passing of C(XX)FLAGS for cachemgr.cgi

cachemgr.cgi should now locate its default config file properly

17 years agoAuthor: Finn Thain <fthain@telegraphics.com.au>
Amos Jeffries [Mon, 12 May 2008 02:31:23 +0000 (14:31 +1200)] 
Author: Finn Thain <fthain@telegraphics.com.au>
Bug 2332: segfault in tunnelConnectTimeout()

Fixes at least one race condition.

If tunnelConnectTimeout() is called before tunnelPeerSelectComplete(), then
tunnelState->servers will be NULL.

17 years agoAuthor: Finn Thain <fthain@telegraphics.com.au>
Amos Jeffries [Mon, 12 May 2008 02:28:21 +0000 (14:28 +1200)] 
Author: Finn Thain <fthain@telegraphics.com.au>
Bug 2339: segfault in MemBuf::append()

This segfault was caused by a buffer overrun in Range header processing.
The fix re-arranges the length calculations to make sense.

17 years agoAuthor: Finn Thain <fthain@telegraphics.com.au>
Amos Jeffries [Mon, 12 May 2008 02:22:52 +0000 (14:22 +1200)] 
Author: Finn Thain <fthain@telegraphics.com.au>
Bug 2323: basic auth leaks memory

- Several fixes resolving bad logic and leaks in basic auth.

17 years agoBug 2206: Build error caused by incorrect configure include file detection
Amos Jeffries [Mon, 12 May 2008 01:51:12 +0000 (13:51 +1200)] 
Bug 2206: Build error caused by incorrect configure include file detection

Adds type-definitions for the *BSD family networking OS header files which
depend on them without including the necessary definition headers themselves.

Completes fix for Bug 2196 detailed files.

17 years agoBug 2196: configure: net*/*.h present but cannot be compiled
Amos Jeffries [Mon, 12 May 2008 01:48:26 +0000 (13:48 +1200)] 
Bug 2196: configure: net*/*.h present but cannot be compiled

This moves critical net*/*.h file tests from the general location
and use testign to the *BSD special testing which accounts for
system file dependencies.

TODO: some files are still missing dependencies even with the *BSD test
      their brokenness will be fixed at a later point. (bug 2206)

17 years agoBootstrapped
Henrik Nordstrom [Sat, 10 May 2008 00:13:24 +0000 (18:13 -0600)] 
Bootstrapped

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 9 May 2008 12:18:56 +0000 (06:18 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug #1784: access_log syslog results in blanks syslog lines
between every access log entry.

Correct earlier forwardport of Squid-2 patch. There must only be
one log call per entry..

17 years agoRemove: ZPH (Zero Penalty Hit) QOS features.
Amos Jeffries [Fri, 9 May 2008 10:35:58 +0000 (22:35 +1200)] 
Remove: ZPH (Zero Penalty Hit) QOS features.

see http://www.squid-cache.org/mail-archive/squid-dev/200805/0029.html

17 years agoBootstrap and Test Fallout
Amos Jeffries [Sun, 4 May 2008 12:36:34 +0000 (06:36 -0600)] 
Bootstrap and Test Fallout

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 4 May 2008 11:53:29 +0000 (23:53 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Make --with-large-files try to build 64-bit if possible

--with-large-files for some reason tried to make a 32-bit build with
large file offsets even if the host supports 64-bit applications, making
--with-large-files degrade Squid capabilities on 64-bit OS:es..

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sun, 4 May 2008 11:08:15 +0000 (23:08 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Add support for the Windows machine DNS domain, and also automatically derived default domain

This patch adds the capacity to get the machine DNS domain from the registry, similar to
search but only accepting a single domain.

In addition it adds support for automatically deriving the domain from
the fully qualified hostname.

Also fixed some memory leaks during the DNS configuration parse in the registry.

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sun, 4 May 2008 11:05:58 +0000 (23:05 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Removed the advertisement clause from BSD license

According to the new revised (3-clause) BSD license:
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
the advertisement clause (3) of old (4-clause) BSD license can
be deleted.

Also added forgotten reference to lib/strnstr.cc into CREDITS

17 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sun, 4 May 2008 11:03:31 +0000 (23:03 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Return the effective system pagesize in getpagesize()

17 years agoBootstrapped
Henrik Nordstrom [Sun, 4 May 2008 00:13:12 +0000 (18:13 -0600)] 
Bootstrapped

17 years agoAuthor: Marin Stavrev <mstavrev@gmail.com>
Amos Jeffries [Sat, 3 May 2008 23:37:00 +0000 (11:37 +1200)] 
Author: Marin Stavrev <mstavrev@gmail.com>
ZPH (Zero Penalty Hit) QOS features.

Adds --enable-zph-qos options to turn on the following:

 - Allows you to select a TOS/Diffserv value to mark local hits.

 - Allows you to select a TOS/Diffserv value to mark peer hits.

 - Allows you to selectively set only sibling or sibling+parent requests

 - Allows any HTTP response towards clients will
   have the TOS value of the response comming from the remote
   server masked with the value of zph_preserve_miss_tos_mask.
   For this to work correctly, you will need to patch your linux
   kernel with the TOS preserving ZPH patch.
   The kernel patch can be downloaded from http://zph.bratcheda.org

 - Allows you to mask certain bits in the TOS received from the
   remote server, before copying the value to the TOS send towards
   clients.

17 years agoBootstrap and build-test fallout from earlier patches
Amos Jeffries [Sat, 3 May 2008 06:36:25 +0000 (00:36 -0600)] 
Bootstrap and build-test fallout from earlier patches