Re: [squid-users] SQUID 2.6STABLE1 + WCCPv2 + Cisco 4503 : Here_I_am w/bad rcv_id

From: Henrik Nordstrom <[email protected]>
Date: Tue, 25 Jul 2006 19:37:33 +0200

tis 2006-07-25 klockan 11:50 -0400 skrev Mornard Christian:

> tcpdump: listening on eth0
>
> 11:13:00.233196 0:d0:b7:79:ce:a6 0:12:d9:a6:a7:bf ip 178: 10.19.3.x.2048 > 10.19.2.x.2048: udp 136 (DF) (ttl 64, id 33784, len 164)

> 0x0010 0a13 0204 0800 0800 0090 9121 0000 000a ...........!....
> 0x0020 0200 0080

WCCP_HERE_I_AM (0x0000000a)
Version 0x200 (WCCPv2)
Length 0x0080
 
> 0000 0004 0000 0000

WCCP2_SECURITY_INFO (0x0000)
Length 0x0004
Security Option WCCP2_NO_SECURITY (0x00000000)

> 0001 0018 ................
> 0x0030 0000 0000 0000 0000 0000 0000 0000 0000 ................
> 0x0040 0000 0000 0000 0000

WCCP2_SERVICE_INFO (0x0001)
Length 0x0018
Service Type WCCP2_SERVICE_STANDARD (0x00)
Service ID HTTP (0x00)
Priority 0
Protocol 0
Service Flags 0x00000000
Ports 0x0000, 0x0000, 0x0000, ...

Hmm.. lots of zeroes there..

> 0003 002c 0a13 0399 ...........,....
> 0x0050 0000 0000 0000 0000 0000 0000 0000 0000 ................
> 0x0060 0000 0000 0000 0000 0000 0000 0000 0000 ................
> 0x0070 0000 0000 2710 0000

WCCP2_WC_ID_INFO (0x0003)
Length 0x002c
Identity 0x0a130399
Hash assignment 0x000..000
Assignment Weigth 0x2710
Status 0x0000

Hmm.. what is that weight?

> 0005 0014 0000 0001 ....'...........
> 0x0080 0000 0001 0a13 0204 0000 0000 0000 0000 ................

WCCP2_WC_VIEW_INFO (0x0005)
Length 0x0014
Change number 0x00000001
Number of routers 0x00000001
Router ID 0x0a130204
Receive ID 0x00000000

> 0x0090 0008 ..

WCCP2_CAPABILITY_INFO (0x0008)
[TRUNCATED] (tcpdump -s option needed to capture whole packet)

>
> 11:13:00.234064 0:12:d9:a6:a7:bf 0:d0:b7:79:ce:a6 ip 162: 10.19.2.x.2048 > 10.19.3.x.2048: udp 120 (ttl 255, id 50468, len 148)
>

> 0x0010 0a13 0399 0800 0800 0080 b059 0000 000b ...........Y....
> 0x0020 0200 0070

WCCP2_I_SEE_YOU (0x0000000b)
Version 0x0200 (WCCPv2)
Length 0x0070

> 0000 0004 0000 0000

> 0001 0018 ...p............
> 0x0030 0000 0000 0000 0000 0000 0000 0000 0000 ................
> 0x0040 0000 0000 0000 0000

> 0002 0014 cc13 05f0 ................
> 0x0050 0000 2b41 0a13 0204 0000 0001 0a13 0399 ..+A............

WCCP2_ROUTER_ID_INFO (0x0002)
Length 0x0014
Router ID 0xcc1305f0
Receive ID 0x00002b41
Sent to 0x0a130204
Number received from 0x0000001
Received from 0x0a130399

> 0x0060 0004 0014 0000 0aca 0000 0000 0000 0000 ................
> 0x0070 0000 0000 0000 0000

WCCP2_RTR_VIEW_INFO (0x0004)
Length 0x0014
Member Change Number 0x00000aca
Assignment key 0x0000000000000000
Number of Routers 0x00000000
Number of Web-Caches 0x00000000

> 0008 0018 0001 0004 ................
> 0x0080 0000 0002 0002 0004 0000 0002 0003 0004 ................
> 0x0090 0000 ..

>
> 11:13:11.253180 0:d0:b7:79:ce:a6 0:12:d9:a6:a7:bf ip 178: 10.19.3.x.2048 > 10.19.2.x.2048: udp 136 (DF) (ttl 64, id 33785, len 164)

> 0x0010 0a13 0204 0800 0800 0090 9121

> 0000 000a ...........!....
> 0x0020 0200 0080

WCCP2_HERE_I_AM (0x0000000a)

> 0000 0004 0000 0000

> 0001 0018 ................
> 0x0030 0000 0000 0000 0000 0000 0000 0000 0000 ................
> 0x0040 0000 0000 0000 0000

> 0003 002c 0a13 0399 ...........,....
> 0x0050 0000 0000 0000 0000 0000 0000 0000 0000 ................
> 0x0060 0000 0000 0000 0000 0000 0000 0000 0000 ................
> 0x0070 0000 0000 2710 0000

> 0005 0014 0000 0001 ....'...........
> 0x0080 0000 0001 0a13 0204 0000 0000 0000 0000 ................

WCCP2_WC_VIEW_INFO (0x0005)
Length 0x0014
Change number 0x00000001
Number of routers 0x00000001
Router ID 0x0a130204
Receive ID 0x00000000

Hmm... should have been some info from the WCCP_I_SEE_YOU here... would
have expected Change Number and Receive ID to be updated.

This indicates your Squid is not accepting the WCCP_I_SEE_YOU messages
from the router for some reason. Investigating.. Ah. Please file a bug
report with this information and I think I may have a patch for you.

  http://www.squid-cache.org/bugs/

Regards
Henrik

Received on Tue Jul 25 2006 - 11:37:38 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:02 MDT