]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
15 years agoUndo unintended digest change in 10279 (will come back later in another change)
Henrik Nordstrom [Sun, 14 Feb 2010 00:09:05 +0000 (01:09 +0100)] 
Undo unintended digest change in 10279 (will come back later in another change)

15 years agohelper protocol concurrency=0 is the old protocol, not =1
Henrik Nordstrom [Sat, 13 Feb 2010 09:16:30 +0000 (10:16 +0100)] 
helper protocol concurrency=0 is the old protocol, not =1

part 2, auth helper settings defaults

15 years agohelper protocol concurrency=0 is the old protocol, not =1
Henrik Nordstrom [Sat, 13 Feb 2010 00:00:53 +0000 (01:00 +0100)] 
helper protocol concurrency=0 is the old protocol, not =1

concurrency=1 actaully means new protocol with a single channel...
not what the old helpers expect..

15 years agoLanguage: Afrikaans
Amos Jeffries [Fri, 12 Feb 2010 12:40:04 +0000 (01:40 +1300)] 
Language: Afrikaans

15 years agoPrep for 3.0.STABLE24
Amos Jeffries [Fri, 12 Feb 2010 12:00:49 +0000 (01:00 +1300)] 
Prep for 3.0.STABLE24

15 years agoManuals: some polish and updates
Amos Jeffries [Fri, 12 Feb 2010 11:40:48 +0000 (00:40 +1300)] 
Manuals: some polish and updates

15 years agoAuthor: Various Translators
Amos Jeffries [Fri, 12 Feb 2010 11:16:51 +0000 (00:16 +1300)] 
Author: Various Translators
Language Updates: Error templates general update.

15 years agoUpdated translation files
Amos Jeffries [Fri, 12 Feb 2010 11:07:03 +0000 (00:07 +1300)] 
Updated translation files

15 years agoMerge from trunk
Amos Jeffries [Fri, 12 Feb 2010 11:00:13 +0000 (00:00 +1300)] 
Merge from trunk

15 years agomove squid.8.in
Amos Jeffries [Fri, 12 Feb 2010 10:57:42 +0000 (23:57 +1300)] 
move squid.8.in

15 years agoTypo in rev10272
Amos Jeffries [Thu, 11 Feb 2010 23:48:51 +0000 (12:48 +1300)] 
Typo in rev10272

15 years agoBring bug 2858 fix inline with other TCP handling code.
Amos Jeffries [Thu, 11 Feb 2010 11:07:42 +0000 (00:07 +1300)] 
Bring bug 2858 fix inline with other TCP handling code.

15 years agoAuthor: Kieran Whitbread <k.j.whitbread@qmul.ac.uk>
Amos Jeffries [Wed, 10 Feb 2010 22:29:49 +0000 (11:29 +1300)] 
Author: Kieran Whitbread <k.j.whitbread@qmul.ac.uk>
Bug 2858: Segment violation in HTCP

15 years agoRemove tidyHtml from the template generation tools.
Amos Jeffries [Wed, 10 Feb 2010 11:40:58 +0000 (00:40 +1300)] 
Remove tidyHtml from the template generation tools.

While nice, It introduces several problems:

 * any syntax errors at all in the translation text causes a blank
   translated text file to be produced. Without any error code.

 * automatically downgrades the HTML content-type meta to "us-ascii"
   despite the input and output both actually being UTF-8

 * added dependency for building.

It's used automatically by the translate toolkit from 1.5.0 so
needs to be expicitly disabled when present.

15 years agoAuthor: Markus Moeller <huaraz@moeller.plus.com>
Henrik Nordstrom [Tue, 9 Feb 2010 20:04:44 +0000 (21:04 +0100)] 
Author: Markus Moeller <huaraz@moeller.plus.com>
squid_kerb_auth logging clarification

add ERROR, WARNING, etc to the logging messages.

15 years agoAdd adapted_http_access option. Port of http_access2 from Squid-2
Amos Jeffries [Sun, 7 Feb 2010 03:38:46 +0000 (16:38 +1300)] 
Add adapted_http_access option. Port of http_access2 from Squid-2

15 years agoAuthor: Henrik Nordstrom <hno@squid-cache.org>
Amos Jeffries [Sat, 6 Feb 2010 06:32:11 +0000 (19:32 +1300)] 
Author: Henrik Nordstrom <hno@squid-cache.org>
Clean up use of httpReplySetHeaders to be consistent across the code, and
remove the unneeded http_version argument.

Ported from 2.7

15 years agoTypo in multicastsiblings parse
Amos Jeffries [Sat, 6 Feb 2010 00:13:14 +0000 (13:13 +1300)] 
Typo in multicastsiblings parse

15 years agoAuthor: Jean-Gabriel Dick <jean-gabriel.dick@curie.fr>
Amos Jeffries [Fri, 5 Feb 2010 23:27:27 +0000 (12:27 +1300)] 
Author: Jean-Gabriel Dick <jean-gabriel.dick@curie.fr>
Bug 1843: multicast-siblings cache_peer option for optimising multicast ICP relations

'multicast-siblings' : this option is meant to be used only for cache peers of
type "multicast". It instructs Squid that ALL members of this multicast group
have "sibling" relationship with it, not "parent".  This is an optimization
that avoids useless multicast queries to a multicast group when the requested
object would be fetched only from a "parent" cache, anyway.  It's useful, e.g.,
when configuring a pool of redundant Squid proxies, being members of the same
multicast group.

15 years agoRemoved unused callWhenReady() API. Only ICAP services need it, for now.
Alex Rousskov [Thu, 4 Feb 2010 23:09:37 +0000 (16:09 -0700)] 
Removed unused callWhenReady() API. Only ICAP services need it, for now.

15 years agoCorrect HTML syntax in ca.po strings
Amos Jeffries [Thu, 4 Feb 2010 05:35:55 +0000 (18:35 +1300)] 
Correct HTML syntax in ca.po strings

15 years agoAuthor: James Brotchie <brotchie@gmail.com>
Amos Jeffries [Wed, 3 Feb 2010 12:36:21 +0000 (01:36 +1300)] 
Author: James Brotchie <brotchie@gmail.com>
Port of X509 certificate alias-domain handling from 2.7.

15 years agoPrep for 3.0.STABLE23
Amos Jeffries [Tue, 2 Feb 2010 09:15:04 +0000 (22:15 +1300)] 
Prep for 3.0.STABLE23

15 years agobasic_smb_auth is C++, adjust make flags accordingly. Also clean up string types...
Henrik Nordstrom [Mon, 1 Feb 2010 14:30:22 +0000 (15:30 +0100)] 
basic_smb_auth is C++, adjust make flags accordingly. Also clean up string types a bit to make g++ happier

15 years agoPrep for 3.1.0.16
Amos Jeffries [Mon, 1 Feb 2010 01:33:17 +0000 (14:33 +1300)] 
Prep for 3.1.0.16

15 years agoPrep for 3.0.STABLE22
Amos Jeffries [Mon, 1 Feb 2010 01:01:47 +0000 (14:01 +1300)] 
Prep for 3.0.STABLE22

15 years agoAuthor: Marko <mr_4u2@yahoo.com>
Amos Jeffries [Sun, 31 Jan 2010 06:50:25 +0000 (19:50 +1300)] 
Author: Marko <mr_4u2@yahoo.com>
Bug 2496: Downloading some variants in full before relaying

AKA, assertion failed: comm.cc:115: "ccb->active == false"
if the client disconnected before download finished arriving.

15 years agoAuthor: Graham Keeling <graham@equiinet.com>
Amos Jeffries [Sun, 31 Jan 2010 06:20:21 +0000 (19:20 +1300)] 
Author: Graham Keeling <graham@equiinet.com>
WCCPv1 not connecting to router correctly

I am coming across a problem with WCCPv1...

squid-2.5 connects to UDP port 2048, I get replies, and everything else then works.

squid-3.1 looks like it is trying to connect to UDP port 0 on the cisco.
[and fails to work]

I have looked at the src/wccp.c for squid-2.5, and it is clear that the port is
being set to 2048 for the connection to the router.
I have also looked at the source for 2.6, 2.7 and 3.0 (src/wccp.cc for this
version).
In all those, it appears to be setting the port on the outgoing connection.

However, in the 3.1 source, it doesn't.

15 years agoPolished %>ha description.
Alex Rousskov [Sat, 30 Jan 2010 04:40:16 +0000 (21:40 -0700)] 
Polished %>ha description.

15 years agoReleas notes for %ha option
Amos Jeffries [Sat, 30 Jan 2010 00:55:45 +0000 (13:55 +1300)] 
Releas notes for %ha option

15 years agoAuthor: Frank Schmirler <squid@schmirler.de>
Amos Jeffries [Sat, 30 Jan 2010 00:30:56 +0000 (13:30 +1300)] 
Author: Frank Schmirler <squid@schmirler.de>
Bug 2851: Connection pinning fails when using a peer

15 years agoChange the "virgin" term to "original".
Christos Tsantilas [Fri, 29 Jan 2010 18:03:03 +0000 (20:03 +0200)] 
Change the "virgin" term to "original".

virgin has a sexual connotation in some cultures, and can be confusing
in a way that is avoidable.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 29 Jan 2010 01:13:09 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoAdd the http::>ha format code and make http::>h log virgin request headers
Christos Tsantilas [Thu, 28 Jan 2010 20:37:10 +0000 (22:37 +0200)] 
Add the http::>ha format code and make http::>h log virgin request headers

This patch:
 - Modify the existin "http::>h format code to log HTTP request headers
   before any adaptation and redirection
 - Add the new format code "http::>ha" which allow the user to log HTTP
   request header or header fields after adaptation and redirection.

This is a Measurement Factory project.

15 years agoDisplay cache_peer name option in CacheMgr config
Amos Jeffries [Mon, 25 Jan 2010 00:20:12 +0000 (13:20 +1300)] 
Display cache_peer name option in CacheMgr config

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 24 Jan 2010 01:13:07 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoAuthor: Michael van Elst
Amos Jeffries [Sat, 23 Jan 2010 06:02:26 +0000 (19:02 +1300)] 
Author: Michael van Elst
Use POSIX tests for IPv6 address detections.

15 years agoAfrikaans has a moderator
Amos Jeffries [Sat, 23 Jan 2010 03:27:59 +0000 (16:27 +1300)] 
Afrikaans has a moderator

15 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 22 Jan 2010 01:13:11 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoBug 2553: X-Forwarded-For with IPv6 address not handled correctly
Amos Jeffries [Thu, 21 Jan 2010 13:06:48 +0000 (02:06 +1300)] 
Bug 2553: X-Forwarded-For with IPv6 address not handled correctly

Also, remove the port from consideration. It is meaningless on indirect
client address.

15 years agoFix build errors when XFF compounds with other features
Amos Jeffries [Thu, 21 Jan 2010 12:48:36 +0000 (01:48 +1300)] 
Fix build errors when XFF compounds with other features

Some squid.conf options require XFF and other component wrappers to build
properly.

This fixes ICAP and Delay Pools clash which appeared in testing. Other
multiple-component wrapping can be done in identical fashion

15 years agoAuthor: Wolfgang Nothdurft <wolfgang@linogate.de>
Amos Jeffries [Thu, 21 Jan 2010 10:22:02 +0000 (23:22 +1300)] 
Author: Wolfgang Nothdurft <wolfgang@linogate.de>
Bug 2731: Add follow_x_forwarded_for support to ICAP

Pass the indirect client address to the ICAP server using X-Client-IP.

15 years agoAuthor: Wolfgang Nothdurft <wolfgang@linogate.de>
Amos Jeffries [Thu, 21 Jan 2010 10:01:16 +0000 (23:01 +1300)] 
Author: Wolfgang Nothdurft <wolfgang@linogate.de>
Bug 2730: Regressions in follow_x_forwarded_for since Squid-2

Two Major Regressions:

* Omitted testing for trust of the directly connecting client.
  this is critical is trusting the header content itself.
  The absence permitted remote clients to forge X-Forwarded-For
  and gain access to resources through Squid.
  (mitigated by the following)

* Bad logic in implementing the trust model resulted in any XFF
  headers containing untrusted IPs to be dropped in their entirety.
  This resulted in clients transiting more than one proxy heirarchy to
  be incorrectly logged and reported in the second.

Some polish alterations to the existing logics:

* Testing the direct client address for trust means the testing must be
  fully async 'slow'. Thus avoiding the memory leaks found on occasion.

* acl_uses_indirect_client is not strictly needed to test multiple levels
  of X-Forwarded-For properly. The entire list of IPs are now always
  tested until on untrusted is found or an ACL failure occurs.

15 years agoMore portable rfc1035 unit test
Amos Jeffries [Thu, 21 Jan 2010 07:59:51 +0000 (20:59 +1300)] 
More portable rfc1035 unit test

15 years agoAdd warnings explaining Invalid Response errors generated by Squid
Amos Jeffries [Thu, 21 Jan 2010 05:46:20 +0000 (18:46 +1300)] 
Add warnings explaining Invalid Response errors generated by Squid

15 years agoBump AIO debug sync message down a level
Amos Jeffries [Wed, 20 Jan 2010 23:51:58 +0000 (12:51 +1300)] 
Bump AIO debug sync message down a level

15 years agoTypo in configure EUI description
Amos Jeffries [Wed, 20 Jan 2010 03:11:07 +0000 (16:11 +1300)] 
Typo in configure EUI description

15 years agoAuthor: Various Translators
Amos Jeffries [Mon, 18 Jan 2010 23:37:55 +0000 (12:37 +1300)] 
Author: Various Translators
ErrPage Updates: Romanian and some Turkish

15 years agoUpdates: Romanian
Amos Jeffries [Mon, 18 Jan 2010 23:25:32 +0000 (12:25 +1300)] 
Updates: Romanian

15 years agoUpdates: Romanian
Amos Jeffries [Mon, 18 Jan 2010 23:22:44 +0000 (12:22 +1300)] 
Updates: Romanian

15 years agoRomanian taken by Arthur Titeica
Amos Jeffries [Mon, 18 Jan 2010 23:16:11 +0000 (12:16 +1300)] 
Romanian taken by Arthur Titeica

15 years agoro_MD
Amos Jeffries [Mon, 18 Jan 2010 23:08:59 +0000 (12:08 +1300)] 
ro_MD

15 years agoLimit language negotiation to bundled error pages
Amos Jeffries [Mon, 18 Jan 2010 01:09:32 +0000 (14:09 +1300)] 
Limit language negotiation to bundled error pages

15 years agoManuals Updated: Russian
Amos Jeffries [Sat, 16 Jan 2010 02:34:56 +0000 (15:34 +1300)] 
Manuals Updated: Russian

15 years agoLanguage Updated: Turkish
Amos Jeffries [Sat, 16 Jan 2010 02:34:33 +0000 (15:34 +1300)] 
Language Updated: Turkish

15 years agoUpdate manuals
Amos Jeffries [Sat, 16 Jan 2010 02:18:58 +0000 (15:18 +1300)] 
Update manuals

15 years agoHandle DNS header-only packets as invalid.
Amos Jeffries [Fri, 15 Jan 2010 11:29:27 +0000 (00:29 +1300)] 
Handle DNS header-only packets as invalid.

15 years agoBug 2811: SNMP client table renumbering
Amos Jeffries [Thu, 14 Jan 2010 09:18:00 +0000 (22:18 +1300)] 
Bug 2811: SNMP client table renumbering

Bump the client table to version 2 for new IP address formatting.

* Also polishes the OID debug display a little bit.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 14 Jan 2010 01:13:01 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoFix build errors in PAM auth on Linux
Amos Jeffries [Wed, 13 Jan 2010 11:07:44 +0000 (00:07 +1300)] 
Fix build errors in PAM auth on Linux

15 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 13 Jan 2010 01:13:17 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoLanguage Updates: manuals - more polish.
Amos Jeffries [Tue, 12 Jan 2010 23:37:05 +0000 (12:37 +1300)] 
Language Updates: manuals - more polish.

* Fix some typos and omitted polish from earlier.

Uncovered by Rosetta translators.

15 years agoMerge from trunk
Amos Jeffries [Tue, 12 Jan 2010 23:31:55 +0000 (12:31 +1300)] 
Merge from trunk

15 years agoFix typos and omissions from earlier conversion.
Amos Jeffries [Tue, 12 Jan 2010 23:25:00 +0000 (12:25 +1300)] 
Fix typos and omissions from earlier conversion.

* Update manuals.pot again.

15 years agoFix typo moving squid.8.in
Amos Jeffries [Tue, 12 Jan 2010 21:16:29 +0000 (10:16 +1300)] 
Fix typo moving squid.8.in

15 years agoFull re-working of the way AcceptFD are handled in Squid
Amos Jeffries [Tue, 12 Jan 2010 06:44:41 +0000 (19:44 +1300)] 
Full re-working of the way AcceptFD are handled in Squid

Previously:
  a pre-defined fdc_table was initialized and left waiting just in case
any of the available FD were needed as a listening port. At which point
a handler was assigned and select was setup. Much action was wasted
initializing the array on startup and shutdown, and various unnecessary
maintenance references in comms every FD closure.

Now:
 one merely opens a socket, defines the AsyncCall handler for the
listening FD and creates a ListenStateData object from the two. When a
listener socket is done with, delete the ListenStateData and the FD gets
closed. Callers are responsible for maintaining a pointer to the
ListenStateData.

ListenStateData silently does all the comm processing for setting up and
watching for new connections. Including whether accept() on a port is
delayed until more FD are available. Then when any accept() is completed
it sends the resulting FD and ConnectionDetails objects to the assigned
callback.

COMM_ERR_CLOSING and re-scheduling themselves is now not generally relevant
to layers higher than comm on listening sockets. The callbacks never get
called at all unless a real new connection has been accepted. The old code
is still used internally by the comm layer, but details of error handling
and re-scheduling of accept() never leak out into higher level code now.

ListenStateData can be created in use-once or accept-many form.
* use-once are intended for short temporary listening sockets such as
  FTP passive data links. A single inbound connection is allowed after
  which the handler self-destructs.
* accept-many are for long term FD such as the http_port listeners which
  continuously accept new connections and pass them all to the same handler
  until something causes the ListenStateData to die (deletion, or self
  destruct under fatal socket IO errors).

The previous existing AcceptLimiter is slightly remodeled to work with
ListenStateData* instead of an intermediary callback reference type.
And also altered from LIFO to FIFO behavior for better client response
times under load.

All the code relevant to comm layer processing of accept() is bundled
into libcomm-listener.la.

TODO:
* wrap the SSL handshake into ListenStateData. That way SSL on some
  sockets can be treated as a real transport layer and for example
  httpsAccept and httpAccept merged into one function.

* there is one bug uncovered, that when the accept() handler is deleted
  and the port closed while it has been deferred. The deferred queue
  needs to be cleared of all (multiple) deferral events, or they will
  be scheduled uselessly and may segfault with FD errors.
  This only gets hit if Squid is shutdown during active load limiting.

15 years agoMerge from trunk
Amos Jeffries [Tue, 12 Jan 2010 06:35:50 +0000 (19:35 +1300)] 
Merge from trunk

15 years agoMerge from trunk
Amos Jeffries [Tue, 12 Jan 2010 06:17:22 +0000 (19:17 +1300)] 
Merge from trunk

15 years agoLanguage Updates: More manuals polished
Amos Jeffries [Tue, 12 Jan 2010 05:55:21 +0000 (18:55 +1300)] 
Language Updates: More manuals polished

15 years agoMore manuals polish
Amos Jeffries [Tue, 12 Jan 2010 05:43:03 +0000 (18:43 +1300)] 
More manuals polish

15 years agoLanguage Updates: Polish for manuals translation
Amos Jeffries [Tue, 12 Jan 2010 05:31:55 +0000 (18:31 +1300)] 
Language Updates: Polish for manuals translation

* Mark up *.8 and *.1 for po4a garbage strings elimination
* Polishes existing *.8 and *.1 to standard texts
* Moves squid.8.in to src/ next to its binary
* Updated manuals.pot and current .po
* Adds en_AU.po from Rosetta Project

15 years agoStandardize the manual page format
Amos Jeffries [Tue, 12 Jan 2010 04:06:23 +0000 (17:06 +1300)] 
Standardize the manual page format

* markup static *.8 and *.1 for po4a eliding garbage strings
* standardize texts for some common strings
* Also moves the squid.8 document to src/ where the matching binary is
* Update .pot and .po

15 years agoReduce non-IP debugs message priority
Amos Jeffries [Mon, 11 Jan 2010 22:36:50 +0000 (11:36 +1300)] 
Reduce non-IP debugs message priority

15 years agoImport en_AU from Rosetta Project
Amos Jeffries [Mon, 11 Jan 2010 06:02:06 +0000 (19:02 +1300)] 
Import en_AU from Rosetta Project

15 years agoPolish of soe manuals and pruning of translation strings.
Amos Jeffries [Mon, 11 Jan 2010 00:55:59 +0000 (13:55 +1300)] 
Polish of soe manuals and pruning of translation strings.

15 years agoLanguage Updates: manual pages
Amos Jeffries [Sun, 10 Jan 2010 12:40:53 +0000 (01:40 +1300)] 
Language Updates: manual pages

* Update manuals.pot after helper shuffling
* Add po4a infrastructure to build .pot and .po
* Modify some manual sources to cleanup the transation strings

TODO:
 * more cleanup modification of existing man(8) sources
 * addition of new man(8) pages for other helpers and tools

15 years agoUpdate manuals after helper changes
Amos Jeffries [Sun, 10 Jan 2010 12:18:10 +0000 (01:18 +1300)] 
Update manuals after helper changes

15 years agoMerge from trunk
Amos Jeffries [Sun, 10 Jan 2010 12:16:14 +0000 (01:16 +1300)] 
Merge from trunk

15 years agoUpdate errpages.pot
Amos Jeffries [Sun, 10 Jan 2010 10:37:21 +0000 (23:37 +1300)] 
Update errpages.pot

15 years agoRevert Typo in cachemgr.cc update
Amos Jeffries [Sun, 10 Jan 2010 10:30:51 +0000 (23:30 +1300)] 
Revert Typo in cachemgr.cc update

15 years agoManuals: various updates
Amos Jeffries [Sun, 10 Jan 2010 10:07:18 +0000 (23:07 +1300)] 
Manuals: various updates

* Import several translation updates from Rosetta project
* Add po4a config templates
* Update po4a generator script
* Update some manual sources to hide syntax garbage from translation
* Update manuals.pot

15 years agoUpdate .pot file and sync .po
Amos Jeffries [Sun, 10 Jan 2010 10:06:41 +0000 (23:06 +1300)] 
Update .pot file and sync .po

15 years agoAuthor: Various Translators
Amos Jeffries [Sun, 10 Jan 2010 09:21:40 +0000 (22:21 +1300)] 
Author: Various Translators
Language Updates: manual pages

Imported from Rosetta project

* Adds Russian
* Updates: Czech, German, Spanish

15 years agoAuthor: Various Translators
Amos Jeffries [Sun, 10 Jan 2010 09:01:26 +0000 (22:01 +1300)] 
Author: Various Translators
Language Updates: error pages

15 years agoAuthor: Various Translators
Amos Jeffries [Sun, 10 Jan 2010 08:51:37 +0000 (21:51 +1300)] 
Author: Various Translators
Turkish and Polish updates imported from Rosetta project

15 years agoAuthor: Ivan MasÃar <helix84@centrum.sk>
Amos Jeffries [Sun, 10 Jan 2010 08:43:17 +0000 (21:43 +1300)] 
Author: Ivan MasÃar <helix84@centrum.sk>
Slovak updates

15 years agoVarious pointer and syntax errors.
Amos Jeffries [Sun, 10 Jan 2010 08:15:38 +0000 (21:15 +1300)] 
Various pointer and syntax errors.

Uncovered by Pawel Worach using clang static analysis tool.

Fixes:
 * several NULL pointer dereferences
 * several unused variable return saves
 * a parentheses typo

15 years agoRemove optional kerberos/spnegohelp/ library due to licensing issues
Henrik Nordstrom [Sat, 9 Jan 2010 01:04:10 +0000 (02:04 +0100)] 
Remove optional kerberos/spnegohelp/ library due to licensing issues

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 3 Jan 2010 01:13:06 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoBasic Authentication Helper name upgrades
Amos Jeffries [Sat, 2 Jan 2010 12:06:08 +0000 (01:06 +1300)] 
Basic Authentication Helper name upgrades

This nearly completes renaming and C++ compiling of the basic auth helpers.
MSNT is still pending cleanup in it's smb library code.

TODO: other helper types updated.

15 years agoDistribute missing helper-mux file.
Amos Jeffries [Sat, 2 Jan 2010 11:58:24 +0000 (00:58 +1300)] 
Distribute missing helper-mux file.

Uncovered by testbed.

15 years agoMerge from trunk
Amos Jeffries [Sat, 2 Jan 2010 10:17:00 +0000 (23:17 +1300)] 
Merge from trunk

15 years agoRelease notes for helper-mux
Amos Jeffries [Sat, 2 Jan 2010 05:37:54 +0000 (18:37 +1300)] 
Release notes for helper-mux

15 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sat, 2 Jan 2010 05:00:34 +0000 (18:00 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Helper Multiplexer

The helper multiplexer's purpose is to relieve some of the burden
squid has when dealing with slow helpers. It does so by acting as a
middleman between squid and the actual helpers, talking to squid via
the multiplexed variant of the helper protocol and to the helpers
via the non-multiplexed variant.

Helpers are started on demand, and in theory the muxer can handle up to
1k helpers per instance. It's up to squid to decide how many helpers
to start.

The muxer knows nothing about the actual messages being passed around,
and as such can't really (yet?) compensate for broken helpers.
It is not yet able to manage dying helpers, but it will.

The helper can be controlled using various signals:
- SIGHUP: dump the state of all helpers to STDERR

15 years agoAdd client_ip_max_connections
Amos Jeffries [Sat, 2 Jan 2010 04:32:46 +0000 (17:32 +1300)] 
Add client_ip_max_connections

Given some incentive after deep consideration of the slowloris claims.
While I still do not believe Squid is vulnerable per-se and some people
have tested and found no such failures as claimed for the DoS attack.

We found we could provide better administrative controls.  This is one such
that has been asked about many times and still did not exist. It operates
essentially teh same as the maxconn ACL, but does not require HTTP headers
and other request data to fully exist like ACLs do.

It is tested immediately after accept() and is request type agnostic, right
down to DNS TCP requests. So care is warranted in hierarchy situations or where
clients may be behind NAT.

Utilizes the client DB to monitor accepted TCP links. Operates prior to
everything so as to eliminate resource usage on the blocking case and
close the windows of opportunity for dribble-attacks etc.

Default (-1) is to keep the status-quo of no limits.

15 years agoTypo in merge
Amos Jeffries [Sat, 2 Jan 2010 04:28:30 +0000 (17:28 +1300)] 
Typo in merge

15 years agoBug 2452: external_acl_type does not limit entries, leads to high memory usage
Amos Jeffries [Sat, 2 Jan 2010 01:00:17 +0000 (14:00 +1300)] 
Bug 2452: external_acl_type does not limit entries, leads to high memory usage

Set a nominal cap of 256*1024 entries per external_acl_type configured.
This can be adjusted as needed with the external_acl_type cache=N option.

15 years agoMerge from trunk
Amos Jeffries [Fri, 1 Jan 2010 21:26:45 +0000 (10:26 +1300)] 
Merge from trunk

15 years agoDetatch status code enum from enums.h
Amos Jeffries [Fri, 1 Jan 2010 21:16:57 +0000 (10:16 +1300)] 
Detatch status code enum from enums.h

15 years agoBug 2787: pt 1: unexpected http status code messages
Amos Jeffries [Fri, 1 Jan 2010 09:15:02 +0000 (22:15 +1300)] 
Bug 2787: pt 1: unexpected http status code messages

Bumping the message from level-0 (critical) to level-1 (important and
major informational)