Re: [wccpd-devel] few new things
Status: Alpha
Brought to you by:
ejbs
|
From: Blues <bl...@ds...> - 2002-02-03 20:36:05
|
On 1 Feb 2002, Eduardo J. Blanco wrote: > Oops... that's bad. > Can you attach a tcpdump -lxn -s 2048 udp port 2048 ? > That would help me figure out what's going on. well... I've tried to use wccp on another mashine. This time this was=20 Linux. With ip_wccp module loaded (I know it works squid <-> Cisco=20 router). But still Cisco with ordinary squid does not work together. tcpdump goes=20 priv :) one with --ipip and second one with --gatewaying (dump2 - empty). When I've tried to add mixed types (dump3) nothing was changed - still no= t=20 working. I've got in my logs: charon wccpd: HERE_I_AM: WebCache at 212.1.6.3 became usable charon wccpd: WebCache at 212.1.6.3 enabled charon wccpd: executeCmd: enable-cache: 65280 charon wccpd: WebCache at 153.1.0.4 changed hash information charon wccpd: WebCache at 212.1.6.3 changed hash information charon wccpd: WebCache at 153.1.0.4 changed hash information charon wccpd: WebCache at 212.1.6.3 changed hash=20 information ..and so on... first of all some smarter script must be made, because multiple types of=20 caches with mixed types of encapsulation are unusable not. Next - when a cache is calling HERE_I_AM wccpd automaticaly enables it.=20 Its wrong, because: - some cache might be broken - some cache I might not want to use - I might to diable this cache from router... ... well another vote for somekind of config :) > When you start using something more - you will see some trouble :) = One=20 > cache works fine, no matter what kind. > =20 > 1. I wanted to configure 1 Cisco cache engine and 2 proxy on squid.= I've=20 > configured first one as encapsulated and the rest as direct routing= . This=20 > is what I've became in logs: > =20 > Feb 1 14:17:40 charon wccpd: HERE_I_AM: received-id mis= matched (ours=3D35005211 theirs=3D0) > Feb 1 14:18:01 charon wccpd: HERE_I_AM: received-id mis= matched (ours=3D521595368 theirs=3D0) > Feb 1 14:18:12 charon wccpd: HERE_I_AM: received-id mis= matched (ours=3D521595368 theirs=3D0) > Feb 1 14:18:32 charon wccpd: HERE_I_AM: received-id mis= matched (ours=3D294702567 theirs=3D0) > Feb 1 14:18:43 charon wccpd: HERE_I_AM: received-id mis= matched (ours=3D294702567 theirs=3D0) > Feb 1 14:19:04 charon wccpd: HERE_I_AM: received-id mis= matched (ours=3D714386896 theirs=3D0) > =20 > And it does not work :( Maybe this is because this one is squid on = Sun...?=20 > I don't know - after all current scripts don't allow to make mixed = types=20 > of caches (is it possible? should be..) > =20 > 2. every manipulation on enable/disable scripts causes that I have = to=20 > restart whole wccpd. All of the rules are existenz but no trafic is= there. > =20 > 3. How is it that wccp after restart remembers last settings? He=20 > automaticaly starts last servers. Even if I've done _disable_ .=20 > =20 > 4. Why cache is detected even if protocol isn't correct? Encapsulat= ion I=20 > mean. After making restart wccpd detects (restores prom memory?) la= st=20 > configuration and when I've changed encapsulation type I have in my= logs: > =20 > Feb 1 16:06:25 charon wccpd: HERE_I_AM: WebCache at 153= .1.1.1 became usable > Feb 1 16:06:35 charon wccpd: WCCP enabled > Feb 1 16:06:35 charon wccpd: WebCache at 153.1.1.1 enab= led > =20 > # ipvsadm > -> RemoteAddress:Port Forward Weight ActiveConn InActCo= nn > FWM 128 wlc > -> 153.1.1.1:0 Route 1 230 80 > =20 > welll... this is Cisco, so it's wrong. --=20 --------------------------------- pozdr. Pawe=B3 Go=B3aszewski =20 --------------------------------- CPU not found - software emulation... |