]>
git.ipfire.org Git - thirdparty/squid.git/log
hno [Tue, 10 May 2005 17:46:41 +0000 (17:46 +0000)]
Remove redundant check for oversized DNS responses
hno [Tue, 10 May 2005 16:39:56 +0000 (16:39 +0000)]
Cosmeti cleanups, restore of error handling (currently unused)
hno [Tue, 10 May 2005 16:25:02 +0000 (16:25 +0000)]
Cosmetic cleanups
hno [Tue, 10 May 2005 16:09:31 +0000 (16:09 +0000)]
Compare the query sesion of DNS responses to the actual query to ensure
there is no overlaps between queries using the same ID.
hno [Tue, 10 May 2005 14:23:06 +0000 (14:23 +0000)]
Prepare for being able to verify the DNS query
Instead of just returning the decoded resource records when decoding
a DNS response, return the whole decoded message (header + query +
response).
Next step is to actually verify the query, and then to allow for VC
operation on truncated messages.
hno [Tue, 10 May 2005 06:10:39 +0000 (06:10 +0000)]
Bootstrapped
hno [Mon, 9 May 2005 23:11:57 +0000 (23:11 +0000)]
Bug #1229: Random data corruption / lost whitespace characters.
This patch both corrects the whitespace delete between replies and
deactivates it entirely as this breaks certain HTTP/0.9 replies.
The response splitting counter measures is extremely likely to trigger
on this anyway, killing the connection before it may be reused (still
need to be forward-ported from Squid-2.5).
hno [Mon, 9 May 2005 22:33:55 +0000 (22:33 +0000)]
Remove redundant condition
serassio [Mon, 9 May 2005 14:31:51 +0000 (14:31 +0000)]
Forward port of latest 2.5 changes:
- $< works for GNU make but not for BSD make.
- Fix out-of-tree builds of the make files
hno [Mon, 9 May 2005 08:35:57 +0000 (08:35 +0000)]
Fix DNS query id assignment (got broken in previous change)
hno [Mon, 9 May 2005 08:32:09 +0000 (08:32 +0000)]
Reshuffling of DNS code to make room for more secure query ID
assignments.
hno [Mon, 9 May 2005 08:09:16 +0000 (08:09 +0000)]
Make DNS parser more forgiving, allowing for gaps in the domainname
rddata.
hno [Mon, 9 May 2005 07:59:26 +0000 (07:59 +0000)]
Kill compiler warning after removing "first character" check of
hostnames
hno [Mon, 9 May 2005 07:58:34 +0000 (07:58 +0000)]
Kill overloaded use of DNS ID 0 as "not successful".
hno [Mon, 9 May 2005 07:41:25 +0000 (07:41 +0000)]
Refactored the dst* acls as a Strategised acl
hno [Mon, 9 May 2005 07:36:55 +0000 (07:36 +0000)]
Kill assumption about DNS ID 0xFFFF never being used.
hno [Mon, 9 May 2005 05:31:06 +0000 (05:31 +0000)]
Refactor ACLIntRange to use ListContainer rather than mucking around
directly with List memers.
If these lists grows large then ACLIntRange is a candidate for splay
implementation.
hno [Mon, 9 May 2005 05:28:44 +0000 (05:28 +0000)]
Simple ListIterator template class for iterating over a ListContainer
hno [Mon, 9 May 2005 05:28:06 +0000 (05:28 +0000)]
const correctness
hno [Mon, 9 May 2005 04:35:03 +0000 (04:35 +0000)]
Refactor splay tree empty check by ->empty() method (again).
serassio [Sun, 8 May 2005 20:11:12 +0000 (20:11 +0000)]
Fixed arp ACL documentation error
serassio [Sun, 8 May 2005 15:58:05 +0000 (15:58 +0000)]
Fixed the dump format of arp ACL
Added arp ACL documentation in squid.conf
serassio [Sun, 8 May 2005 15:15:38 +0000 (15:15 +0000)]
Bug #1166: Configuration confusing on empty ACLS
Still some bugfixing is needed
hno [Sun, 8 May 2005 12:53:58 +0000 (12:53 +0000)]
Further cleanup of acl->empty() methods
- Fix dst acl
- Refactor empty validation of splay trees
hno [Sun, 8 May 2005 12:42:10 +0000 (12:42 +0000)]
Bug #1166: Configuration confusing when empty acls are encountered
Warn on empty proxy_auth acls.
hno [Sun, 8 May 2005 12:36:45 +0000 (12:36 +0000)]
Bug #1166: Configuration confusing on empty ACLS
Finished and bugfixed implementation
wessels [Sat, 7 May 2005 04:35:46 +0000 (04:35 +0000)]
Complain during parsing if https_port version is not in (1..4)
wessels [Sat, 7 May 2005 03:54:50 +0000 (03:54 +0000)]
Use a random query ID in our DNS messages
wessels [Sat, 7 May 2005 03:34:07 +0000 (03:34 +0000)]
Off-by-two error in checking length of buffer passed to stringLimitInit
hno [Fri, 6 May 2005 08:37:36 +0000 (08:37 +0000)]
Resolved merge conflicts
hno [Fri, 6 May 2005 07:57:55 +0000 (07:57 +0000)]
Bug #1166: Configuration confusing when empty acls are encountered
Bug #1255: http_access line with unknown acls
This patch makes Squid very strict about access configuration errors.
Previously Squid ignored most errors, now it rejects the configuraiton
with an description of the error seen.
hno [Fri, 6 May 2005 00:50:42 +0000 (00:50 +0000)]
#define VERSION conflicts with autoconf. Use PROGRAM_VERSION
serassio [Thu, 5 May 2005 21:44:44 +0000 (21:44 +0000)]
Bug 1298: Multiple OIDs in SNMP GETNEXT not processed
Bug 1299: SNMPv2 requests should result in SNMPv2 responses
This patch fixes some minor issues in the SNMP Agent. The GETNEXT/BULK
requests both may contain more than one OID just like normal GET, but
Squid ignored all but the first.
Also the response version was always SNMP Version 1, even if the request
was a SNMP Version 2(c) request.
Forward port of 2.5 patch
serassio [Sun, 1 May 2005 16:49:03 +0000 (16:49 +0000)]
Bug #1267: Cosmetic change to DISKD statistics
This patch align labels and expand OPS and SUCCESS fields of DISKD cachemgr
stats.
serassio [Sun, 1 May 2005 14:11:47 +0000 (14:11 +0000)]
This patch adds the capability to suppress the version information in
the HTTP server headers and in the HTML error pages.
New squid.conf directive:
httpd_suppress_version_string on | off (default on)
Based on contribution from Nathan R. Valentine (thanks !!!)
hno [Sun, 1 May 2005 06:10:37 +0000 (06:10 +0000)]
Bootstrapped
serassio [Sun, 1 May 2005 01:32:00 +0000 (01:32 +0000)]
Bug #1244: Squid-3.0 compilation problems with gcc-4.0
Partial forward port of 2.5 patches from bug#1211
serassio [Sat, 30 Apr 2005 21:30:57 +0000 (21:30 +0000)]
Documented cachemgr.cgi purpose and configuration
Extended cachemgr.conf syntax to allow wilcard port specifications
Forward port of 2.5 changes
hno [Tue, 26 Apr 2005 06:10:37 +0000 (06:10 +0000)]
Bootstrapped
serassio [Tue, 26 Apr 2005 00:43:00 +0000 (00:43 +0000)]
Bug #1157: PID file check error when chrooting
Forward port of 2.5 patch
serassio [Mon, 25 Apr 2005 21:46:35 +0000 (21:46 +0000)]
Handle DOS/Windows formatted config file with wrong line terminators
hno [Mon, 25 Apr 2005 18:17:10 +0000 (18:17 +0000)]
CGI was published as RFC3875 some time ago.
serassio [Mon, 25 Apr 2005 18:03:34 +0000 (18:03 +0000)]
Better description of the --enable-gnuregex configure option from
Reuben Farrelly
serassio [Mon, 25 Apr 2005 00:25:24 +0000 (00:25 +0000)]
Bug #1223: Make the use of the %m error page to return auth info
messages
This patch extends the helper protocols for Basic and Digest to provide
some basic information in error responses, and makes use of the error
response already included in the NTLM helper protocol, making these
messages available as %m in error pages. Can be used if desired to
indicate why a login failed. The exact messages returned is helper
dependent.
Forward port of 2.5 patch.
serassio [Sun, 24 Apr 2005 20:00:43 +0000 (20:00 +0000)]
Bug #1223: Make the use of the %m error page to return auth info
messages
This patch extends the helper protocols for Basic and Digest to provide
some basic information in error responses, and makes use of the error
response already included in the NTLM helper protocol, making these
messages available as %m in error pages. Can be used if desired to
indicate why a login failed. The exact messages returned is helper
dependent.
Forward port of 2.5 patch.
hno [Sun, 24 Apr 2005 06:10:35 +0000 (06:10 +0000)]
Bootstrapped
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.