<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#464646" bgcolor="#FFFFFF">
    <p><font face="Tahoma">Hi Alex,</font></p>
    <p><font face="Tahoma">is the v5 commit 7a73a54 already included in
        the latest 5.5,5.6 versions?<br>
        <br>
        This is very unfortunate because WCCP is used by default by
        Fortinet firewall devices. It should be very popular.<br>
        Indeed, Fortinet is flooding the market.<br>
        I can volunteer for the funding and the necessary testing to be
        done.<br>
      </font><br>
    </p>
    <div class="moz-cite-prefix">Le 23/06/2022 à 14:44, Alex Rousskov a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:c668553e-5d30-9853-0108-519348612566@measurement-factory.com">On
      6/21/22 07:43, David Touzeau wrote:
      <br>
      <br>
      <blockquote type="cite">We trying to using WCCP with Fortigate
        without success Squid version  5.5 always claim "Ignoring WCCPv2
        message: truncated record"
        <br>
        <br>
        What can be the cause ?
        <br>
      </blockquote>
      <br>
      The most likely cause are bugs in untested WCCP fixes (v5 commit
      7a73a54). Dormant draft PR 970 contains unfinished fixes for the
      problems in that previous attempt:
      <br>
      <a class="moz-txt-link-freetext" href="https://github.com/squid-cache/squid/pull/970">https://github.com/squid-cache/squid/pull/970</a>
      <br>
      <br>
      IMHO, folks that need WCCP support should invest into that
      semi-abandoned Squid feature or risk losing it. WCCP code needs
      serious refactoring and proper testing. There are currently no
      Project volunteers that have enough resources and capabilities to
      do either.
      <br>
      <br>
<a class="moz-txt-link-freetext" href="https://wiki.squid-cache.org/SquidFaq/AboutSquid#How_to_add_a_new_Squid_feature.2C_enhance.2C_of_fix_something.3F">https://wiki.squid-cache.org/SquidFaq/AboutSquid#How_to_add_a_new_Squid_feature.2C_enhance.2C_of_fix_something.3F</a>
      <br>
      <br>
      <br>
      HTH,
      <br>
      <br>
      Alex.
      <br>
      <br>
      <br>
      <blockquote type="cite">We have added a service ID 80 on fortigate
        <br>
        <br>
        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>
        <br>
        Squid wccp configuration
        <br>
        <br>
        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>
        <br>
        Squid claim in debug log
        <br>
        <br>
        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>
        <br>
        <br>
        <br>
        -- <br>
        <br>
        _______________________________________________
        <br>
        squid-users mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
        <br>
        <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a>
        <br>
      </blockquote>
      <br>
      _______________________________________________
      <br>
      squid-users mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a>
      <br>
    </blockquote>
    <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">
        <table>
          <tbody>
            <tr>
              <td style="vertical-align: top;margin: 0;width: 33%;">
                <div style="min-height: 1px;padding-right:
                  15px;padding-left: 15px;box-sizing:
                  border-box;line-height: 1.42857143;min-height:
                  70px;margin-top:10px">
                  <div style="text-align: center;box-sizing:
                    border-box;"> <img
                      src="cid:part1.binKr2OF.Z3nCG9Gn@articatech.com"
                      style="margin-top: 5px;border-radius: 50%;display:
                      block;max-width: 100%;height: auto;border:
                      0;box-sizing: border-box;" width="64px"
                      height="64px">
                    <div style="margin-top: 5px;font-weight:
                      600;text-align: center;font-size:9px">Technical
                      Support</div>
                  </div>
                </div>
              </td>
              <td> <br>
              </td>
              <td style="vertical-align: top;margin: 0;width: 66%;">
                <div style="min-height: 1px;padding-right:
                  15px;padding-left: 0px;margin-top:16px">
                  <div style="box-sizing: border-box;color: rgb(103,
                    106, 108);cursor: pointer;font-size:
                    11px;font-weight: 600;line-height:
                    17.6px;margin-bottom: 2px;margin-top: 5px;"> <strong
                      style="box-sizing: border-box;color: rgb(103, 106,
                      108);cursor: pointer;font-weight:
                      12px;line-height: 17.6px">David Touzeau</strong></div>
                  <div style="box-sizing: border-box;color: rgb(103,
                    106, 108);font-size: 11px;line-height:
                    18.5667px;margin-bottom: 2px;margin-left:
                    0px;margin-right: 0px;margin-top: -8px;font-size:
                    9px;!important"> Orgerus, Yvelines, France</div>
                  <strong style="box-sizing: border-box;color: rgb(103,
                    106, 108);font-size: 12px;font-style:
                    normal;font-weight: 700;line-height: 1px">Artica
                    Tech</strong>
                  <address style="box-sizing: border-box;color: rgb(103,
                    106, 108);cursor: pointer;font-size:
                    10px;font-style: normal;line-height:
                    11px;margin-bottom: 20px;margin-top:-6px">
                    <br>
                    <abbr title="Phone">P:</abbr> +33 6 58 44 69 46
                    <br>
                    <abbr title="Web">www:</abbr> <a
                      href="https://wiki.articatech.com">wiki.articatech.com</a>
                    <br>
                    <abbr title="Web">www:</abbr> <a
                      href="http://articatech.net">articatech.net</a>
                  </address>
                </div>
              </td>
            </tr>
          </tbody>
        </table>
        <div style="box-sizing: border-box;color: rgb(103, 106,
          108);font-size: 13px;line-height: 18.5667px"> </div>
      </div>
    </div>
  </body>
</html>