Search squid archive

squid-3.1.0.15 and WCCPv1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am trying to upgrade my squid from 2.5 to 3.1.
I have got all my old configuration working on 3.1, except...
I am coming across a problem with WCCPv1.

172.16.13.56 is the address of the squid box.
172.16.13.2  is the address of the cisco router.
I have wccp_router=172.16.13.2 in my squid.conf.

squid-2.5 connects to UDP port 2048, I get replies, and everything else then
works. Here is a tcpdump of the initial connection:

16:12:13.404466 IP 172.16.13.56.2048 > 172.16.13.2.2048: UDP, length 52
16:12:13.406764 IP 172.16.13.2.2048 > 172.16.13.56.2048: UDP, length 64


But, squid-3.1 looks like it is trying to connect to UDP port 0 on the cisco.
Here is the equivalent tcpdump with squid-3.1:
 
15:59:10.093415 IP 172.16.13.56.2048 > 172.16.13.2.0: UDP, length 52
15:59:10.094423 IP 172.16.13.2 > 172.16.13.56: ICMP 172.16.13.2 udp port 0 unreachable, length


I have looked at the src/wccp.c for squid-2.5, and it is clear that the port is
being set to 2048 for the connection to the router.
I have also looked at the source for 2.6, 2.7 and 3.0 (src/wccp.cc for this
version).
In all those, it appears to be setting the port on the outgoing connection.

However, in the 3.1 source, it doesn't.

Is this a bug?

Has anybody got WCCPv1 working with squid-3.1?


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux