Hi,
--On Thursday, October 25, 2001 12:51:27 AM +0200 Henrik Nordstrom
<hno@squid-cache.org> wrote:
> If patching by hand is not something you look forward in doing
Not so much time at the moment...
> then
> you can try getting the full branch using cvs, but it will then be
> the version of Squid there was when the ipv6 branch was last
> maintained.
Taken squid-ipv6
Looks like there are some existing buchs in this branch
1) configure without "--disable-wccp" breaks compiling in
src/cf_parser.c
2) src/acl.c has a not really C conform source part (using gcc-2.96):
--- src/acl.c.cvsorig Thu Oct 25 10:00:25 2001
+++ src/acl.c Thu Oct 25 10:03:27 2001
@@ -2252,8 +2252,8 @@
if (ADDR_IS_ANYADDR(q->addr2)) {
return memcmp(&A, &q->addr1, sizeof(struct IN_ADDR));
} else {
- if (memcmp(&A, &q->addr1, sizeof(struct IN_ADDR)) => 0) &
- (memcmp(&A, &q->addr2, sizeof(struct IN_ADDR)) <= 0)
+ if ((memcmp(&A, &q->addr1, sizeof(struct IN_ADDR)) >= 0) &&
+ (memcmp(&A, &q->addr2, sizeof(struct IN_ADDR)) <= 0))
return 0; /* valid */
else
return -1; /* outside of range, 'less than' */
BTW: a warning was also displayed here:
acl.c:1723: warning: enumeration value `ACL_SRC_ASN' not handled in
switch
acl.c:1723: warning: enumeration value `ACL_DST_ASN' not handled in
switch
3) Ooops:
client_side.c: In function `parseHttpRequest':
client_side.c:2652: structure has no member named `sin_addr'
client_side.c:2654: structure has no member named `sin_port'
client_side.c:2654: structure has no member named `sin_port'
client_side.c:2654: structure has no member named `sin_port'
client_side.c:2654: structure has no member named `sin_port'
client_side.c:2654: warning: `__v' might be used uninitialized in
this function
make[2]: *** [client_side.o] Error 1
make[2]: Leaving directory `/usr/local/src/squid/squid-ipv6/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/squid/squid-ipv6/src'
make: *** [all] Error 1
I believe it's better for me to stop here now.
Used configure options:
./configure --enable-ipv6 --enable-storeio="aufs,coss,diskd,ufs"
--enable-delay-pools --enable-linux-netfilter --with-pthreads
--exec_prefix=/usr --bindir=/usr/sbin --libexecdir=/usr/lib/squid
--localstatedir=/var --sysconfdir=/etc/squid --enable-poll
--enable-removal-policies="heap,lru" --disable-wccp
Used build system:
Red Hat Linux 7.2
kernel-headers-2.4.7-10
glibc-devel-2.2.4-19
Any hints available?
BTW: because of RHL 7.2 is now good IPv6 enabled would be imho a big
step further on if a working IPv6 squid is available, too.
Reason: browsers like Mozilla or Konqueror cannot be setup (by
configuration) to use for IPv4 a proxy, but not for IPv6). So if for
IPv4 a proxy is required, it will be also used for IPv6 requests -
but without success.
Peter
Received on Sat Oct 27 2001 - 05:14:51 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:35 MST