]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
16 years agoMemory leak on PconnPools
Amos Jeffries [Thu, 19 Feb 2009 02:17:28 +0000 (15:17 +1300)] 
Memory leak on PconnPools

Need to free the Pconn hash table properly.
constructor/desctructor are both required.

16 years agoBug 2588: coredump in rDNS lookup
Amos Jeffries [Thu, 19 Feb 2009 02:14:00 +0000 (15:14 +1300)] 
Bug 2588: coredump in rDNS lookup

Handle rDNS of invalid IP gracefully.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 19 Feb 2009 02:08:56 +0000 (15:08 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
external_acl_type %<{ and %USER_CERT_ / %CA_CERT_ parsing brokenness

The parsing of external_acl_type formats was sligtly broken, destroying
%<{ (request header) if SSL was enabled and never able to parse %USER_CERT_
or %CA_CERT_..

Also clarified request/reply header syntax slightly

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 19 Feb 2009 02:03:33 +0000 (15:03 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Need to kick all deferred reads when a delaypool is updated, otherwise things queue up too long.

The chaos SHOULD be addressed by randomizing the order...
(not yet done. XXX comment addded in comm.cc)

16 years agoAuthor: Tim Brown <squid-cache@machine.org.uk>
Amos Jeffries [Mon, 9 Feb 2009 11:17:25 +0000 (00:17 +1300)] 
Author: Tim Brown <squid-cache@machine.org.uk>
Bug 2595: Out of bounds memory write due to off by one

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 8 Feb 2009 09:47:46 +0000 (22:47 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Only account for read ftp data in delay pools once, not twice.

The same data was accounted for twice in the delay pools resulting in
half of the expected rate.

16 years agoAuthor: Francesco Chemolli + Amos Jeffries
Amos Jeffries [Sun, 8 Feb 2009 09:34:00 +0000 (22:34 +1300)] 
Author: Francesco Chemolli + Amos Jeffries
Pconn not being used when they should.

A slight misalignment between the keys generated for push and pop of
connections to the waiting pool caused new connections never to match
any of the existing connections.

This patch makes several alterations to achieve a fix:
 - reduces the FwdState push logics down into a simple selection in
   pconnPush function which previously was a dumb wrapper.
 - adds a dump of current hash keys to the cacheManager pconn report
 - adds much better debugging to the pconn process at level 48,3 and 48,6
 - adds some additional documentation of code to the related call tree

  Pconn API after this patch :

The Pconn KEY takes several parameters (host, port, domain, client-ip).

For HTTP requests this is normally generated from the request data of
same name with domain being optional since it may be identical to host.

However for peer-sourced requests this alters slightly and the host:port
fields become the peer NAME and HTTP-PORT.

This means the pconn key in abstract becomes a key to the TCP remote-end of
the link with an optional anchor on the domain being requested.

16 years ago3.0.STABLE13 SQUID_3_0_STABLE13
Amos Jeffries [Tue, 3 Feb 2009 01:35:16 +0000 (18:35 -0700)] 
3.0.STABLE13

16 years agoPrep for 3.0.STABLE13
Amos Jeffries [Tue, 3 Feb 2009 01:30:22 +0000 (14:30 +1300)] 
Prep for 3.0.STABLE13

16 years agoTypo in half_closed_clients documentation
Amos Jeffries [Tue, 3 Feb 2009 00:34:17 +0000 (13:34 +1300)] 
Typo in half_closed_clients documentation

16 years agoFixup parsing of invalid version numbers
Amos Jeffries [Mon, 2 Feb 2009 13:05:56 +0000 (02:05 +1300)] 
Fixup parsing of invalid version numbers

16 years agoHandle all unknown HTTP/* as HTTP/0.9
Amos Jeffries [Mon, 2 Feb 2009 12:00:42 +0000 (01:00 +1300)] 
Handle all unknown HTTP/* as HTTP/0.9

Assume that all requests are HTTP/0.9 unless explicity stated otherwise.
Drop assert on missing or overflow numeric cases.

16 years agoFix memory leak from logformat parsing
Amos Jeffries [Mon, 2 Feb 2009 11:54:49 +0000 (00:54 +1300)] 
Fix memory leak from logformat parsing

16 years agoadd content area for CSS of cfgman pages
Amos Jeffries [Mon, 2 Feb 2009 11:50:25 +0000 (00:50 +1300)] 
add content area for CSS of cfgman pages

16 years agoFix link error on ufsdump
Amos Jeffries [Mon, 2 Feb 2009 06:50:51 +0000 (19:50 +1300)] 
Fix link error on ufsdump

It appears that libmiscutil MUST be linked after all used local .la libs
or it's symbols may get dropped.

16 years agoBootstrapped
Automatic source maintenance [Tue, 27 Jan 2009 02:04:13 +0000 (19:04 -0700)] 
Bootstrapped

16 years agoFix ESI breaks with --disable-optimizations
Amos Jeffries [Tue, 27 Jan 2009 00:40:24 +0000 (13:40 +1300)] 
Fix ESI breaks with --disable-optimizations

Turns out the libTrie configure script shares some macro handling
which needed a re-sync with the main squid script.

TODO: These should really be made into shared macros.

16 years ago3.0.STABLE12 SQUID_3_0_STABLE12
Amos Jeffries [Wed, 21 Jan 2009 01:57:35 +0000 (18:57 -0700)] 
3.0.STABLE12

16 years agoPrep for 3.0.STABLE12 pt2
Amos Jeffries [Wed, 21 Jan 2009 01:50:02 +0000 (14:50 +1300)] 
Prep for 3.0.STABLE12 pt2

16 years agoPrep for 3.0.STABLE12
Amos Jeffries [Wed, 21 Jan 2009 01:47:39 +0000 (14:47 +1300)] 
Prep for 3.0.STABLE12

16 years agoTestBed found errors in make check
Amos Jeffries [Mon, 19 Jan 2009 04:06:54 +0000 (21:06 -0700)] 
TestBed found errors in make check

16 years agoBootstrapped
Automatic source maintenance [Mon, 19 Jan 2009 02:19:52 +0000 (19:19 -0700)] 
Bootstrapped

16 years agoImport 3.1 TestBed scripts.
Amos Jeffries [Sun, 18 Jan 2009 03:30:40 +0000 (16:30 +1300)] 
Import 3.1 TestBed scripts.

I'm sick of fiddling with the old manual testing permutations.
3.1 testbed is now stable enough to port.

This adds the basic build test structure and layers which 3.0 is currently
known to pass. Some 'make check' errors prevent further layers being added
at this time. That is expected to change.

16 years agoBootstrapped
Automatic source maintenance [Sun, 18 Jan 2009 02:23:34 +0000 (19:23 -0700)] 
Bootstrapped

16 years agoImport formal debug levels from 3.1
Amos Jeffries [Sun, 18 Jan 2009 01:20:06 +0000 (14:20 +1300)] 
Import formal debug levels from 3.1

This will help get around may of the portage errors found nowdays.

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 18 Jan 2009 01:14:23 +0000 (14:14 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Bug 2489: Testsuite doesn't obey authentication scheme ./configure parameters

I've added a couple of AC_DEFINEs and a couple of #ifdefs to make the
offending tests conditional on the actually-built builtin auth-methods.

16 years agoBug 2556: HTCP fails without icp_port
Amos Jeffries [Sat, 17 Jan 2009 03:04:27 +0000 (16:04 +1300)] 
Bug 2556: HTCP fails without icp_port

Removes requirement for ICP port to be open for peer UDP queries to take
place.

TODO: Some work still needs to be done to separate the timeout from
icp_timeout and break ICP specific query logics out into icp code files.
But that is just cleanup for later.

16 years agoAuthor: Reinhard Sojka <reinhard.sojka@parlament.gv.at>
Amos Jeffries [Sat, 17 Jan 2009 02:48:14 +0000 (15:48 +1300)] 
Author: Reinhard Sojka <reinhard.sojka@parlament.gv.at>
Bug 2533: Solaris (sparc) with gcc/g++ doe not accept -xarch=generic64

16 years agoPolicy change on half_closed_clients setting
Amos Jeffries [Sat, 17 Jan 2009 02:40:35 +0000 (15:40 +1300)] 
Policy change on half_closed_clients setting

In Accordance with RFC:
http://www.mail-archive.com/squid-users@squid-cache.org/msg58658.html

It is not being removed entirely due to:
http://www.mail-archive.com/squid-dev@squid-cache.org/msg09338.html

16 years agoCoverity scan found a few bad lines.
Amos Jeffries [Sat, 17 Jan 2009 02:34:30 +0000 (15:34 +1300)] 
Coverity scan found a few bad lines.

16 years agoNTLM_AUTH/SMB_LM: replace assertion with clean error report
Amos Jeffries [Sat, 17 Jan 2009 02:03:18 +0000 (15:03 +1300)] 
NTLM_AUTH/SMB_LM: replace assertion with clean error report

16 years agoBug 2564: logformat '%tl' field not working as advertised
Amos Jeffries [Sat, 17 Jan 2009 01:31:49 +0000 (14:31 +1300)] 
Bug 2564: logformat '%tl' field not working as advertised

16 years agoDrop -V option. Obsolete since 2.6
Amos Jeffries [Sat, 17 Jan 2009 01:26:52 +0000 (14:26 +1300)] 
Drop -V option. Obsolete since 2.6

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Fri, 26 Dec 2008 21:47:16 +0000 (10:47 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2542: squid fails to resume dowload (and breaks content) when any ICAP filter is attached

In the case the icap client is enabled, the
ServerStateData::handleMoreAdaptedBodyAvailable called to handle the incoming
data from the ICAP server. Inside this function a StoreIOBuffer created to pass
the data to the related StoreEntry.

The bug is that the offset passed to the StoreIOBuffer did not count the 206
response offsets.
This patch uses the ServerStateData::currentOffset to compute the correct
offset (which also used in the case the icap client is not enabled).

16 years ago3.0.STABLE11 SQUID_3_0_STABLE11
Amos Jeffries [Tue, 23 Dec 2008 04:18:32 +0000 (21:18 -0700)] 
3.0.STABLE11

16 years agoPrep for 3.0.STABLE11
Amos Jeffries [Tue, 23 Dec 2008 03:49:09 +0000 (16:49 +1300)] 
Prep for 3.0.STABLE11

16 years agoBug 2227: Sefgaults in MemBuf::reset during idnsSendQuery
Amos Jeffries [Tue, 23 Dec 2008 03:45:29 +0000 (16:45 +1300)] 
Bug 2227: Sefgaults in MemBuf::reset during idnsSendQuery

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Thu, 11 Dec 2008 23:25:17 +0000 (12:25 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2545: Segmentation fault when squid with icap server use a cache peer.

16 years agoFix SQUID_3_0 specific build error introduced with last commit
Guido Serassio [Mon, 8 Dec 2008 13:30:47 +0000 (14:30 +0100)] 
Fix SQUID_3_0 specific build error introduced with last commit

16 years agoIdentify where unknown method requests come from
Amos Jeffries [Sun, 7 Dec 2008 11:22:07 +0000 (00:22 +1300)] 
Identify where unknown method requests come from

16 years agoMake release script handle sub-RC cleanly.
Amos Jeffries [Wed, 3 Dec 2008 04:11:46 +0000 (21:11 -0700)] 
Make release script handle sub-RC cleanly.

16 years agoAuthor: Andrew Hoying <andrew_hoying@blm.gov>
Amos Jeffries [Wed, 3 Dec 2008 04:10:58 +0000 (21:10 -0700)] 
Author: Andrew Hoying <andrew_hoying@blm.gov>
Bug 2424: filedescriptors being left unnecessary opened

16 years ago3.0.STABLE11-RC1 SQUID_3_0_STABLE11_RC1
Amos Jeffries [Tue, 2 Dec 2008 12:20:50 +0000 (05:20 -0700)] 
3.0.STABLE11-RC1

16 years agoPrep for 3.0.STABLE11-RC1
Amos Jeffries [Tue, 2 Dec 2008 12:15:05 +0000 (01:15 +1300)] 
Prep for 3.0.STABLE11-RC1

16 years agoBug 2526: default ALLOW when no list specified.
Amos Jeffries [Mon, 1 Dec 2008 10:39:25 +0000 (23:39 +1300)] 
Bug 2526: default ALLOW when no list specified.

The expected behavior of ACL checking should cause an implicit default
deny state to be reached unless a terminating denial causes a state to
flip to allow.

A small logic flaw means that completely explicitly absent access control
list was flipped to ALLOW state.

It is believed that most security controls which have explicitly coded
defaults in ther configuration are not impacted by the bug or its fix.
Only empty delay pools and ICAP re*mods are expected to have any change
in behavior as a result.

16 years agoRollback rev 8909
Amos Jeffries [Mon, 1 Dec 2008 05:30:29 +0000 (18:30 +1300)] 
Rollback rev 8909

This change to StoreIO overlooked the signedness of the StoreIO* length
parameter. It may have resulted in objects that should not have been
store making their way into the cache.

Caches created by 3.0.STABLE10 release are known to contain many invalid
entries when rolled back to STABLE9 release. Whether or not these entries
are fatal to Squid is still unknown. It is currently expected that they
will be erased properly, but cause a lot of cache.log warnings while that
is happening. It is left to admin to decide if its worth purging their
cache on upgrade.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 28 Nov 2008 12:08:43 +0000 (01:08 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Fix cache_peer forceddomainname when request has a Host header

cache_peer forceddomainname=xxx only worked when the received request
did not have a Host header.

16 years ago3.0 Release Notes updates
Amos Jeffries [Sun, 9 Nov 2008 03:21:08 +0000 (16:21 +1300)] 
3.0 Release Notes updates

Retrospective squid.conf diff against 2.7.

16 years agoUpdate execute and write permissions from some files.
Amos Jeffries [Sun, 9 Nov 2008 00:55:06 +0000 (13:55 +1300)] 
Update execute and write permissions from some files.

16 years agopermit execution of dummy script
Amos Jeffries [Sun, 2 Nov 2008 01:37:36 +0000 (14:37 +1300)] 
permit execution of dummy script

16 years agoDummy script to allow 3.0 snapshots.
Amos Jeffries [Thu, 30 Oct 2008 02:04:35 +0000 (15:04 +1300)] 
Dummy script to allow 3.0 snapshots.

Squid 3.x now depend on the TestBed scripts verifying the current code
before any snapshot can be built.

Since 3.0 has no TestBed integration we use this dummy script as bypass.

16 years agoCorrect warning on negative_ttl setting
Amos Jeffries [Tue, 28 Oct 2008 07:17:39 +0000 (20:17 +1300)] 
Correct warning on negative_ttl setting

16 years agoSync CONTRIBUTORS with contributed patch sets for 3.0
Amos Jeffries [Mon, 27 Oct 2008 12:23:29 +0000 (01:23 +1300)] 
Sync CONTRIBUTORS with contributed patch sets for 3.0

16 years agoBootstrapped
Automatic source maintenance [Thu, 23 Oct 2008 11:24:43 +0000 (05:24 -0600)] 
Bootstrapped

16 years agoMake --enable-storeio (without specifications) skip coss
Henrik Nordstrom [Thu, 23 Oct 2008 11:21:23 +0000 (13:21 +0200)] 
Make --enable-storeio (without specifications) skip coss

coss isn't supported. Don't automatically enable it.

16 years agoAuthor: Mikio Kishi <mkishi@104.net>
Amos Jeffries [Sun, 19 Oct 2008 11:14:50 +0000 (00:14 +1300)] 
Author: Mikio Kishi <mkishi@104.net>
Fix regression: access.log request size tag (%>st)

16 years agoDrop obsolete CVS Id tag from Release Notes
Amos Jeffries [Wed, 15 Oct 2008 08:48:24 +0000 (21:48 +1300)] 
Drop obsolete CVS Id tag from Release Notes

16 years ago3.0.STABLE 10 SQUID_3_0_STABLE10
Amos Jeffries [Tue, 14 Oct 2008 11:21:20 +0000 (05:21 -0600)] 
3.0.STABLE 10

16 years agoPrep for 3.0.STABLE10
Amos Jeffries [Tue, 14 Oct 2008 11:09:46 +0000 (00:09 +1300)] 
Prep for 3.0.STABLE10

16 years agoDocument the reply_body_max_size line format
Amos Jeffries [Tue, 14 Oct 2008 10:18:50 +0000 (23:18 +1300)] 
Document the reply_body_max_size line format

16 years agoWindows port: Fix build failure on Windows, rollback of wrong changes.
Guido Serassio [Sun, 12 Oct 2008 18:47:33 +0000 (20:47 +0200)] 
Windows port: Fix build failure on Windows, rollback of wrong changes.

The changes from this patch are absolutely wrong:
http://www.squid-cache.org/Versions/v3/3.0/changesets/b8884.patch
This is a 3.0 specific problem.

16 years agoBug 2393: DNS requests getting stuck in idns queue
Amos Jeffries [Sat, 11 Oct 2008 13:59:29 +0000 (02:59 +1300)] 
Bug 2393: DNS requests getting stuck in idns queue

Port of Squid-2 fix by Henrik Nordstrom

There seems to be two problems here.

a) On TCP communication failure Squid starts to restransmit the TCP query as
fast as it can, with no bounds checking. Keeps doing that until there is a
response or Squid is restarted...

b) For some reason the retransmit queue seems to halt for you. I have not yet
reproduced this issue, but may be related to the first..

16 years agoAuthor: Steve Bennett <S.Bennett@lancaster.ac.uk>
Amos Jeffries [Sat, 11 Oct 2008 13:52:24 +0000 (02:52 +1300)] 
Author: Steve Bennett <S.Bennett@lancaster.ac.uk>
Bug 2486: SEGV at startup due to URLHostName

16 years agoAuthor: Henrik Nordstrom <hno@squid-cache.org>
Amos Jeffries [Sat, 11 Oct 2008 13:45:20 +0000 (02:45 +1300)] 
Author: Henrik Nordstrom <hno@squid-cache.org>
Bug 2447: pt 1: Segfault on failed TCP DNS query

Adds debug messages for better tracking.
Aborts fatal operations early.

16 years agoFix: Coverity detected possible NULL dereference.
Amos Jeffries [Wed, 8 Oct 2008 05:15:31 +0000 (18:15 +1300)] 
Fix: Coverity detected possible NULL dereference.

KK message response with exactly zero-length encrypted data component
will cause Squid fakeauth helper to crash.

Not expected in normal operation. But maybe seen with specially crafted
or rare mangled responses.

16 years agoRemove rev 8908. Bad attributions
Amos Jeffries [Wed, 8 Oct 2008 05:11:19 +0000 (18:11 +1300)] 
Remove rev 8908. Bad attributions

16 years agoCoverity detected. inconsistent error detection on StoreIOBUffer
Amos Jeffries [Mon, 6 Oct 2008 11:35:50 +0000 (05:35 -0600)] 
Coverity detected. inconsistent error detection on StoreIOBUffer

Audit reveals only one of several callers which might set negative length
state were checking for it and setting error flag properly.

Makes more sense for the StoreIOBuffer constructor to do its own
error state detection with information than to offload on callers.

16 years agoCoverity detected. inconsistent error detection on StoreIOBUffer
Amos Jeffries [Mon, 6 Oct 2008 11:34:25 +0000 (05:34 -0600)] 
Coverity detected. inconsistent error detection on StoreIOBUffer

Audit reveals only one of several callers which might set negative length
state were checking for it and setting error flag properly.

Makes more sense for the StoreIOBuffer constructor to do its own
error state detection with information than to offload on callers.

16 years agoCompile errors.
Amos Jeffries [Sat, 27 Sep 2008 13:32:20 +0000 (01:32 +1200)] 
Compile errors.

16 years agoBug 2433: Ftp put gives bad gateway but put is correct
Amos Jeffries [Sat, 27 Sep 2008 10:20:13 +0000 (22:20 +1200)] 
Bug 2433: Ftp put gives bad gateway but put is correct

16 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Sat, 27 Sep 2008 10:06:05 +0000 (22:06 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug #2459 workaround: When dns_error_message value is lost,

use "lost DNS error" text and log at level 1 to inform the administrator
about the internal error.

This temporary hack does not fix the incorrect DNS error value problem, only
the lost one.

16 years agoAuthor: Benno Rice <benno@squid-cache.org>
Amos Jeffries [Fri, 26 Sep 2008 13:50:31 +0000 (07:50 -0600)] 
Author: Benno Rice <benno@squid-cache.org>
Don't strcmp Config.Log.store if it's NULL in storeLogOpen.

16 years agoBootstrapped
Automatic source maintenance [Sun, 21 Sep 2008 00:14:23 +0000 (18:14 -0600)] 
Bootstrapped

16 years agoAuthor: Luigi Gangitano <luigi@debian.org>
Amos Jeffries [Sat, 20 Sep 2008 09:24:48 +0000 (03:24 -0600)] 
Author: Luigi Gangitano <luigi@debian.org>
Define DEFAULT_CACHEMGR_CONFIG before its first use.

16 years agoBootstrapped
Automatic source maintenance [Sat, 20 Sep 2008 00:14:48 +0000 (18:14 -0600)] 
Bootstrapped

16 years agoAuthor: Francois Cami <fcami@winsoft.fr>
Amos Jeffries [Fri, 19 Sep 2008 04:08:51 +0000 (16:08 +1200)] 
Author: Francois Cami <fcami@winsoft.fr>
Bug 2466: bad links in ./configure due to website changes

16 years agoAuthor: Hasso Tepper <hasso@estpak.ee>
Amos Jeffries [Thu, 18 Sep 2008 10:39:48 +0000 (22:39 +1200)] 
Author: Hasso Tepper <hasso@estpak.ee>
Bug 2465: Support for DragonFly BSD

Part 1, this covers all the known code changes.
Bootstrap auto-tools system still needs an update to discover the OS
properly. See Bug report for details.

16 years agoBug 2391: assertion failed: forward.cc:1209: "(fs->code == HIER_DIRECT) == !fs->_peer"
Amos Jeffries [Thu, 18 Sep 2008 10:04:44 +0000 (22:04 +1200)] 
Bug 2391: assertion failed: forward.cc:1209: "(fs->code == HIER_DIRECT) == !fs->_peer"

assert was wrong.

16 years agoUpdate html release notes version text
Amos Jeffries [Thu, 11 Sep 2008 11:02:39 +0000 (23:02 +1200)] 
Update html release notes version text

16 years agoBootstrap and build testing SQUID_3_0_STABLE9
Amos Jeffries [Tue, 9 Sep 2008 16:05:34 +0000 (10:05 -0600)] 
Bootstrap and build testing

16 years agoPrep for STABLE 9
Amos Jeffries [Tue, 9 Sep 2008 14:53:44 +0000 (02:53 +1200)] 
Prep for STABLE 9

16 years agoFix compile error on Cygwin
Amos Jeffries [Tue, 9 Sep 2008 13:38:02 +0000 (01:38 +1200)] 
Fix compile error on Cygwin

16 years agoImport windows support notes from 2.6
Amos Jeffries [Tue, 9 Sep 2008 13:33:34 +0000 (01:33 +1200)] 
Import windows support notes from 2.6

16 years agoBootstrapped
Amos Jeffries [Mon, 8 Sep 2008 14:32:54 +0000 (08:32 -0600)] 
Bootstrapped

16 years agoLanguage Translations: import latest templates
Amos Jeffries [Mon, 8 Sep 2008 14:07:25 +0000 (02:07 +1200)] 
Language Translations: import latest templates

This change makes the current and future releases of 3.0 fully compatible
with the langpack bundles now released by the Squid Developers.

Existing translation files currently distributed are tagged for removal
in some future release and should be replaced/updated by the langpack
contents.

This patch:
 - merges back the current templates directory contents as if it was a
    new language to replace English/* .
 - makes those templates the default hard-coded language files
 - makes those files always distribute and install

16 years agoUse safe functions in basic auth MSNT helper
Amos Jeffries [Mon, 8 Sep 2008 13:30:02 +0000 (01:30 +1200)] 
Use safe functions in basic auth MSNT helper

Advanced testing reveals that the helper does not use the
string-safe functions Squid should be using.

This patch corrects that and a bit of formatting fluff.

16 years agoCOSS removal from 3.0
Amos Jeffries [Mon, 8 Sep 2008 13:14:01 +0000 (01:14 +1200)] 
COSS removal from 3.0

We had a vote on this some (several) months before 3.0 got branched, and
it was decided to drop COSS from the Squid-3.0 branch once branched.
Then the branching got delayed, and this task was forgotten when it
finally branched.

Until COSS gets significantly updated it's counter-productive to ship it
in STABLE releases. But the current code needs to be kept in trunk as
reference on how things got refactored for the day the current COSS code
gets forward ported to Squid-3.

Regards
Henrik

16 years agoBootstrapped
Automatic source maintenance [Mon, 1 Sep 2008 00:14:37 +0000 (18:14 -0600)] 
Bootstrapped

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 31 Aug 2008 13:58:03 +0000 (07:58 -0600)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fixed typo in squid.h which would prevent leak checking for arrays.

16 years agoBug 2340: make install errors, uudecode, gif-files
Amos Jeffries [Sun, 31 Aug 2008 13:56:02 +0000 (07:56 -0600)] 
Bug 2340: make install errors, uudecode, gif-files

Removes dynamic generation of static files and VCS distributes them
directly.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 15 Aug 2008 11:13:20 +0000 (23:13 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug #2437: peer name not logged in access.log like expected, instead the ip address is logged

The hierarchy field in access.log should log the peer name, not the hostname/ipaddress.

This is a regression from 2.6.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 15 Aug 2008 11:02:18 +0000 (23:02 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Windows port: Silence some harmless GCC warnings/errors

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 15 Aug 2008 10:57:53 +0000 (22:57 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Shield netdb.h include. Not available on all platforms (Windows)

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 15 Aug 2008 10:53:02 +0000 (22:53 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
GCC 4.3 changed semantics of "extern inline" to that of C99 (same as inline),

but we assume GNU GCC semantics. This sets the needed attribute to tell GCC
to continue using GNU GCC semantics on this function.

16 years agoAuthor: Markus <huaraz@moeller.plus.com>
Amos Jeffries [Wed, 13 Aug 2008 06:04:16 +0000 (00:04 -0600)] 
Author: Markus <huaraz@moeller.plus.com>
Bug 2426: Increase buffer in authenticateNegotiateStart / squid_kerb_auth

16 years agoAuthor: Dmitry Kurochkin
Amos Jeffries [Mon, 11 Aug 2008 13:25:53 +0000 (01:25 +1200)] 
Author: Dmitry Kurochkin
Bug 2352: no_check.pl ntlm helper never sends challenge

16 years agoFix: cppunit tests broken by squid.h defines
Amos Jeffries [Mon, 11 Aug 2008 13:09:45 +0000 (01:09 +1200)] 
Fix: cppunit tests broken by squid.h defines

In order to promote safe coding and the use of internal accounting API
Squid mangles certain common function definitions such as malloc/calloc.

While this is a great idea for Squid internal code. It's not good when
integrating external cppunit macro libraries. At least one of which in
use performs its own allocation during testing.

This adds an extra layer of protection to prevent redirection with certain
unit-tests where the macros needed clash with Squid.

17 years agovariabel slipped
Amos Jeffries [Wed, 6 Aug 2008 13:30:39 +0000 (01:30 +1200)] 
variabel slipped

17 years agoFix: Unsupported method in request may show raw binary data in log.
Amos Jeffries [Wed, 6 Aug 2008 13:27:10 +0000 (01:27 +1200)] 
Fix: Unsupported method in request may show raw binary data in log.

hp->buf which should be a plain text HTTP request is occasionally full of
binary garbage.

 * replace any non-printables with underscores.

 * crop the output at 100 chars, we should not need a whole binary
   streaming video to identify the issue.

 * reference extension_methods for admin if its a genuine request.

17 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Wed, 6 Aug 2008 12:41:12 +0000 (06:41 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug #2427: squid_ldap_group -h reports the old % codes for -f

The help output still showed the old obsolete %v/%a codes in the -f description
Updates to %u for user and %g for group some many years ago.