Current-Users archive

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

Re: new arp and squid



Hello Patrick!

Patrick Welche writes:
> In the new arp world:
> 
> Noticeable changes are:
> - Several definitions of routing flags and messages are removed
>   - RTF_CLONING, RTF_XRESOLVE, RTF_LLINFO, RTF_CLONED and RTM_RESOLVE
> 
> In Squid 3's src/eui/Eui48.cc:
> 
> // return binary representation of the EUI
> bool
> Eui::Eui48::lookup(const Ip::Address &c)
> {
> ...
>     /* Query ARP table */
>     mib[0] = CTL_NET;
>     mib[1] = PF_ROUTE;
>     mib[2] = 0;
>     mib[3] = AF_INET;
>     mib[4] = NET_RT_FLAGS;
>     mib[5] = RTF_LLINFO;
> 
> 
> What should squid do?
Not sure if the (DISCLAIMER: untested!) patches will fix all the
www/squid3 problems but I've observed and applied something very
similar to security/dsniff:

 http://netbsd.org/~leot/pkgsrc-patches/squid3-route-patches


HTH!
Ciao,
L.


Home | Main Index | Thread Index | Old Index