]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
16 years agoWrap C++ headers. Fixes define clash with libcompat
Amos Jeffries [Sun, 3 May 2009 13:02:50 +0000 (07:02 -0600)] 
Wrap C++ headers. Fixes define clash with libcompat

ostream and family were including sys/types.h which causes
FD_SET rediefinition with libcompat at times.
Current autoconf allows these headers to be wrapped and config.h
included before to prevent this and other things.

16 years agoAuto-Docs: Add \cpptest directive
Amos Jeffries [Sun, 3 May 2009 07:07:07 +0000 (19:07 +1200)] 
Auto-Docs: Add \cpptest directive

This is a custom directive just for squid.
It's used by adding to the declaration documentation of a function or
class method and listing the name of a unit-test function which
tests the documented function/method. It may be used multiple times
in a single function if there are multiple unit-tests for it.
Though in general multiple unit-tests sequences should be done in one
testing function.

16 years agoDont stop on missing epoll.h
Amos Jeffries [Thu, 30 Apr 2009 11:51:29 +0000 (23:51 +1200)] 
Dont stop on missing epoll.h

16 years agoAuthor: Peter Pramberger <peter@pramberger.at>
Amos Jeffries [Thu, 30 Apr 2009 02:59:24 +0000 (14:59 +1200)] 
Author: Peter Pramberger <peter@pramberger.at>
Bug 2656: Pinger dies with general protection fault

tzset() explicitly performs actions previously done implicitly
by localtime() in most case. It appears that some VM do not have
the implicit setting so we need this.

16 years agoBug 2650: configure requires epoll_ctl in libepoll when --enable-epoll used
Amos Jeffries [Wed, 29 Apr 2009 14:12:05 +0000 (02:12 +1200)] 
Bug 2650: configure requires epoll_ctl in libepoll when --enable-epoll used

16 years agoDebug() in cachemgr needs to be wrapped for if-else
Amos Jeffries [Wed, 29 Apr 2009 11:38:28 +0000 (23:38 +1200)] 
Debug() in cachemgr needs to be wrapped for if-else

16 years agoAuthor: Philip Allison
Alex Rousskov [Tue, 28 Apr 2009 18:06:32 +0000 (12:06 -0600)] 
Author: Philip Allison
Bug #2615 fix: Call libecap::adapter::Service::start() when finalizing config.

16 years agoregression fix, Bug #2583: pure virtual method called
Christos Tsantilas [Tue, 28 Apr 2009 17:02:23 +0000 (20:02 +0300)] 
regression fix, Bug #2583: pure virtual method called

Remove the assertion check for virginHeadSource in
ClientHttpRequest::~ClientHttpRequest().
Waiting for a better fix (if the bug is still present...)

16 years agoAdd the icap and ecap libraries to libadaptation dependencies
Christos Tsantilas [Mon, 27 Apr 2009 20:43:24 +0000 (23:43 +0300)] 
Add the icap and ecap libraries to libadaptation dependencies

16 years agoregression fix bug #2583: pure virtual method called
Christos Tsantilas [Mon, 27 Apr 2009 20:20:37 +0000 (23:20 +0300)] 
regression fix bug #2583: pure virtual method called

The applied patch hid the problem, did not fix it.
This patch removes the applied patch and instead add an assertion check in
ClientHttpRequest::~ClientHttpRequest destructor just before call the
Adaptation::Initiator::announceInitiatorAbort method.

16 years agobug #2652 and bud #2385: "tunnelReadServer: FD xx: read failure: (0) Success" error...
Christos Tsantilas [Mon, 27 Apr 2009 19:19:00 +0000 (22:19 +0300)] 
bug #2652 and bud #2385: "tunnelReadServer: FD xx: read failure: (0) Success" error message

-Method TunnelStateData::Connection::error:
   The xerrno is the errno values (EAGAIN, EINTR etc) not a COMM_XX error/flag.
- Methods TunnelStateData::writeServerDone,TunnelStateData::writeClientDone:
  if the related connection fd closing (flag==COMM_ERR_CLOSING) just return

16 years agoHandle several IO errors cleanly.
Amos Jeffries [Mon, 27 Apr 2009 12:05:38 +0000 (00:05 +1200)] 
Handle several IO errors cleanly.

16 years agoRemove infinite loop in MSNT auth helper
Amos Jeffries [Mon, 27 Apr 2009 07:17:04 +0000 (19:17 +1200)] 
Remove infinite loop in MSNT auth helper

On one starting error condition the helper enters a read loop
without exit conditions. Made this exit when read was done
and shutdown helper as per behavior comment by the loop.

Also removes one useless goto.

16 years agoFix dependencies in DiskIO
Amos Jeffries [Mon, 27 Apr 2009 06:40:06 +0000 (18:40 +1200)] 
Fix dependencies in DiskIO

It appears the slightly broken teastheaders was previously hiding
several header definition and protection bugs. Now found and fixed.

16 years agoAuthor: René Geile <rene.geile@t-online.de>
Amos Jeffries [Mon, 27 Apr 2009 00:21:04 +0000 (12:21 +1200)] 
Author: RenĂ© Geile <rene.geile@t-online.de>
Fix incorrect name of digest_pw_auth helper

via Debian project
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517528

16 years agoAutoDocs: Exclude test build directories
Amos Jeffries [Sun, 26 Apr 2009 04:39:46 +0000 (16:39 +1200)] 
AutoDocs: Exclude test build directories

16 years agoInclude dependencies for ClientInfo
Amos Jeffries [Sat, 25 Apr 2009 09:18:05 +0000 (03:18 -0600)] 
Include dependencies for ClientInfo

16 years agoVarious other issues in calling testHeaders
Amos Jeffries [Sat, 25 Apr 2009 09:01:06 +0000 (03:01 -0600)] 
Various other issues in calling testHeaders

16 years agoCorrect use of custom target testheaders:
Amos Jeffries [Sat, 25 Apr 2009 06:27:21 +0000 (00:27 -0600)] 
Correct use of custom target testheaders:

 - Adds use of .PHONY in all files the do the test
 - Fixes dist breakage after automake changes

16 years agoFix many syntax warnings in smb_lm
Amos Jeffries [Fri, 24 Apr 2009 07:06:46 +0000 (01:06 -0600)] 
Fix many syntax warnings in smb_lm

Now compiled with the same CFLAGS as the rest of Squid.
This is tested up to gcc 3.4 standards now. Some may still
be raised by later gcc versions.

 - fixes const correctness on several functions and globals
 - fixes .h wrapping on several files
 - adds prototype definitions for all functions
 - adds several missing includes
 - adds docs for some functions to auto-doc output

TODO:
 Not all code audited, only the bits shown broken right now.
 This helper contains a large amount of nasty duplicate code
 and re-implements several encryption algoritms that should
 probably be sourced from secure places.

16 years agoAuthor: Mikio Kishi <mkishi@104.net>
Amos Jeffries [Fri, 24 Apr 2009 03:50:58 +0000 (15:50 +1200)] 
Author: Mikio Kishi <mkishi@104.net>
Enable TPROXY v4 spoofing of CONNECT requests

with some code polish sourced from ViSolve

16 years agoFix several smb_lm Macro errors
Amos Jeffries [Thu, 23 Apr 2009 23:35:37 +0000 (11:35 +1200)] 
Fix several smb_lm Macro errors

This patch reduces local variable names from UPPER case to lower.
Preventing clashes with previous systm defines. In this case only
DOMAIN and SERVER were actually clashing. But reduced all for safety.

Also wraps system includes with HAVE_ macros inline with Squid policy.

16 years agoRevert rev9648. Bzr malfunction caused bad attribution
Amos Jeffries [Thu, 23 Apr 2009 23:31:36 +0000 (11:31 +1200)] 
Revert rev9648. Bzr malfunction caused bad attribution

16 years agoKill bashism in testheaders.sh
Amos Jeffries [Thu, 23 Apr 2009 11:14:41 +0000 (23:14 +1200)] 
Kill bashism in testheaders.sh

Detected by NetBSD Project pkgsrc app.

16 years agoMany small fixes uncovered by the testbed layer #02
Amos Jeffries [Thu, 23 Apr 2009 11:09:22 +0000 (05:09 -0600)] 
Many small fixes uncovered by the testbed layer #02

 - failover recovery for valgrind support
 - better error reporting and detection for epoll support
 - better dependency detection and handling for ESI support
 - ARP build error on FreeBSD
 - hack: silence build error on ZPH QoS support (TODO fix)

TODO:
 - fix ZPH support for BSD (Bug 2537)
 - comm symbol duplication failures under gcc 4.3.2

16 years agoDetach automke system from using -I.
Amos Jeffries [Thu, 23 Apr 2009 09:52:10 +0000 (03:52 -0600)] 
Detach automke system from using -I.

That path include allows unsafe header collisions on case-insensitive
file systems.

Uses src/Common.am in all makefiles now to provide build paths and flags
correctly to all parts of Squid.

TODO:
  fix several code warnings now present due to CFLAGS being used
  on some helper code which had omitted to use them previously.

  check that libTrie and squid_kerb_auth are not affected as well.

16 years agoAuthor: Hasso Tepper <hasso@estpak.ee>
Amos Jeffries [Thu, 23 Apr 2009 09:33:44 +0000 (21:33 +1200)] 
Author: Hasso Tepper <hasso@estpak.ee>
DragonFly Support for PF

Received via NetBSD project.

NetBSD Maintainer says:
 "pfvar.h part came from DragonFly people."

Their CVS log attributes says, the fix is from hasso@estpak.ee:

| Fix two problems reported by Hasso Tepper via PR pkg/39554.
|
| * DragonFly support.

(other not relevant to this patch)

16 years agoAuthor: Unknown - NetBSD Project
Amos Jeffries [Thu, 23 Apr 2009 09:12:06 +0000 (21:12 +1200)] 
Author: Unknown - NetBSD Project
NetBSD uses machine/byte_swap.h for endian defines

16 years agoAuthor: Hasso Tepper <hasso@estpak.ee>
Amos Jeffries [Thu, 23 Apr 2009 08:15:53 +0000 (20:15 +1200)] 
Author: Hasso Tepper <hasso@estpak.ee>
Fix OpenSSL portability problem

Received via NetBSD project.

Their CVS log attributes says, the fix is from hasso@estpak.ee:

| Fix two problems reported by Hasso Tepper via PR pkg/39554.
|
| * OpenSSL portability problem.

(other not relevant to this patch)

16 years agoAuthor: Unknown - NetBSD Project
Amos Jeffries [Thu, 23 Apr 2009 08:08:14 +0000 (20:08 +1200)] 
Author: Unknown - NetBSD Project
Fix bashism in squid_kerb_auth helper configuration file

Found by NetBSD project pkgsrc tool.
Author of that tool is Roland Illig (rillig@netbsd.org).

16 years agoAuthor: Unkown - NetBSD Project
Amos Jeffries [Thu, 23 Apr 2009 07:56:29 +0000 (19:56 +1200)] 
Author: Unkown - NetBSD Project
Fix pinger install location

16 years agoCleanups: Shuffle ClientInfo into a class
Amos Jeffries [Tue, 21 Apr 2009 15:07:51 +0000 (03:07 +1200)] 
Cleanups: Shuffle ClientInfo into a class

 - upgrade struct+typedef to public class
 - gets its own header as pre-requisite to Logs SourceLayout

16 years agoAuthor: Bertrand Jacquin <beber@meleeweb.net>
Amos Jeffries [Tue, 21 Apr 2009 12:16:13 +0000 (00:16 +1200)] 
Author: Bertrand Jacquin <beber@meleeweb.net>
Make gcc-4.3 happy with strdup/strndup

Several casting void* to char* fixed.

16 years agoRegression Fix: ident open failure: Address already in use
Amos Jeffries [Sat, 18 Apr 2009 01:39:58 +0000 (13:39 +1200)] 
Regression Fix: ident open failure: Address already in use

Alterations in 3.1 caused the ident port opening to attept binding 3128
which was already opened by Squid.

This returns to the previous random port selection.

16 years agoBug 2491: assertion failed: refresh.cc: "age >= 0"
Amos Jeffries [Sat, 18 Apr 2009 01:20:20 +0000 (13:20 +1200)] 
Bug 2491: assertion failed: refresh.cc: "age >= 0"

Assertion was in the wrong place. If seen in Squid after this patch
please re-open the bug report and provide more details to track it down.

16 years agoCleanup magic buffer sizes in helper.cc
Amos Jeffries [Fri, 17 Apr 2009 22:09:22 +0000 (10:09 +1200)] 
Cleanup magic buffer sizes in helper.cc

Was an pair of 8KB magic numbers. Not made a single define with comments
to indicate what it is.

16 years agoBug 2536: %H in error page ERR_DNS_FAIL is not filled on HTTPS
Amos Jeffries [Fri, 17 Apr 2009 09:55:48 +0000 (21:55 +1200)] 
Bug 2536: %H in error page ERR_DNS_FAIL is not filled on HTTPS

16 years agoBug 2635: Incorrect Max-Forwards header type
Amos Jeffries [Tue, 14 Apr 2009 15:14:27 +0000 (03:14 +1200)] 
Bug 2635: Incorrect Max-Forwards header type

16 years agoBug 2610: Detection and verification of ipfilter header files is incorrect
Amos Jeffries [Sun, 12 Apr 2009 14:01:26 +0000 (02:01 +1200)] 
Bug 2610: Detection and verification of ipfilter header files is incorrect

After much contention reg Solaris and FreeBSD the union between them
seems to be this:
 - adding netinet/in.h
 - adding netinet/ip_fil_compat.h (alternative to netinet/ip_compat.h)
 - testing for netinet/ipl.h before netinet/ip_nat.h

16 years agoBug 2571: Squid with IPv6 fails to start on kernel without IPv6
Amos Jeffries [Sun, 12 Apr 2009 13:44:59 +0000 (01:44 +1200)] 
Bug 2571: Squid with IPv6 fails to start on kernel without IPv6

Adds comm_open_listener() wrapper to perform IPv6/IPv4 failover on sockets
intended for listening only. Uses the wrapper in all places I can be sure of.

Open a port specially bound for listening or sending through a specific port.
This is a wrapper providing IPv4/IPv6 failover around comm_openex().
Please use for all listening sockets and bind() outbound sockets.

It will open a socket bound for:
  - IPv4 if IPv6 is disabled or address is IPv4-native.
  - IPv6 if address is IPv6-native
  - IPv6 dual-stack mode if able to open [::]

When an open performs failover it update the given address to feedback
the new IPv4-only status of the socket. Further displays of the IP
(in debugs or cachemgr) will occur in Native IPv4 format.
A reconfigure is needed to reset the stored IP in most cases and attempt
a port re-open.

16 years agobug #2578: squid fails to resume dowload from FTP
Christos Tsantilas [Sun, 12 Apr 2009 12:23:35 +0000 (15:23 +0300)] 
bug #2578: squid fails to resume dowload from FTP

The ftp code uses the FtpStateData::restart_offset and
FtpStateData::restarted_offset to compute the offset in the case of
partial responses, but it must also set the
ServerStateData::currentOffset member variable.
This patch:
  - completely removes the FtpStateData::restarted_offset member and uses
    the ServerStateData::currentOffset member variable instead.
  - adds the FtpStateData::setCurrentOffset(int64_t) and
    FtpStateData::getCurrentOffset() public methods to allow set/get the
    ServerStateData::currentOffset value

16 years agoBug 2276: Too many queued ntlm authenticators running
Amos Jeffries [Sun, 12 Apr 2009 12:17:00 +0000 (00:17 +1200)] 
Bug 2276: Too many queued ntlm authenticators running

This enforces the admin configured number of helpers as a maximum number
running by calculating how many helpers have died and need restarting.

16 years agoDetatch debugs() from many of its dependencies
Amos Jeffries [Sun, 12 Apr 2009 08:17:19 +0000 (20:17 +1200)] 
Detatch debugs() from many of its dependencies

 - makes cache.log independent of the other logging systems
 - adds debug_options rotate=N setting
 - moves debug-specific globals and types into Debug::

TODO:
  remove remaining dependancy on shutdown flag
  polish up namespace etc for libdebug

16 years agoPrep for 3.0.STABLE14
Amos Jeffries [Sat, 11 Apr 2009 09:25:27 +0000 (21:25 +1200)] 
Prep for 3.0.STABLE14

16 years agoUpdate man page.
Amos Jeffries [Sat, 11 Apr 2009 05:15:50 +0000 (17:15 +1200)] 
Update man page.

 - reference the wiki FAQ URI
 - reference the generic configuration manual URI
 - add documentation about other config files now visible
 - add -S option documentation
 - remove -D option documentation
 - alter the main text to reference ICP, HTCP, CARP and ICAP protocols
   which are now readily available in Squid.
 - removed references to obsolete dnsserver and its operations.
 - generalized text about helpers
 - removed reference to I/O driven (Async events is not true I/O driven)

16 years agoBug 2628: Need way to override DEFAULT_PID_FILE
Amos Jeffries [Fri, 10 Apr 2009 12:55:06 +0000 (00:55 +1200)] 
Bug 2628: Need way to override DEFAULT_PID_FILE

Adds ./configure option --with-pidfile=PATH
to set the default name and location of squid.pid

16 years agoTestBed: cause slave builders to cleanup after themselves
Amos Jeffries [Fri, 10 Apr 2009 03:50:06 +0000 (21:50 -0600)] 
TestBed: cause slave builders to cleanup after themselves

16 years agoSourceLayout: src/base, take 1 -- moved remaining Async* files to src/base/
Alex Rousskov [Thu, 9 Apr 2009 22:46:45 +0000 (16:46 -0600)] 
SourceLayout: src/base, take 1 -- moved remaining Async* files to src/base/

16 years agoSourceLayout: src/base, take 1 -- moved remaining Async* files to src/base/
Alex Rousskov [Thu, 9 Apr 2009 22:31:13 +0000 (16:31 -0600)] 
SourceLayout: src/base, take 1 -- moved remaining Async* files to src/base/

16 years agoMerged from trunk.
Alex Rousskov [Thu, 9 Apr 2009 18:17:24 +0000 (12:17 -0600)] 
Merged from trunk.

16 years agoAuthor: Various Translators
Amos Jeffries [Thu, 9 Apr 2009 13:47:38 +0000 (01:47 +1200)] 
Author: Various Translators
Language Updates

16 years agoAuthor: Olivier W.
Amos Jeffries [Thu, 9 Apr 2009 13:45:49 +0000 (01:45 +1200)] 
Author: Olivier W.
French Translation Updates

16 years agoMerge from trunk
Amos Jeffries [Thu, 9 Apr 2009 13:34:17 +0000 (01:34 +1200)] 
Merge from trunk

16 years agoPrep for 3.1.0.7
Amos Jeffries [Wed, 8 Apr 2009 10:34:45 +0000 (22:34 +1200)] 
Prep for 3.1.0.7

16 years agoHTTP 1.1: Forward OPTIONS requests properly
Amos Jeffries [Wed, 8 Apr 2009 10:01:57 +0000 (22:01 +1200)] 
HTTP 1.1: Forward OPTIONS requests properly

Bump the max_forwards type to 64-bit to cope with wider range of values.

NP: still no internal handling of OPTIONS requests, but this will
    forward them according to RFC 2616 requirements.

16 years agoMinor cleanup
Amos Jeffries [Tue, 7 Apr 2009 14:44:34 +0000 (02:44 +1200)] 
Minor cleanup

16 years agoAuthor: Source maintenance
Amos Jeffries [Tue, 7 Apr 2009 13:51:57 +0000 (01:51 +1200)] 
Author: Source maintenance
Source Format enforcement

16 years agoReal quiet cache.log when TPROXY and NAT both active
Amos Jeffries [Mon, 6 Apr 2009 13:33:04 +0000 (01:33 +1200)] 
Real quiet cache.log when TPROXY and NAT both active

16 years agoFubar. remove r9617
Amos Jeffries [Mon, 6 Apr 2009 13:22:42 +0000 (01:22 +1200)] 
Fubar. remove r9617

16 years agoQuiet cache.log when TPROXY and NAT both active
Amos Jeffries [Mon, 6 Apr 2009 12:59:32 +0000 (00:59 +1200)] 
Quiet cache.log when TPROXY and NAT both active

16 years agoWindows port: Added a note about installation on Windows Vista and later
Guido Serassio [Sat, 4 Apr 2009 15:34:12 +0000 (17:34 +0200)] 
Windows port: Added a note about installation on Windows Vista and later

16 years agoThe debug mode option '-d' was not documented in LDAP helpers usage message
Guido Serassio [Sat, 4 Apr 2009 09:58:40 +0000 (11:58 +0200)] 
The debug mode option '-d' was not documented in LDAP helpers usage message

16 years agoPurge last remnants of inet_ntoa
Amos Jeffries [Wed, 1 Apr 2009 11:49:17 +0000 (00:49 +1300)] 
Purge last remnants of inet_ntoa

 - Now fully replaced by IPAddress::NtoA and inet_ntop()
 - No need for the third-party emulator and license either

16 years agoCurrently the fs related subsystem is broken in trunk, because of
Christos Tsantilas [Tue, 31 Mar 2009 20:33:48 +0000 (23:33 +0300)] 
Currently the fs related subsystem is broken in trunk, because of
linking problems. This patch:
 - Add the files fs/Module.cc,h which are similar to esi/Module.* files
 - Build a new library libfs.a
 - The  fs/aufs/StoreFSaufs.cc, fs/diskd/StoreFSdiskd.cc and
   fs/ufs/StoreFSufs.cc now contain just fake pointers
 - The FS::Init() method used to build  ufs, aufs and diskd filesystems.
 - The FS::Init method called in main.cc before the code which reads the
   config files. The FS::clean() currently does not used.
 - The coss file system initiated using the old way.

16 years agoAutoDocs: Upgrade to 1.5.8 and fix many doc errors.
Amos Jeffries [Tue, 31 Mar 2009 12:39:30 +0000 (00:39 +1200)] 
AutoDocs: Upgrade to 1.5.8 and fix many doc errors.

Biggest change to note is a cleaner way to do lists of items in function
docs as follows:

/** blah blah:
 *  - foo
 *  - fu
 *  - fish
 */

16 years agoDisable HERE prefix calculation heuristic if it does not work instead of
Alex Rousskov [Mon, 30 Mar 2009 03:11:26 +0000 (21:11 -0600)] 
Disable HERE prefix calculation heuristic if it does not work instead of
asserting that the heuristic always works (it does not).

Polished comments.

More work needed to come up with a better heuristic.

16 years agoPolich Intercept code.
Amos Jeffries [Mon, 30 Mar 2009 02:13:10 +0000 (20:13 -0600)] 
Polich Intercept code.

 - cleans up some obscurity over data source and sink for me/client IPs.
 - cleans up existing debugs
 - adds new debugs to show NAT inputs and results at level-5
   (non-result is common and left at level-9)
 - adds new dbugs to show TPROXY result at level-5 like NAT results

16 years agoWindows port: Modified the base registry key tree
Guido Serassio [Sun, 29 Mar 2009 10:43:40 +0000 (12:43 +0200)] 
Windows port: Modified the base registry key tree

16 years agoWindows port: Added support for Windows 7, Windows Server 2008 R2 and later
Guido Serassio [Sun, 29 Mar 2009 10:36:30 +0000 (12:36 +0200)] 
Windows port: Added support for Windows 7, Windows Server 2008 R2 and later

16 years agoWindows port: Fix PSAPI.DLL usage, is always available on Windows NT and later
Guido Serassio [Sun, 29 Mar 2009 10:26:35 +0000 (12:26 +0200)] 
Windows port: Fix PSAPI.DLL usage, is always available on Windows NT and later

16 years agoFix build error in IpfInterception()
Amos Jeffries [Sun, 29 Mar 2009 07:13:39 +0000 (20:13 +1300)] 
Fix build error in IpfInterception()

16 years agoAdd to the squid binary dependecies the snmplib, the adaptation lib, the
Christos Tsantilas [Sat, 28 Mar 2009 17:41:32 +0000 (19:41 +0200)] 
Add to the squid binary dependecies the snmplib, the adaptation lib, the
esi lib and the common libs to force the squid binary rebuild when
one or more of the above libraries are changed

16 years agoIn ACLFilledChecklist::ACLFilledChecklist constructor the HttpRequest
Christos Tsantilas [Sat, 28 Mar 2009 16:39:14 +0000 (18:39 +0200)] 
In ACLFilledChecklist::ACLFilledChecklist constructor the HttpRequest
parameter hides the ACLFilledChecklist::request member.
As a result acl's do not work at all and some cases squid crashes
(eg when dstdomain acls used)

16 years agoImporing the AuthReg.cc file. This file is a hack to force required
Christos Tsantilas [Sat, 28 Mar 2009 08:52:55 +0000 (10:52 +0200)] 
Imporing the AuthReg.cc file. This file is a hack to force required
libraries and object files under the auth/* included in main squid
executable.

16 years agoRemove distcheck again. accidentally slipped in
Amos Jeffries [Fri, 27 Mar 2009 22:52:16 +0000 (11:52 +1300)] 
Remove distcheck again. accidentally slipped in

16 years agoFix: global flag is reconfiguring not restarting
Amos Jeffries [Fri, 27 Mar 2009 22:34:55 +0000 (11:34 +1300)] 
Fix: global flag is reconfiguring not restarting

16 years agoBug 2518: assertion failed: comm.cc:1519: "F->flags.open"
Amos Jeffries [Fri, 27 Mar 2009 22:29:32 +0000 (11:29 +1300)] 
Bug 2518: assertion failed: comm.cc:1519: "F->flags.open"

Not seen in a while. I suspect its hiding behind a fixed F->closing()
test, so the whole if test may be obsolete.

Applying in order to close the bug with surety and sync the conditions on
shutdown and restart-closing.

16 years agoFix ident errors. Not all USE_ macros are #ifdef
Amos Jeffries [Fri, 27 Mar 2009 08:20:57 +0000 (21:20 +1300)] 
Fix ident errors. Not all USE_ macros are #ifdef

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Fri, 27 Mar 2009 03:57:33 +0000 (16:57 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Bug 1868: bad HTTP 207 status string

16 years agoAdded Multi-Status header string.
Francesco Chemolli [Thu, 26 Mar 2009 15:25:54 +0000 (16:25 +0100)] 
Added Multi-Status header string.

16 years agoTestBed: Add various undefined errors to reported
Amos Jeffries [Thu, 26 Mar 2009 13:11:51 +0000 (07:11 -0600)] 
TestBed: Add various undefined errors to reported

16 years agoMove registration code of max_user_ip, proxy_auth and proxy_auth_regex
Christos Tsantilas [Wed, 25 Mar 2009 11:46:09 +0000 (13:46 +0200)] 
Move registration code of max_user_ip, proxy_auth and proxy_auth_regex
acls from src/auth/Acl*  into the src/AclRegs.cc

16 years agoThe defines ENABLE_SSL, ENABLE_ARP_ACL, ENABLE_IDENT are never defined.
Christos Tsantilas [Wed, 25 Mar 2009 11:14:33 +0000 (13:14 +0200)] 
The defines ENABLE_SSL, ENABLE_ARP_ACL, ENABLE_IDENT are never defined.
The correct defines are USE_SSL, USE_ARP_ACL and USE_IDENT respectivelly

16 years agoFix the wrong "ifndef" in the beggining of the ExtUser.h file.
Christos Tsantilas [Wed, 25 Mar 2009 11:09:58 +0000 (13:09 +0200)] 
Fix the wrong "ifndef" in the beggining of the ExtUser.h file.
The old "SQUID_ACLIDENT_H" refers to the include file "acl/Ident.h"
causing problems when both files included in a source file.

16 years agoinside the IpAddress::IpAddress(IpAddress *s) constructor, the line
Christos Tsantilas [Wed, 25 Mar 2009 09:48:11 +0000 (11:48 +0200)] 
inside the IpAddress::IpAddress(IpAddress *s) constructor, the line
"operator=(s)" causing the constructor to recursively call itself,
causing segmentation fault.

16 years agoFix more typos in intercept
Amos Jeffries [Tue, 24 Mar 2009 11:34:21 +0000 (00:34 +1300)] 
Fix more typos in intercept

16 years agoFix build error in Acl*Checklist
Amos Jeffries [Mon, 23 Mar 2009 23:06:38 +0000 (11:06 +1200)] 
Fix build error in Acl*Checklist

16 years agoTypos in intercept
Amos Jeffries [Mon, 23 Mar 2009 22:53:57 +0000 (10:53 +1200)] 
Typos in intercept

16 years agoUpdates
Amos Jeffries [Mon, 23 Mar 2009 13:13:46 +0000 (01:13 +1200)] 
Updates

16 years agodist some languages missing from make
Amos Jeffries [Mon, 23 Mar 2009 12:44:36 +0000 (00:44 +1200)] 
dist some languages missing from make

16 years agoSync with Rosetta Project
Amos Jeffries [Mon, 23 Mar 2009 11:18:07 +0000 (23:18 +1200)] 
Sync with Rosetta Project

16 years agoUpdates auto-save
Amos Jeffries [Sun, 22 Mar 2009 00:00:45 +0000 (12:00 +1200)] 
Updates auto-save

16 years agoShuffle PF interception into its own function.
Amos Jeffries [Sat, 21 Mar 2009 00:57:14 +0000 (13:57 +1300)] 
Shuffle PF interception into its own function.

With this all of the transparent build options are independent, and may be
used in any combination. Squid is no longer bound to the single-firewall
interception support.

NP: one small note the PF lookup is slightly weird due to its altering
the local client address from the NAT information.

16 years agoBug 2618: fix ipfilter transparent proxy
Amos Jeffries [Sat, 21 Mar 2009 00:32:33 +0000 (13:32 +1300)] 
Bug 2618: fix ipfilter transparent proxy

Moved IPF lookup into it's own function to take advantage of shared
intercept logics preparation.

Thanks to John Wehle <john@feith.com> for providing the code fixes.

16 years agoFixed typo: checkCallback should call the parent checkCallback method and
Alex Rousskov [Fri, 20 Mar 2009 20:42:11 +0000 (14:42 -0600)] 
Fixed typo: checkCallback should call the parent checkCallback method and
not itself.

16 years agoPolish on Coverity fixes.
Amos Jeffries [Fri, 20 Mar 2009 04:06:09 +0000 (17:06 +1300)] 
Polish on Coverity fixes.

Typo on array size remained.

And IPAddress operator proved to be unneeded. Now killed completely.

16 years agoSourceLayout: esi/, take 1
Alex Rousskov [Thu, 19 Mar 2009 19:31:31 +0000 (13:31 -0600)] 
SourceLayout: esi/, take 1

Moved src/ESI* files into src/esi/.
Renamed ESI source files from ESIFoo.{cc,cci,h} to Foo.{cc,cci,h}.

Replaced implicit constructor-based Parser registration with an explicit call
to Esi::Init() which knows of all ESI parsers. Added Esi::Clean counterpart.

Made libTrie build conditional on ESI support being enabled.

No true source code changes except for parser initialization.
No functionality changes were intended.
No runtime tests with ESI performed.

TODO: I did not move the tests/ESIExpressions test into src/esi because
we need to fix the entire testing layout before we should start
moving individual tests: They currently depend on individual source
and object files in src/ and in tests/ and that kind of dependency
should not be multiplied but removed.

TODO: Move ESI types into the Esi namespace.

16 years agoMerged from trunk.
Alex Rousskov [Thu, 19 Mar 2009 19:30:38 +0000 (13:30 -0600)] 
Merged from trunk.

16 years agoVarious errors detected by Coverity scan
Amos Jeffries [Thu, 19 Mar 2009 14:44:22 +0000 (03:44 +1300)] 
Various errors detected by Coverity scan

16 years agoCoverity detected buffer access error
Amos Jeffries [Thu, 19 Mar 2009 13:52:49 +0000 (02:52 +1300)] 
Coverity detected buffer access error

Defined values for SNMP error use decimal values 0-9, 17-24 not 0-19.
Thus the static list of message mappings is out by 6.