<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#464646" bgcolor="#FFFFFF">
<p>Hi</p>
<p>We trying to using WCCP with Fortigate without success Squid
version 5.5 always claim "Ignoring WCCPv2 message: truncated
record"</p>
<p>What can be the cause ?<br>
</p>
<p>We have added a service ID 80 on fortigate<br>
</p>
<p>config system wccp<br>
edit "80"<br>
set router-id 10.10.50.1<br>
set group-address 0.0.0.0<br>
set server-list 10.10.50.2 255.255.255.255<br>
set server-type forward<br>
set authentication disable<br>
set forward-method GRE<br>
set return-method GRE<br>
set assignment-method HASH<br>
next<br>
end<br>
</p>
<p>Squid wccp configuration <br>
</p>
<p>wccp2_router 10.10.50.1<br>
wccp_version 3<br>
# tested v4 do the same behavior<br>
wccp2_rebuild_wait on<br>
wccp2_forwarding_method gre<br>
wccp2_return_method gre<br>
wccp2_assignment_method hash<br>
wccp2_service dynamic 80 <br>
wccp2_service_info 80 protocol=tcp protocol=tcp flags=src_ip_hash
priority=240 ports=80,443<br>
wccp2_address 0.0.0.0 <br>
wccp2_weight 10000<br>
</p>
<p>Squid claim in debug log<br>
</p>
<p>022/06/21 13:15:38.780 kid4| 80,6| wccp2.cc(1206) wccp2HandleUdp:
wccp2HandleUdp: Called.<br>
2022/06/21 13:15:38.781 kid4| 5,5| ModEpoll.cc(118) SetSelect: FD
38, type=1, handler=1, client_data=0, timeout=0<br>
2022/06/21 13:15:38.781 kid4| 80,3| wccp2.cc(1230) wccp2HandleUdp:
Incoming WCCPv2 I_SEE_YOU length 112.<br>
2022/06/21 13:15:38.781 kid4| ERROR: Ignoring WCCPv2 message:
truncated record<br>
exception location: wccp2.cc(1133) CheckSectionLength<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-signature">-- <br>
<div style="background-color: #ffffff;border: 1px solid
#e7eaec;padding: 1px;margin-bottom: 20px;box-sizing:
border-box;font-family: 'open sans', 'Helvetica Neue',
Helvetica, Arial, sans-serif;font-size: 13px;color:
#676a6c;width:270px">
<div style="box-sizing: border-box;color: rgb(103, 106,
108);font-size: 13px;line-height: 18.5667px"> </div>
</div>
</div>
</body>
</html>