--------------------- PatchSet 6034 Date: 2007/10/29 12:24:08 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: More code cleanup (PINGER_PAYLOAD_SZ macro) Update NOTES-IPv6 Members: NOTES-IPv6:1.1.2.72->1.1.2.73 src/ICMP.h:1.1.2.9->1.1.2.10 src/defines.h:1.10.4.3->1.10.4.4 Index: squid3/NOTES-IPv6 =================================================================== RCS file: /cvsroot/squid-sf//squid3/Attic/NOTES-IPv6,v retrieving revision 1.1.2.72 retrieving revision 1.1.2.73 diff -u -r1.1.2.72 -r1.1.2.73 --- squid3/NOTES-IPv6 26 Oct 2007 16:10:19 -0000 1.1.2.72 +++ squid3/NOTES-IPv6 29 Oct 2007 12:24:08 -0000 1.1.2.73 @@ -1,4 +1,4 @@ -$Id: NOTES-IPv6,v 1.1.2.72 2007/10/26 16:10:19 rmartinez Exp $ +$Id: NOTES-IPv6,v 1.1.2.73 2007/10/29 12:24:08 amosjeffries Exp $ NP: Any problems with this version of squid please contact squid3@treenet.co.nz for assistance. @@ -13,6 +13,7 @@ NP: Same with SNMP agent. If you just want to run this branch (no testing). I recommend --disable-snmp until its had at the very least some unit-tests created. + IPv6 NEW FEATURES: Squid handles localhost values seperately. For the purpose of ACLs and also external @@ -58,12 +59,9 @@ UPDATE: The internal resolver structure _res* proved to be a very nasty mess. I've found the time to sort it out (I think) and it appears to be going well enough for some detailed tests. -2007-09-21: - Due to a regression bug in autoconf 2.59 some OS may encounter compilation errors - when IPv6 extensions are not available via _res_ext from the system native - DNS resolver. This can be resolved by upgrading to autoconf 2.61 or later. - Systems where _res_ext is provided should not encounter this problem. -UPDATE Oct 2007: glue for this feature, moved from autoconf to Squid source. +UPDATE: Due to a change in FreeBSD 6.2 IPv6 nameservers MAY NOT be set via dns_nameservers + in the squid.conf or passed via -s option to dnsserver. + Instead they must be configured in /etc/resolv.conf. PROBLEM: Testers report that "using WebDAV against my Squid-accelerated Apache gives Index: squid3/src/ICMP.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/Attic/ICMP.h,v retrieving revision 1.1.2.9 retrieving revision 1.1.2.10 diff -u -r1.1.2.9 -r1.1.2.10 --- squid3/src/ICMP.h 24 Oct 2007 02:34:39 -0000 1.1.2.9 +++ squid3/src/ICMP.h 29 Oct 2007 12:24:09 -0000 1.1.2.10 @@ -1,5 +1,5 @@ /* - * $Id: ICMP.h,v 1.1.2.9 2007/10/24 02:34:39 amosjeffries Exp $ + * $Id: ICMP.h,v 1.1.2.10 2007/10/29 12:24:09 amosjeffries Exp $ * * DEBUG: section 37 ICMP Routines * AUTHOR: Duane Wessels, Amos Jeffries @@ -37,6 +37,8 @@ #include "config.h" #include "IPAddress.h" +#define PINGER_PAYLOAD_SZ 8192 + #define MAX_PAYLOAD SQUIDHOSTNAMELEN #define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1) #if USE_IPV6 Index: squid3/src/defines.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/defines.h,v retrieving revision 1.10.4.3 retrieving revision 1.10.4.4 diff -u -r1.10.4.3 -r1.10.4.4 --- squid3/src/defines.h 14 Aug 2007 02:06:51 -0000 1.10.4.3 +++ squid3/src/defines.h 29 Oct 2007 12:24:09 -0000 1.10.4.4 @@ -1,6 +1,6 @@ /* - * $Id: defines.h,v 1.10.4.3 2007/08/14 02:06:51 amosjeffries Exp $ + * $Id: defines.h,v 1.10.4.4 2007/10/29 12:24:09 amosjeffries Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -205,8 +205,6 @@ #define STORE_HDR_METASIZE (4*sizeof(time_t)+2*sizeof(u_short)+sizeof(uint64_t)) #define STORE_HDR_METASIZE_OLD (4*sizeof(time_t)+2*sizeof(u_short)+sizeof(size_t)) -#define PINGER_PAYLOAD_SZ 8192 - #define COUNT_INTERVAL 60 /* * keep 60 minutes' worth of per-minute readings (+ current reading)