]>
git.ipfire.org Git - thirdparty/squid.git/log
Amos Jeffries [Wed, 23 Sep 2009 07:15:58 +0000 (19:15 +1200)]
Merg from trunk
Amos Jeffries [Tue, 22 Sep 2009 09:32:58 +0000 (21:32 +1200)]
Cleanup: debug display current IP of a set cleanly
Amos Jeffries [Sun, 20 Sep 2009 21:18:31 +0000 (09:18 +1200)]
Correct debugs on ACL IP parse
Amos Jeffries [Sun, 20 Sep 2009 21:06:24 +0000 (09:06 +1200)]
Bug 2601: pt 2: Mixed v4/v6 src acl leads to TCP_DENIED
- Remove 'odd' netmask support from ACL.
- Fully deprecate netmask support for ACL.
Earlier fix caused inconsistent handling between IPv4 and IPv6 builds of
Squid. Which has turned out to be a bad idea.
This fixes that by 'breaking' both build alternatives.
see also bug 2141 for long-term tracker.
Henrik Nordstrom [Sun, 20 Sep 2009 20:20:42 +0000 (22:20 +0200)]
Bug #2777: Various syntax warnings detected on OpenSolaris.
Amos Jeffries [Sun, 20 Sep 2009 03:07:29 +0000 (15:07 +1200)]
Install error page templates properly.
The new install make code was failing to install the template/ directory
required for Squid to run.
It was also using the wrong variable to install translated content. Thus
installing the english template files in place of the translated ones.
Amos Jeffries [Sun, 20 Sep 2009 00:29:52 +0000 (12:29 +1200)]
Author: Luigi Gangitano <luigi@debian.org>
Bug 2779: Support GNU/kFreeBSD
Amos Jeffries [Sat, 19 Sep 2009 12:03:56 +0000 (00:03 +1200)]
Author: Peter Pramberger <peter@pramberger.at>
Bug 2761: Gopher and double HTTP response header
Amos Jeffries [Sat, 19 Sep 2009 09:15:45 +0000 (21:15 +1200)]
Make Directory Listing template generic
Amos Jeffries [Sat, 19 Sep 2009 08:20:12 +0000 (20:20 +1200)]
Correct docs on NAT
Henrik Nordstrom [Sat, 19 Sep 2009 01:08:09 +0000 (03:08 +0200)]
Fixup uninstall squid.conf race by comparing with built files instead of .default
Automatic source maintenance [Sat, 19 Sep 2009 00:12:39 +0000 (18:12 -0600)]
SourceFormat Enforcement
Henrik Nordstrom [Fri, 18 Sep 2009 23:46:33 +0000 (01:46 +0200)]
Make ESI behave reasonable when built but not used
- Move (and extent/correct) hardcoded CC ignore to a new http_port
option ignore-cc
- Limit Surrogate-Capability header addition to accelerated requests.
Henrik Nordstrom [Fri, 18 Sep 2009 20:40:02 +0000 (22:40 +0200)]
Author: Philippe Lantin <plantin@cobaltgroup.com>
Bug #2624: Invalid response for IMS request
Squid forgot to verify the client provided If-Modified-Since when
seeing a 304 from upstream.
Amos Jeffries [Fri, 18 Sep 2009 06:35:42 +0000 (18:35 +1200)]
Remove 'NAT' lookup restrictions from TPROXY lookups.
Now that TPROXY can do v6 we only need to protect the real NAT lookups
behind protocol family tests.
Amos Jeffries [Wed, 16 Sep 2009 09:53:46 +0000 (03:53 -0600)]
Author: Source Maintenance
SourceFormat enforcement
Amos Jeffries [Wed, 16 Sep 2009 07:34:24 +0000 (19:34 +1200)]
Bug 2483: bind() called before connect()
Many of the occasions Squid was calling bind() are not required. This
reduces the bind() calls to only those which are actually needed.
Further optimization can be done in a future version to drop the paranoid
and slightly performance degrading safety checks for instances of Squid
binding ANYADDR without listener status, and attempting to bind NOADDR.
Amos Jeffries [Wed, 16 Sep 2009 06:46:44 +0000 (18:46 +1200)]
Use close() instead of shutdown() on socket FD
Henrik Nordstrom [Wed, 16 Sep 2009 00:24:35 +0000 (02:24 +0200)]
Workaround com_err.h C++ brokenness triggered by OpenSSL includes
Henrik Nordstrom [Wed, 16 Sep 2009 00:13:28 +0000 (02:13 +0200)]
Split some asserts with side-effects
assert expressions should not have any noticeable sideffects or otherwise
be important for the program flow operation. If not unexpected results is
seen from compiling with -DNODEBUG
Henrik Nordstrom [Wed, 16 Sep 2009 00:11:42 +0000 (02:11 +0200)]
Remove initializer of non-existing tproxy_version field
Henrik Nordstrom [Tue, 15 Sep 2009 23:49:34 +0000 (01:49 +0200)]
Remove the suggesting hinting that one may end http_access with "allow all".
Just mentioning "deny all" is sufficient, and less risky..
Henrik Nordstrom [Tue, 15 Sep 2009 23:48:19 +0000 (01:48 +0200)]
Correct a mistyped asser usin = instead of ==
in this case completely harmless but still wrong..
Amos Jeffries [Tue, 15 Sep 2009 12:41:11 +0000 (00:41 +1200)]
Author: Various Translators
Language Updates
Amos Jeffries [Tue, 15 Sep 2009 12:39:37 +0000 (00:39 +1200)]
Updte zh-cn to latest .pot
Amos Jeffries [Tue, 15 Sep 2009 12:32:52 +0000 (00:32 +1200)]
New credits for Rosettatranslators
Amos Jeffries [Tue, 15 Sep 2009 12:31:10 +0000 (00:31 +1200)]
zh-cn updates from Rosetta
Amos Jeffries [Tue, 15 Sep 2009 11:59:51 +0000 (23:59 +1200)]
Auto-detect the amount of TPROXY support available.
Uses the configured port address type to determine the level of testing
done. Systems with IPv4-only TPROXY (kernel 2.6.28 to 2.6.3*) will have
their ports reduced to IPv4-only, and those with IPv6 support will see
the port open as IPv6. This is done a run-time to cater for patched kernels
and kernel upgrades underneath Squid.
Henrik Nordstrom [Mon, 14 Sep 2009 22:50:20 +0000 (00:50 +0200)]
Bug 2768 - squid_ldap_group argument parsing error
-K is a boolean argument and should not eath the next argument as data.
Amos Jeffries [Mon, 14 Sep 2009 02:33:31 +0000 (14:33 +1200)]
Merge from trunk
Amos Jeffries [Mon, 14 Sep 2009 01:44:19 +0000 (13:44 +1200)]
Correct peer connect-fail-limit default of 10
Amos Jeffries [Sun, 13 Sep 2009 10:06:34 +0000 (22:06 +1200)]
dist the config.test for Kerberos. fix some build errors I added
Amos Jeffries [Sat, 12 Sep 2009 08:16:48 +0000 (20:16 +1200)]
Wrap kerberos test headers per Squid requirement. change internal name
Amos Jeffries [Sat, 12 Sep 2009 08:14:26 +0000 (20:14 +1200)]
Wrap kerberos helper headers per Squid requirement. change internal name
Amos Jeffries [Sat, 12 Sep 2009 08:08:06 +0000 (20:08 +1200)]
Squid helpers go into libexec/ not bin/
Amos Jeffries [Sat, 12 Sep 2009 08:05:55 +0000 (20:05 +1200)]
Merge with trunk
Amos Jeffries [Sat, 12 Sep 2009 08:01:56 +0000 (20:01 +1200)]
Fix some c++ build errors in Kerberos helper
Amos Jeffries [Sat, 12 Sep 2009 06:48:39 +0000 (18:48 +1200)]
Add back missing build test for kerberos
Amos Jeffries [Sat, 12 Sep 2009 06:47:44 +0000 (18:47 +1200)]
Better display of what helpers are being built.
Amos Jeffries [Fri, 11 Sep 2009 10:36:26 +0000 (22:36 +1200)]
Link kerberos helper to compat library the new way
Amos Jeffries [Fri, 11 Sep 2009 07:19:29 +0000 (19:19 +1200)]
Move last kerberos helper files to .cc
Amos Jeffries [Fri, 11 Sep 2009 00:48:42 +0000 (12:48 +1200)]
Author: Markus Moeller <huaraz@moeller.plus.com>
Kerberos helepr updates.
Amos Jeffries [Fri, 11 Sep 2009 00:04:26 +0000 (12:04 +1200)]
Some build errors. Updates from M.Moeller
Amos Jeffries [Thu, 10 Sep 2009 10:29:09 +0000 (22:29 +1200)]
Revert garbage slipped into rev9971
Amos Jeffries [Thu, 10 Sep 2009 10:01:18 +0000 (22:01 +1200)]
Detect et/com_err.h
Amos Jeffries [Thu, 10 Sep 2009 03:08:35 +0000 (15:08 +1200)]
AutoDocs: fix some documentation macro errors.
Amos Jeffries [Thu, 10 Sep 2009 02:24:49 +0000 (14:24 +1200)]
Author: Markus Moeller <huaraz@moeller.plus.com>
Auto-detect kerberos error_message functions
Amos Jeffries [Tue, 8 Sep 2009 12:06:37 +0000 (00:06 +1200)]
Bug 2215: config file line length limit
Amos Jeffries [Tue, 8 Sep 2009 10:55:58 +0000 (22:55 +1200)]
Prevent squidclient sending two Accept: headers
Amos Jeffries [Tue, 8 Sep 2009 10:08:10 +0000 (22:08 +1200)]
Bug 2722: http_port accel combined with CONNECT has bizarre behaviour
Amos Jeffries [Tue, 8 Sep 2009 08:27:09 +0000 (20:27 +1200)]
Drop the documentation backup method for doxygen.
Amos Jeffries [Tue, 8 Sep 2009 03:10:57 +0000 (15:10 +1200)]
ignore missing dyn when building code guide
Amos Jeffries [Tue, 8 Sep 2009 01:20:21 +0000 (13:20 +1200)]
Bug 2735: Incomplete -fhuge-objects detection
Henrik Nordstrom [Mon, 7 Sep 2009 12:33:17 +0000 (14:33 +0200)]
Clean up COSS warning logics
Amos Jeffries [Mon, 7 Sep 2009 10:53:18 +0000 (22:53 +1200)]
dist spnego once
Amos Jeffries [Mon, 7 Sep 2009 10:44:28 +0000 (22:44 +1200)]
Remove -I. and dist spnegohelp directory
Amos Jeffries [Mon, 7 Sep 2009 06:02:25 +0000 (18:02 +1200)]
Author: Henrik Nordstrom <hno@squid-cache.org>
Bug 2510: digest_ldap_auth uses incorrect logic with TLS
Amos Jeffries [Sun, 6 Sep 2009 10:50:20 +0000 (22:50 +1200)]
Prep for 3.0.STABLE19
Amos Jeffries [Sun, 6 Sep 2009 10:41:08 +0000 (22:41 +1200)]
Fix segfault parsing cache_dir with IOEngine= set
Amos Jeffries [Sat, 5 Sep 2009 04:16:18 +0000 (16:16 +1200)]
Some final configure problems
Amos Jeffries [Sat, 5 Sep 2009 01:43:33 +0000 (13:43 +1200)]
Correction: TPROXY cant pass to an IP. Fully enable.
Amos Jeffries [Sat, 5 Sep 2009 01:21:40 +0000 (13:21 +1200)]
Partially enable IPv6 TPROXY support.
Balabit are now providing patches to do TPROXY with IPv6.
This retains the v4-only behaviour of the wildcard and IPv4 adresses
until full kernel support is available but enables people who have
patched their kernels to set an IPv6 in the http_port.
Henrik Nordstrom [Fri, 4 Sep 2009 13:23:22 +0000 (15:23 +0200)]
Back to using suffix rule for the error translations. % make rules is not POSIX.
Amos Jeffries [Fri, 4 Sep 2009 13:07:52 +0000 (01:07 +1200)]
Bump kerberos helper to C++
Amos Jeffries [Fri, 4 Sep 2009 13:07:27 +0000 (01:07 +1200)]
Add Kerberos helper copyright to CREDITS
Amos Jeffries [Fri, 4 Sep 2009 13:01:26 +0000 (01:01 +1200)]
Rename folder to kerberos
Amos Jeffries [Fri, 4 Sep 2009 12:59:38 +0000 (00:59 +1200)]
New squid_kerb_auth from Markus Moeller
Amos Jeffries [Fri, 4 Sep 2009 11:59:26 +0000 (23:59 +1200)]
Merge from trunk
Amos Jeffries [Fri, 4 Sep 2009 11:51:31 +0000 (23:51 +1200)]
Bundle helpers for url_rewrite
Adds the --enable-url-rewrite-helpers configure time option.
see release notes or ./configure help text.
Bundles two 'fake' helpers with exemplar code for shell and C++ coding:
url_fake_rewrite
- C++ helper with old non-concurrent protocol.
url-fake-rewrite.sh
- shell helper with concurrent and non-concurrent protocols.
Also, some polishing is done to debug code for helpers.
Amos Jeffries [Fri, 4 Sep 2009 11:38:28 +0000 (23:38 +1200)]
Author: Markus Moeller <huaraz@moeller.plus.com>
Support Kerberos login to peers
In some setups the upstream proxy requires a secue authentication method
(Negotiate, NTLM). Allow this with Negotiate/Kerberos.
Amos Jeffries [Fri, 4 Sep 2009 09:26:19 +0000 (21:26 +1200)]
Bug 2570: wccp2 "Here I Am" announcements not sent
There is a bit of re-work in configuration needed before this can go into
the storage config scope where it belongs. Temporary fix for 3.1.
see bug report for details.
Amos Jeffries [Fri, 4 Sep 2009 07:57:08 +0000 (19:57 +1200)]
Fix dist issue in errors/
Amos Jeffries [Fri, 4 Sep 2009 05:57:25 +0000 (17:57 +1200)]
Fix compile bugs in errors/
Henrik Nordstrom [Fri, 4 Sep 2009 01:12:05 +0000 (03:12 +0200)]
Cleanup automake-foo a bit in errors/
Henrik Nordstrom [Fri, 4 Sep 2009 01:07:00 +0000 (03:07 +0200)]
Use relative links for error language aliases, fixing DESTDIR install
Amos Jeffries [Thu, 3 Sep 2009 13:07:01 +0000 (01:07 +1200)]
Merge from trunk
Amos Jeffries [Thu, 3 Sep 2009 13:05:48 +0000 (01:05 +1200)]
One mor build errors
Amos Jeffries [Thu, 3 Sep 2009 11:57:46 +0000 (23:57 +1200)]
TestBed: Correct verbose conditional summary display
Amos Jeffries [Thu, 3 Sep 2009 10:53:00 +0000 (22:53 +1200)]
Revert loadable-modules hack slipped into a commit again.
Amos Jeffries [Thu, 3 Sep 2009 10:44:35 +0000 (22:44 +1200)]
Merge from trunk
Amos Jeffries [Thu, 3 Sep 2009 10:29:07 +0000 (22:29 +1200)]
Author: Alex Rousskov <rousskov@measurement-factory.com>
Fixed entry size calculation for the max-size cache_dir selection algorithms.
There were two sides of this bug:
In src/store_swapout.cc, we must create metadata earlier because
storeCreate() needs swap_hdr_sz. With swap_hdr_sz unknown at the time of
storeCreate(), the SwapDir selection algorithms may select SwapDirs that
should not really take the entry as the real storage size (with the
metadata swap_hdr_sz) would exceed the store slot size.
In src/store_dir.cc, we must add the metadata size before looking for
cache_dirs that accept objsize. Only the "new"
storeDirSelectSwapDirRoundRobin selection scheme was affected.
Amos Jeffries [Thu, 3 Sep 2009 08:21:00 +0000 (20:21 +1200)]
Fix some build errors
Amos Jeffries [Wed, 2 Sep 2009 13:09:29 +0000 (01:09 +1200)]
Bug 2734: fix compile errors from CBDATA_CLASS2()
Some compilers don't like the sytax private:;
This makes the starting state explicitly private: instead of assuming its
going to be defined in a private state and dependign on the definer class.
We can cope with not setting the state to private at the end of the macro
as well. It just means the use of this macro must be last, or have an
explicit private/public definition after its use.
Amos Jeffries [Wed, 2 Sep 2009 10:08:20 +0000 (22:08 +1200)]
Make --disable-mempools control MemPool unit-tests
Amos Jeffries [Tue, 1 Sep 2009 11:22:39 +0000 (23:22 +1200)]
DiskIO detection fixes and auto-enable
Amos Jeffries [Tue, 1 Sep 2009 10:15:37 +0000 (22:15 +1200)]
pre-define the pthreads globals
Amos Jeffries [Tue, 1 Sep 2009 10:04:37 +0000 (22:04 +1200)]
Polish DiskThreads detection
Amos Jeffries [Tue, 1 Sep 2009 09:18:17 +0000 (21:18 +1200)]
Default-enable all DiskIO modules
Amos Jeffries [Tue, 1 Sep 2009 08:53:26 +0000 (20:53 +1200)]
AIO cleanup mk 1
Amos Jeffries [Mon, 31 Aug 2009 10:02:23 +0000 (22:02 +1200)]
Author: Tim Starling <unknown>
Port 2.7: Unique sequence number per log line
Create and enable logging of a unique sequence number per log entry.
Adjusted to 64-bit to handle long Squid up times with very large logged
line counts.
NP: not quite sure about the incrementation. Write appears to be called
once per log entry but this is not tested under enough conditions to be
certain yet. The old lineEnd call from Squid-2 is not present in Squid-3.
Amos Jeffries [Fri, 28 Aug 2009 04:14:35 +0000 (16:14 +1200)]
dist url_rewrite directory properly
Amos Jeffries [Fri, 28 Aug 2009 03:41:17 +0000 (15:41 +1200)]
Fix 3.1 manuals snapshot
Amos Jeffries [Fri, 28 Aug 2009 01:53:05 +0000 (13:53 +1200)]
TestBed: Add url_rewrite heleprs
Amos Jeffries [Fri, 28 Aug 2009 01:48:05 +0000 (13:48 +1200)]
Merge from trunk
Amos Jeffries [Fri, 28 Aug 2009 01:44:26 +0000 (13:44 +1200)]
Cleanup: Remove more traces of old squid debug()() macro
There is now no reason for any of the Squid internal code to contain 'debug()'
TODO: Just the ESI code remaining on the old system.
It's debug seems to be incrementally building a single line to display
objects parsed. But using multiple nested calls to dump it.
VERY nasty. They need to be made writing to a buffer instead.
Henrik Nordstrom [Thu, 27 Aug 2009 17:05:03 +0000 (19:05 +0200)]
Fixup libxml2 include magics, was failing when a configure cache was used
Henrik Nordstrom [Thu, 27 Aug 2009 15:51:38 +0000 (17:51 +0200)]
Allow COSS to be built in trunk, but with a configure time warning until ready
Amos Jeffries [Thu, 27 Aug 2009 13:29:08 +0000 (01:29 +1200)]
Some build errors in fake url-rewrite
Amos Jeffries [Thu, 27 Aug 2009 12:18:40 +0000 (00:18 +1200)]
Merge from trunk
Amos Jeffries [Thu, 27 Aug 2009 12:11:41 +0000 (00:11 +1200)]
Meld helper_debug into old debug. Now reserved for helepers