]>
git.ipfire.org Git - thirdparty/squid.git/log
Amos Jeffries [Sat, 31 Oct 2009 11:53:09 +0000 (00:53 +1300)]
Multi-Lingual FTP directory listing
This replaces hard-coded FTP directory page with dynamically loaded
'error page' same as all other FTP result HTML outputs.
This has the added benefit of making the page HTML standards compliant,
CSS branded, and presentable in any of the auto-negotiated languages.
Amos Jeffries [Sat, 31 Oct 2009 11:29:04 +0000 (00:29 +1300)]
Support format tags in deny_info URLs
This enables a certain level of dynamically generated redirect. Using
deny_info and ACL controls for selective controlled requests.
Usage Examples:
* redirect from domainA to domainB while retaining original URL path
* stripping port from requests while retaining protocol, domain and path
* adding tokens into requested URL from external_acl_type helper
Amos Jeffries [Sat, 31 Oct 2009 10:06:17 +0000 (23:06 +1300)]
Wider support for EUI
* Logging
* external ACL helper tag
* EUI-64 from IPv6 SLAAC addressing
* run-time option to enable/disable lookups
Amos Jeffries [Sat, 31 Oct 2009 10:05:02 +0000 (23:05 +1300)]
Make cf_gen header self-complete.
Amos Jeffries [Fri, 30 Oct 2009 05:01:33 +0000 (18:01 +1300)]
Correct ESI library build options.
Amos Jeffries [Fri, 30 Oct 2009 04:47:33 +0000 (17:47 +1300)]
Bug 2795: pt 2: ARP lookups require IPv4-only socket on Linux/Solaris
Henrik Nordstrom [Thu, 29 Oct 2009 23:59:26 +0000 (00:59 +0100)]
Temporary patch forcing LINUX_TPROXY2 disabled if requirements unmet.
will be redone later to properly wind up dependencies and enabling of LINUX_TPROXY2 & friends.
Amos Jeffries [Thu, 29 Oct 2009 09:38:45 +0000 (22:38 +1300)]
Prep for 3.0.STABLE20
Henrik Nordstrom [Wed, 28 Oct 2009 01:02:27 +0000 (02:02 +0100)]
Remove obsolete --disable-caps configure option
Automatic source maintenance [Wed, 28 Oct 2009 00:12:54 +0000 (18:12 -0600)]
SourceFormat Enforcement
Henrik Nordstrom [Tue, 27 Oct 2009 23:45:48 +0000 (00:45 +0100)]
Forward-port of STORE_META_OBJSIZE swapout from squid-2
Henrik Nordstrom [Tue, 27 Oct 2009 23:22:51 +0000 (00:22 +0100)]
Minor quoting error in TPROXY autoconf foo
Henrik Nordstrom [Tue, 27 Oct 2009 21:55:58 +0000 (22:55 +0100)]
Use libcap functions instead of raw kernel interface
Rework the Linux capabilities code to use the more stable libcap interface
instead or raw kernel syscalls.
Take two, making sure there is a sufficiently recent libcap-2.09 or later.
Henrik Nordstrom [Tue, 27 Oct 2009 21:55:06 +0000 (22:55 +0100)]
Correct use_libcap internal variable setting when auto detected
Henrik Nordstrom [Tue, 27 Oct 2009 21:51:32 +0000 (22:51 +0100)]
Cosmetic cleanup of --without-libcap message
Henrik Nordstrom [Tue, 27 Oct 2009 21:49:30 +0000 (22:49 +0100)]
The old caps option was --disable-caps, not --without-caps...
Henrik Nordstrom [Tue, 27 Oct 2009 21:45:02 +0000 (22:45 +0100)]
Properly rename --without-caps to --without-libcap, but keep the old as a backward compatibility option
Henrik Nordstrom [Tue, 27 Oct 2009 19:50:18 +0000 (20:50 +0100)]
Don't try to write autoconf snippets when having a fewer..
Henrik Nordstrom [Tue, 27 Oct 2009 08:08:29 +0000 (09:08 +0100)]
Correct AC_CACHE_CHECK use regarding sys/capability.h brokeness test
Henrik Nordstrom [Tue, 27 Oct 2009 08:04:00 +0000 (09:04 +0100)]
Attempt to get the --with-libcap logics correct
Henrik Nordstrom [Tue, 27 Oct 2009 07:25:17 +0000 (08:25 +0100)]
Activate libcap changes again
Henrik Nordstrom [Tue, 27 Oct 2009 07:23:31 +0000 (08:23 +0100)]
Merged from trunk
Henrik Nordstrom [Thu, 22 Oct 2009 21:34:59 +0000 (23:34 +0200)]
Correct squidclient 64-bit POST fix that should work on 32-bit LFS systems as well
Henrik Nordstrom [Thu, 22 Oct 2009 21:15:03 +0000 (23:15 +0200)]
64-bit filesize issue in squidclient if trying to post a file > 2GB
Amos Jeffries [Wed, 21 Oct 2009 09:41:45 +0000 (22:41 +1300)]
Fix bootstrap.sh false positive detection of libtool2
Searching for '2' matches and reports libtool2 on:
* copyright year (20xx)
* minor versions (1.*.2*)
Using two layers of the version lets us more reliably detect v2
Henrik Nordstrom [Sun, 18 Oct 2009 15:39:16 +0000 (17:39 +0200)]
Undo Linux libcap change. libcap not capable enough on some Linux versions (cap_clear_flag missing)
Automatic source maintenance [Sun, 18 Oct 2009 00:12:53 +0000 (18:12 -0600)]
SourceFormat Enforcement
Henrik Nordstrom [Sat, 17 Oct 2009 10:15:00 +0000 (12:15 +0200)]
Use libcap functions instead of raw kernel interface
Rework the Linux capabilities code to use the more stable libcap interface
instead or raw kernel syscalls.
Automatic source maintenance [Fri, 16 Oct 2009 00:12:57 +0000 (18:12 -0600)]
SourceFormat Enforcement
Henrik Nordstrom [Thu, 15 Oct 2009 23:57:26 +0000 (01:57 +0200)]
Remove PUSH_CAP macro, and fix #if/#endif for non-Linux platforms
Henrik Nordstrom [Thu, 15 Oct 2009 14:28:22 +0000 (16:28 +0200)]
Merged from trunk
Henrik Nordstrom [Thu, 15 Oct 2009 14:24:33 +0000 (16:24 +0200)]
Use libcap functions instead of raw kernel interface
Amos Jeffries [Thu, 15 Oct 2009 12:15:32 +0000 (01:15 +1300)]
Fix bits uncovered in libeui by CentOS
Amos Jeffries [Thu, 15 Oct 2009 10:12:38 +0000 (23:12 +1300)]
SourceLayout: pull ARP operations into libeui
This separates the current code for ARP lookup and encode/decode.
Also makes the code buildable without fatal build errors on
non-supporting systems. A loud run-time error is generated if related
features are attempt use on non-supporting systems.
FUTURE WORK:
* unit-tests
* on-demand lookups and logging of MAC/EUI-48 for a client
similar to how ident is done.
* on-demand passing MAC/EUI-48 to external_acl_type helpers
* EUI-64 for IPv6 support.
* Increased ARP support on other OS.
Henrik Nordstrom [Wed, 14 Oct 2009 19:46:36 +0000 (21:46 +0200)]
Bug #2628: Correct default log location to ../var/logs/squid.pid (same as logs)
Amos Jeffries [Tue, 13 Oct 2009 11:40:08 +0000 (00:40 +1300)]
Bug 2795: acl arp lookups including port
ARP lookup sockaddr need to only contain the fields being tested for.
Amos Jeffries [Mon, 12 Oct 2009 21:49:28 +0000 (10:49 +1300)]
Author: Jakub Wilk <ubanus@users.sf.net>
Typo in squid.conf directiry/directory
Debian http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550402
Francesco Chemolli [Thu, 8 Oct 2009 15:59:51 +0000 (17:59 +0200)]
Bug 2794: ESI parsing fails on FreeBSD
Fix bug in the ESI expression parser which prevented it from working properly on
non-glibc platforms.
Automatic source maintenance [Tue, 6 Oct 2009 00:12:45 +0000 (18:12 -0600)]
SourceFormat Enforcement
Francesco Chemolli [Mon, 5 Oct 2009 13:22:17 +0000 (15:22 +0200)]
Implement testsuite parallelization on FreeBSD and testsuite parallelization override.
Amos Jeffries [Mon, 5 Oct 2009 11:02:19 +0000 (00:02 +1300)]
Fix some castings caught by gcc4.3
Amos Jeffries [Mon, 5 Oct 2009 10:41:19 +0000 (23:41 +1300)]
Get getpwnam helper name right
Amos Jeffries [Mon, 5 Oct 2009 10:33:08 +0000 (23:33 +1300)]
Update cf.data sed pattern
Amos Jeffries [Mon, 5 Oct 2009 07:47:22 +0000 (20:47 +1300)]
libTrie test unit requires math library on BSD.
Amos Jeffries [Mon, 5 Oct 2009 05:13:32 +0000 (18:13 +1300)]
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2791: assertion failed: MemBuf.cc:400: new_cap > (size_t) capacity
Limit input buffer reads to the avilable space.
Amos Jeffries [Sun, 4 Oct 2009 11:02:11 +0000 (00:02 +1300)]
Author: Various Translators
Language Updates
- Also updated all .POT
- Also add some po4a pieces for the manual translation.
Amos Jeffries [Sun, 4 Oct 2009 10:47:28 +0000 (23:47 +1300)]
Merge from trunk
Amos Jeffries [Sun, 4 Oct 2009 10:39:48 +0000 (23:39 +1300)]
Rosetta imports
Amos Jeffries [Sun, 4 Oct 2009 09:58:25 +0000 (22:58 +1300)]
Updates
Amos Jeffries [Sun, 4 Oct 2009 09:48:56 +0000 (22:48 +1300)]
Add missing casts detected by OpenBSD
Amos Jeffries [Sun, 4 Oct 2009 03:33:15 +0000 (16:33 +1300)]
Define top_build_prefix fro use by LTDL
Linux LTDL v3-v7 macros assume the autoconf 2.62 variable top_build_prefix
is defined. But from autoconf 2.64 it's called ac_top_build_prefix and not
automatically added to the Makefile.
There seems to be no harm with sustituting it manually under autoconf 2.61 and 2.62
Amos Jeffries [Sat, 3 Oct 2009 01:40:29 +0000 (14:40 +1300)]
Helpers: Upgrade Basic Auth NCSA helper
- C++ Build with libcompat
- Rename basic_ncsa_auth
- Update CRYPTLIB definition.
TODO: there is some cleanup still needed relating to CRYPTLIB
the current definition may include -lmd5 as well
and Kerberos library define may duplicate both -lcrypt and -lmd5
in the guise of SSLLIB
Amos Jeffries [Fri, 2 Oct 2009 12:36:53 +0000 (01:36 +1300)]
squid.conf polish pt 2
- Push many of the remaining commented config lines out of the default
config and into documentation examples.
- Adds whitespace and some extra comment lines to needed config texts
to improve readability.
Amos Jeffries [Fri, 2 Oct 2009 11:02:59 +0000 (00:02 +1300)]
TestBed: Add test layer for code with optional missing libraries
Amos Jeffries [Fri, 2 Oct 2009 10:17:38 +0000 (23:17 +1300)]
Bug 2724: alLogformatHasIcapToken exposed with --enable-ecap
Wrapping logic error opened the initialization of this ICAP-only variable
to be set when eCAP-only builds enabled adaptation.
Amos Jeffries [Fri, 2 Oct 2009 05:34:19 +0000 (18:34 +1300)]
Bug 2792: tcp_outgoing_addr does not work with TPROXY
Amos Jeffries [Fri, 2 Oct 2009 04:35:07 +0000 (17:35 +1300)]
Helpers: Upgrade squid_ldap_auth / basic_ldap_auth
- Rename to basic_ldap_auth
- C++ build with link to libcompat
- Add OPTIONS section to man(8) page
- Tweak libldap and liblber configure naming convention.
TODO: check that removal of miscellaneous libraries (XTRA_LIBS) has
not removed anything important to this helper. If so add back
the individual library needed, not the whole lot.
Amos Jeffries [Fri, 2 Oct 2009 03:43:06 +0000 (16:43 +1300)]
Helpers: Upgrade getpwnam_auth
- Rename to basic_getpwnam_auth
- C++ build linked to libcompat
- Adds man(8) page
Amos Jeffries [Fri, 2 Oct 2009 03:13:01 +0000 (16:13 +1300)]
Add omitted DB/config.test
Amos Jeffries [Thu, 1 Oct 2009 12:38:24 +0000 (01:38 +1300)]
Locate generated helper man(8) files during snapshot
Amos Jeffries [Thu, 1 Oct 2009 12:25:49 +0000 (01:25 +1300)]
ESI: correct libxml2 path detection before header tests
- Shuffles the path detection up to before its needed.
This consolidates libxml2 tests and slightly speeds up some configure runs
Amos Jeffries [Thu, 1 Oct 2009 07:59:00 +0000 (19:59 +1200)]
ESI: protect build from missing libraries correctly
- detect the libexpat and libxml2 headers.
- wraps the code includes according to Squid guidelines
- wraps the library API modules for build only when library is present
Automatic source maintenance [Thu, 1 Oct 2009 00:12:39 +0000 (18:12 -0600)]
SourceFormat Enforcement
Henrik Nordstrom [Wed, 30 Sep 2009 01:15:18 +0000 (03:15 +0200)]
Generate squid.conf.default with just the configuration data & comments
forward-port from squid-2
Amos Jeffries [Tue, 29 Sep 2009 13:16:30 +0000 (02:16 +1300)]
Helpers: add release notes section
Amos Jeffries [Tue, 29 Sep 2009 12:04:10 +0000 (01:04 +1300)]
Helpers: Update the basic auth DB helper to new scheme
- convert to basic_db_auth
- add config.test to build when possible (depends on perl)
- adjust dist generation so snapshot can publish the .8 page
Amos Jeffries [Tue, 29 Sep 2009 01:07:16 +0000 (13:07 +1200)]
ESI detection pt 3: proper --with option support.
- makes the --with-expat and --with-xml2 REQUIRE the presence of the
library a fatal error is output if they are required and missing.
- makes ESI always build with internal processor when --enable is used
only failures of the above --with-* will kill ESI builds in configure.
Amos Jeffries [Tue, 29 Sep 2009 00:23:18 +0000 (12:23 +1200)]
Author: nglnx - Rosetta Project
Language updates: Portuguese manuals
Amos Jeffries [Sun, 27 Sep 2009 12:29:52 +0000 (01:29 +1300)]
Add build options to control ESI libraries.
Also;
- disconnect the libraries from linking to binaries they dont need to.
- enable automatic build testing of ESI code since missing libraries are
no longer fatal.
Amos Jeffries [Sun, 27 Sep 2009 01:23:53 +0000 (14:23 +1300)]
Prep for 3.1.0.14
Automatic source maintenance [Sun, 27 Sep 2009 00:12:48 +0000 (18:12 -0600)]
SourceFormat Enforcement
Henrik Nordstrom [Sat, 26 Sep 2009 22:15:12 +0000 (00:15 +0200)]
Make ESI parser modules expat and libxml2 dependent on their libraries
The ESI parser system is actually pluggable. There is no reason we should
require expat and libxml2. Just build what works.
Todo: Add an option to force the desired parsers.
Amos Jeffries [Fri, 25 Sep 2009 11:09:37 +0000 (23:09 +1200)]
Author: Adrian Chadd <adrian@squid-cache.org>
A tproxy cache cluster (eg behind WCCPv2) can't peer.
The issue stems from the forwarding logic creating source address spoofed
sockets to destinations that are inside the cluster. Since the WCCPv2
router won't redirect packets with an origin of the proxy MAC (at least for
L2 peering), source spoofed packets go out and are routed normally. The
packets back from the destination peer have a remote end of the spoofed IP,
and are instead sent to teh original client rather than the proxy.
The forwarding logic needs to be taught to optionally enable tproxy source
spoofing on connections based on a peer flag.
Just for completeness - tproxy'ed connections to a upstream or peer proxy
which is -outside- of the WCCPv2 tproxy cluster work fine.
Amos Jeffries [Fri, 25 Sep 2009 09:49:42 +0000 (21:49 +1200)]
Author: Markus Moeller <huaraz@moeller.plus.com>
Add KRB5INCS to INCLUDES
Needs to be global because we use the kerb5 com_err.h hack globally
through the libcompat headers.
NP: There should be a compat/*.am for these I guess...
Henrik Nordstrom [Fri, 25 Sep 2009 01:15:30 +0000 (03:15 +0200)]
Bug #2773: Segfault in RFC2069 Digest authantication
Squid segfaulted if digest authentication is enabled an a client responded
with RFC2069 style response.
Henrik Nordstrom [Fri, 25 Sep 2009 01:12:34 +0000 (03:12 +0200)]
Remove unused DEFAULT_MIB_PATH variable
Amos Jeffries [Thu, 24 Sep 2009 13:41:25 +0000 (01:41 +1200)]
Bug 2777: Don't know how to make target `-lrt' on OpenSolaris
Amos Jeffries [Thu, 24 Sep 2009 09:31:53 +0000 (21:31 +1200)]
Update release notes for ignore-cc option
Amos Jeffries [Wed, 23 Sep 2009 07:56:22 +0000 (19:56 +1200)]
Update .POT after ERR_DIR_LISTING change
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