]>
git.ipfire.org Git - thirdparty/squid.git/log
serassio [Sun, 24 Apr 2005 02:40:50 +0000 (02:40 +0000)]
Bug #1094: Fix for CVE-1999-0710: cachemgr malicouse use
This patch adds access controls to the cachemgr.cgi script, preventing
it from being abused to reach other servers than allowed in a local
configuration file.
Forward port of 2.5 patch.
serassio [Sat, 23 Apr 2005 22:53:18 +0000 (22:53 +0000)]
pthread_t is not always an unsigned long, a type cast is needed.
serassio [Sat, 23 Apr 2005 20:49:41 +0000 (20:49 +0000)]
Bug #414: Unrecognized cache-control directives are silently dropped
Forward port of 2.5 patch.
serassio [Sat, 23 Apr 2005 20:07:15 +0000 (20:07 +0000)]
Allow MSNT helper to build again after IPv6 preparation patches:
MSNT was not including config.h before this.
serassio [Sat, 23 Apr 2005 19:20:30 +0000 (19:20 +0000)]
Bug #798: username format addition into errorpage.c
%a for the authenticated user name
Forward port of 2.5 patch.
serassio [Sat, 23 Apr 2005 18:49:04 +0000 (18:49 +0000)]
Bug #1227: Document the new -l command line option
serassio [Sat, 23 Apr 2005 18:28:11 +0000 (18:28 +0000)]
Bug #1196: Unable to run "squid -k" when hostname cannot be determined
Forward port of 2.5 patch.
hno [Wed, 20 Apr 2005 23:12:55 +0000 (23:12 +0000)]
Added DNS RFC as reference.
Updated the index explaining why each document is here
hno [Wed, 20 Apr 2005 22:38:19 +0000 (22:38 +0000)]
Replaced by draft-forster-wrec-wccp-v1-00.txt
hno [Wed, 20 Apr 2005 21:46:20 +0000 (21:46 +0000)]
Some additional relevant (but expired) Internet Drafts
hno [Tue, 19 Apr 2005 06:10:40 +0000 (06:10 +0000)]
Bootstrapped
hno [Tue, 19 Apr 2005 03:52:40 +0000 (03:52 +0000)]
IPv6 preparation by Rafael Martinez Torres <rafael.martinez@novagnet.com>
- This patch does change literally the term IN_ADDR by in_addr in all the
files containing this term, except the file "inet_ntoa.c", the only one
not including "config.h" (either direct or undirectly).
- The correposding "defines" are in config.h . They are guarded by "INET6"
define, (#ifdef INET6), so branches others that squid3-ipv6 should not be
affected in their compilations.
hno [Thu, 7 Apr 2005 06:10:38 +0000 (06:10 +0000)]
Bootstrapped
serassio [Thu, 7 Apr 2005 02:36:10 +0000 (02:36 +0000)]
Added per thread usage info in cachemgr Async IO Function Counters.
serassio [Thu, 7 Apr 2005 01:07:03 +0000 (01:07 +0000)]
Use FD_READ_METHOD/FD_WRITE_METHOD instead of read()/write()
in the async-io completion event for better portability
The CommIO class must be moved to a separate include file to
avoid problems with fde.h inclusion from comm.h
CommIO.h is needed from ufsdump too.
serassio [Thu, 7 Apr 2005 01:01:01 +0000 (01:01 +0000)]
Use FD_READ_METHOD/FD_WRITE_METHOD instead of read()/write()
in the async-io completion event for better portability
The CommIO class must be moved to a separate include file to
avoid problems with fde.h inclusion from comm.h
serassio [Thu, 7 Apr 2005 00:44:25 +0000 (00:44 +0000)]
Bug #1227: squid should syslog to daemon facility not local4
this patch adds a new command line option -l to specify the syslog
facility.
Forward port of 2.5 patch.
serassio [Mon, 4 Apr 2005 00:53:24 +0000 (00:53 +0000)]
Bug #1122: persistent connection mixup on failed PUT/POST request
Forward port of 2.5 patch
serassio [Sun, 3 Apr 2005 23:11:21 +0000 (23:11 +0000)]
Don't call neighbors_init() when icp_port is set to 0
serassio [Sat, 2 Apr 2005 04:11:28 +0000 (04:11 +0000)]
Bug #671: Several minor aufs issues
- Enhance performance by zero-copy writes, enabled by making the mem
nodes reference counted.
- Implement ASYNC_CLOSE define, default to off.
- Remove unused aioFDWasClosed call
- Kill warning about event notification filedescriptors still
being open on shutdown.
Also optimizes slightly by initializing the squidaio layer early,
avoiding the need to check if initialized in each and every call.
Forward port of 2.5 patches.
hno [Thu, 31 Mar 2005 06:08:19 +0000 (06:08 +0000)]
Bug #1278: external acls requiring authentication does not request
credentials on access denials like proxy_auth does.
hno [Thu, 31 Mar 2005 06:04:09 +0000 (06:04 +0000)]
The ext_user acl is not authentication related. This provides other
means of giving a username to Squid (out-of-band, cookies, whatever)
hno [Wed, 30 Mar 2005 00:55:42 +0000 (00:55 +0000)]
Add missing ESIParser::Parser variable
hno [Tue, 29 Mar 2005 04:44:12 +0000 (04:44 +0000)]
Crude implementation of ESIParser registry, making ESIParser.cc
independent of the available parsers, indirectly solving the
libxml2/expat conflict and preparing for easy buildtime selection of the
available parsers.
serassio [Mon, 28 Mar 2005 04:47:38 +0000 (04:47 +0000)]
Bug #988: src/fs/aufs/store_io_aufs.c fails to compile with ASYNC_WRITE set
Forward port of 2.5 patch.
hno [Sun, 27 Mar 2005 08:10:34 +0000 (08:10 +0000)]
Bootstrapped
serassio [Sun, 27 Mar 2005 05:29:41 +0000 (05:29 +0000)]
Bug #1270: --disable-hostname-checks does not work
The --enable-hostname-checks configure option was always ignored.
Forward port of 2.5 adapted patch
hno [Wed, 23 Mar 2005 06:12:30 +0000 (06:12 +0000)]
Release as squid_ldap_group version 2.17
hno [Sun, 20 Mar 2005 08:10:38 +0000 (08:10 +0000)]
Bootstrapped
serassio [Sun, 20 Mar 2005 02:56:15 +0000 (02:56 +0000)]
Temporary fix of a conflict between libxml2 and expat include files
before the resolution of bug #1155: ESI parsers need to be made modular
Affected Platforms: FreeBSD 5.3, Solaris 9, Cygwin, MinGW, Debian Sarge,
Fedora Core 3 and probably many others.
serassio [Sun, 20 Mar 2005 02:43:39 +0000 (02:43 +0000)]
Fixed some little bugs introduced with latest SSL update.
serassio [Sat, 19 Mar 2005 23:02:47 +0000 (23:02 +0000)]
Forward port of all latest 2.5 changes
serassio [Sat, 19 Mar 2005 22:41:55 +0000 (22:41 +0000)]
Bug #1171: Basic authentication fails with very long logins or password
There was an artificial limit on the login+password to no more than 64
characters in total.
Forward port of 2.5 patch.
serassio [Sat, 19 Mar 2005 22:24:07 +0000 (22:24 +0000)]
Bug #1258: LDAP helpers fails to compile with SUN LDAP SDK
Forward port of 2.5 patch with addition of MinGW support.
hno [Sat, 19 Mar 2005 00:17:51 +0000 (00:17 +0000)]
From ssl-2.5 2004/12/02 00:53:40
%USER_CERTCHAIN external_acl_type tag, returning the complete client SSL
certificate chain
hno [Sat, 19 Mar 2005 00:12:34 +0000 (00:12 +0000)]
From ssl-2.5 2004/12/02 00:53:40
Basic support for CRL lists
hno [Fri, 18 Mar 2005 23:51:22 +0000 (23:51 +0000)]
From ssl-2.5 2004/10/22 14:52:33
%USER_CERT external_acl_type giving the user certificate in PEM format
hno [Fri, 18 Mar 2005 23:46:44 +0000 (23:46 +0000)]
Plug memory leak in certificate based ACLs
hno [Fri, 18 Mar 2005 23:32:37 +0000 (23:32 +0000)]
From ssl-2.5 2004/10/22 14:52:33
NO_SESSION_REUSE https_port ssl flag, disabling the SSL session reuse /
resumption support.
hno [Fri, 18 Mar 2005 23:06:10 +0000 (23:06 +0000)]
From ssl-2.5 2004/04/18 01:09:07
cleanup of error reporting
hno [Fri, 18 Mar 2005 22:48:22 +0000 (22:48 +0000)]
do_debug(section, level), a macro to conditionally check if a certain
debug level is active.
hno [Fri, 18 Mar 2005 22:47:41 +0000 (22:47 +0000)]
Rename windows debug trap variable do_debug to do_debug_trap to make
room for other uses of do_debug
hno [Fri, 18 Mar 2005 22:36:07 +0000 (22:36 +0000)]
From ssl-2.5 2004/04/18 01:09:07
sslcontext parameter, for controlling the SSL Session cache context ID
hno [Fri, 18 Mar 2005 22:26:30 +0000 (22:26 +0000)]
From ssl-2.5 2004/04/18 01:09:07
Support temporary RSA keys of length 1024
hno [Fri, 18 Mar 2005 22:22:05 +0000 (22:22 +0000)]
From ssl-2.5 2004/04/18 01:09:07
Improve error reporting when establishing outgoing SSL connection fails
to negotiate.
hno [Fri, 18 Mar 2005 22:17:17 +0000 (22:17 +0000)]
From ssl-2.5 branch 2003/10/27 16:56:30
Cleaner unclean SSL shutdown implementation
hno [Fri, 18 Mar 2005 22:12:36 +0000 (22:12 +0000)]
Replace DIRECT by HIER_DIRECT to avoid conflicts with certain
third-party headers defining DIRECT to something else
hno [Fri, 18 Mar 2005 21:43:33 +0000 (21:43 +0000)]
Bugfix from ssl-2.5 2004/09/06 16:59:21
Fix user_cert and ca_cert acls.. was mixed up making user_cert match
what ca_cert should have mathed and the reverse.
Found by Fauquet, Xavier
hno [Fri, 18 Mar 2005 21:41:21 +0000 (21:41 +0000)]
Bugfix from ssl-2.5 2004/07/14 23:24:32
Fix filedescriptor leak on SSL_new allocation error
hno [Fri, 18 Mar 2005 21:38:10 +0000 (21:38 +0000)]
Merged bugfix from ssl-2.5 2003/11/19 12:38:39
https_port key=.. cachemgr config dump bugfix (was giving the cert path)
hno [Tue, 15 Mar 2005 08:10:35 +0000 (08:10 +0000)]
Bootstrapped
serassio [Sun, 13 Mar 2005 16:23:33 +0000 (16:23 +0000)]
Bug #1257: compile warnings due to pid_t not being an int
Forward port of 2.5 patch and added use of debugs() where applicable
serassio [Sat, 12 Mar 2005 03:50:09 +0000 (03:50 +0000)]
Bug #1262: Duplicate content-length headers logged as conflicting with
relaxed_header_parser off
also forgot to clean up duplicate content-length headers with
relaxed_header_parser enabled (on/warn)
Forward port of 2.5 patch.
serassio [Sat, 12 Mar 2005 03:11:34 +0000 (03:11 +0000)]
Bug #1259: Incorrect use of ctype functions
Forward port of 2.5 patch.
serassio [Fri, 11 Mar 2005 04:49:19 +0000 (04:49 +0000)]
Bug #1256: bzero is a non-standard function not available on all
platforms
Substitute bzero by memset
serassio [Fri, 11 Mar 2005 03:22:46 +0000 (03:22 +0000)]
Bug #1261: Peer digest fetch initiated even if peer not allowed to be
used for the request
Forward patch of 2.5 patch.
serassio [Thu, 10 Mar 2005 03:43:38 +0000 (03:43 +0000)]
Bug #1159: reload_with_ims fails to refresh negatively cached objects
Forward port of 2.5 patch.
serassio [Thu, 10 Mar 2005 03:14:37 +0000 (03:14 +0000)]
Bug #1245: Clarify delay_access function
Forward port of 2.5 patch.
serassio [Thu, 10 Mar 2005 03:02:06 +0000 (03:02 +0000)]
Bug #321: Squid date handling fails to handle several slightly
nonconforming date formats in use on the Internet today.
There is many servers sending non-conforming dates outside the formats
documented in RFC2616. This patch simplifies the date parser allowing
Squid to process dates is a number of other "odd" formats. The benefit
of doing this is that it allows Squid to properly cache objects from
these servers.
Forward port of 2.5 patch.
serassio [Thu, 10 Mar 2005 02:42:05 +0000 (02:42 +0000)]
Bug #1247: maximum_object_size 2 GB = nothing cached
Forward of 2.5 patch.
serassio [Wed, 9 Mar 2005 04:38:40 +0000 (04:38 +0000)]
Bug #972: Crash after "likely proxy abuse error"
Forward port of 2.5 patch.
serassio [Mon, 7 Mar 2005 04:48:55 +0000 (04:48 +0000)]
Syslog is not available on all platforms.
Added #if HAVE_SYSLOG to allow build on every OS.
serassio [Mon, 7 Mar 2005 04:08:13 +0000 (04:08 +0000)]
Bug #890: Various HTTP workarounds and minor corrections
- Automatically time out incorrectly signalled persistent connections
after 10 seconds of inactitivy. Also gives a warning in cache.log
- New detect_broken_pconn squid.conf option
- Do not strip whitespace from the beginning of HTTP/0.9 replies
- Do not delay forwarding of HTTP/0.9 replies
- Do not delay forwarding of POST/PUT replies. Also includes detection
of some common forms of abuse of the same for non-HTTP requests.
Forward port of 2.5 patch.
serassio [Mon, 7 Mar 2005 02:37:17 +0000 (02:37 +0000)]
Bug #1233: Data corruption under certain conditions involving
http headers split over multiple packets.
Forward port of 2.5 patch.
serassio [Sun, 6 Mar 2005 21:52:49 +0000 (21:52 +0000)]
Forward port of all the header parsing cleanup of 2.5.STABLE8:
- squid-2.5.STABLE7-header_parsing.patch
- Bug #1228
- Bug #1242
- Relaxed_header_parser squid.conf option.
- New ERR_INVALID_RESP error message.
serassio [Sun, 6 Mar 2005 21:46:24 +0000 (21:46 +0000)]
Forward port of all the header parsing cleanup of 2.5.STABLE8:
- squid-2.5.STABLE7-header_parsing.patch
- Bug #1228
- Bug #1242
- Relaxed_header_parser squid.conf option.
- New ERR_INVALID_RESP error message.
serassio [Sat, 5 Mar 2005 21:51:52 +0000 (21:51 +0000)]
Bug #1252: Fails to parse DJ D. J. Bernstein's EPLF ftp listing format
and PASV format
Forward port of 2.5 patch.
hno [Thu, 3 Mar 2005 03:57:34 +0000 (03:57 +0000)]
Add support for seding access.log via syslog
serassio [Sun, 27 Feb 2005 23:36:06 +0000 (23:36 +0000)]
Bug #1210: 403 replies and many other server generated errors should not
be retried. (RFC2616)
Retrying these is a slight violation to the RFC, even if it may be
useful in certain complex hierarchy cases to work around
misconfigured or malfunctioning peers.
This patch adds a new squid.conf directive "retry_on_error" to revert
back to the old mode of aggressively retry requests on errors.
Forward port of 2.5 patch.
hno [Sat, 19 Feb 2005 23:03:33 +0000 (23:03 +0000)]
Bug #1238: Explain the login= cache_peer option more clearly
wessels [Sat, 19 Feb 2005 04:01:00 +0000 (04:01 +0000)]
$(RM) is not automatically defined on BSD make, so hardcode 'rm
-rf' instead
serassio [Tue, 15 Feb 2005 05:12:57 +0000 (05:12 +0000)]
Bug #1216: 2.5.STABLE8-RC2 enhanced cache.log : httpProcessReplyHeader message
Forward port of 2.5 patch.
serassio [Sun, 13 Feb 2005 22:49:50 +0000 (22:49 +0000)]
Bug #1234: util.c:612: xstrndup: Assertion `n' failed.
Forward port of 2.5 patch.
serassio [Wed, 9 Feb 2005 20:01:40 +0000 (20:01 +0000)]
Bug #1154: Disable Path-MTU discovery on intercepted requests
This patch adds a disable-pmtu-discovery option to http_port directive
allowing one to disable Path-MTU discovery on accelerated requests.
Based on 2.5 patch.
hno [Tue, 8 Feb 2005 08:10:47 +0000 (08:10 +0000)]
Bootstrapped
serassio [Tue, 8 Feb 2005 05:30:15 +0000 (05:30 +0000)]
Added configure test to see if -lepoll is available when using --enable-epoll:
-lepoll is not needed (and may be not present) on kernel 2.6 platforms
with newest glibc, but may be needed on systems updated from 2.4 to 2.6
kernel still using old glibc.
serassio [Tue, 8 Feb 2005 05:17:54 +0000 (05:17 +0000)]
Bug #1178: ufsdump will not compile with --enable-epoll configure option
usfdump doesn't depend from comm_epoll.cc
With this patch the selection of epoll during configure is now similar to
other comm loops type.
hno [Mon, 7 Feb 2005 08:10:57 +0000 (08:10 +0000)]
Bootstrapped
serassio [Sun, 6 Feb 2005 20:19:39 +0000 (20:19 +0000)]
Missing ufsdump source file dependency
serassio [Sun, 6 Feb 2005 17:45:57 +0000 (17:45 +0000)]
Bug #1226: Improve password handling in FTP gatewaying
Forward port of 2.5 patch
serassio [Sun, 6 Feb 2005 17:39:59 +0000 (17:39 +0000)]
Forward port of all latest 2.5 changes
serassio [Sun, 6 Feb 2005 16:37:15 +0000 (16:37 +0000)]
Bugfix another typo
serassio [Sun, 6 Feb 2005 16:30:38 +0000 (16:30 +0000)]
Bugfix a cut & paste typo
hno [Sun, 6 Feb 2005 08:03:58 +0000 (08:03 +0000)]
Check for errors on signal()
hno [Sun, 6 Feb 2005 05:49:43 +0000 (05:49 +0000)]
Kill unused opt_accel_uses_host global.
serassio [Sun, 6 Feb 2005 05:02:32 +0000 (05:02 +0000)]
Bug #1209: Squid 3.0 segfaults when requesting mgr:config
Patch from Gonzalo Arana
serassio [Sun, 6 Feb 2005 04:50:42 +0000 (04:50 +0000)]
Bug #1225: WCCP easily disturbed by forged packets
Forward port of 2.5 patch.
hno [Thu, 3 Feb 2005 06:15:35 +0000 (06:15 +0000)]
Fixed some trivial indentations bugs making the document somewhat hard
to follow
serassio [Sun, 30 Jan 2005 22:54:20 +0000 (22:54 +0000)]
Bug #1187: Usernames with whitespace
Add sanity checks on LDAP user names
Forward port of 2.5 patch.
serassio [Sun, 30 Jan 2005 02:41:22 +0000 (02:41 +0000)]
Bug #1181: missing %EXT_USER in tag external_acl_type in squid.conf.default
Reported by Gonzalo Arana
serassio [Sun, 30 Jan 2005 02:14:08 +0000 (02:14 +0000)]
Bug #1194: FTP data connection fails on some FTP servers when requesting
directory without a trailing slash
This patch simplifies FTP data connection management to always reopen a
new connection after a failed FTP request.
Forward port of 2.5 patch.
wessels [Sat, 29 Jan 2005 05:54:16 +0000 (05:54 +0000)]
Bug #1217: Buffer overflow in WCCP recvfrom() call
The length argument of the WCCP recvfrom() call is
larger than it should be. An attacker may send a
larger-than-normal WCCP packet and overflow a buffer.
Reported by the FSC Vulnerability Research Team
serassio [Fri, 28 Jan 2005 16:23:41 +0000 (16:23 +0000)]
Bug #1189: buffer overflow bug in gopherToHTML()
Yet another buffer overflow bug in gopherToHTML(). This one is similar
to others already found and the same solution is used. If a potential
overflow is detected, the excess input is simply lost.
Forward port of Duane's 2.5 patch.
serassio [Fri, 28 Jan 2005 16:05:25 +0000 (16:05 +0000)]
Bug #1190: Denial of service with forged WCCP messages
WCCP_I_SEE_YOU messages contain a 'number of caches' field which
should be between 1 and 32. Values outside that range may
crash Squid if WCCP is enabled, and if an attacker can
spoof UDP packets with the WCCP router's IP address.
This patch drops and logs WCCP_I_SEE_YOU messages if the number of
caches is less than 1 or greater than 32.
Forward port of Duane's 2.5 patch.
serassio [Fri, 28 Jan 2005 02:57:09 +0000 (02:57 +0000)]
Bug #1212: helper leak on squid -k reconfigure
HelperShutdown does not actually shutdown any helper.
The problem was originated during the forward port of fixes from bug #1118.
This patch also adds a debug message "shutting down".
Reported by Gonzalo Arana
hno [Tue, 25 Jan 2005 07:14:34 +0000 (07:14 +0000)]
Correct memory_pools_limit description given the current default
of 5 MB.
serassio [Sun, 23 Jan 2005 21:59:06 +0000 (21:59 +0000)]
Bug #1136: Internal DNS sometimes truncates host names in reverse (PTR)
lookups
Compressed hostnames was not dealt with proper, only saving the data of
the initial string + 2 bytes.
serassio [Sun, 23 Jan 2005 21:55:45 +0000 (21:55 +0000)]
Bug #1197: DNS related memory leak on certain malformed DNS responses
serassio [Sun, 23 Jan 2005 21:53:23 +0000 (21:53 +0000)]
Backed out previos patch: wrong patch description
serassio [Sun, 23 Jan 2005 19:39:45 +0000 (19:39 +0000)]
Bug #1136: Internal DNS sometimes truncates host names in reverse (PTR)
lookups
Compressed hostnames was not dealt with proper, only saving the data of
the initial string + 2 bytes.