Hi,

I asked some time ago about problems with my wccp
caching...(Cisco+freebsd/squid)

I _frequently_  get error (<page not found> via ~60 or more seconds after
request)
about inaccessibility web server in client browser.

I tried once more recently with ipf 3.4.31, but abortively... ;(
Have anybody (who have working ipf+wccp) help me?

I have:
192.168.21.2 - cisco
192.168.21.3 - squid server
192.168.20.239 - dialup user
213.180.194.129 - example of web server

# ipnat rules for wccp
rdr vx0 192.168.21.3/32 port 80 -> 192.168.21.3 port 80 tcp
rdr vx0 0.0.0.0/0 port 80 -> 192.168.21.3 port 8080 tcp

# some ipf rules (block default)
block in quick on vx0 all head 100
block out quick on vx0 all head 150
pass in quick on vx0 proto gre from 192.168.21.2/32 to 192.168.21.3/32 group
100
count in on vx0 proto tcp from 192.168.20.239/32 to 192.168.21.3/32 port =
8080
pass in quick on vx0 proto tcp from 192.168.20.239/32 to 192.168.21.3/32
port = 8080 flags S/SA keep state keep frags group 100
pass out quick on vx0 proto tcp from 192.168.21.3/32 to any keep state keep
frags group 150

when I get error:
- I see gre incapsulated packets from cisco
- I see ipnat redirection (ipnat -l):
RDR 192.168.21.3     8080  <- -> 213.180.194.129 80    [192.168.20.239 2456]
- I have increasing account packets (ipfstat -ia)
702 count in on vx0 proto tcp from 192.168.20.239/32 to 192.168.21.3/32 port
= 8080
- I don't see any packets via ipfstat -ih (or via tcpdump):
0 pass in quick on vx0 proto tcp from 192.168.20.239/32 to 192.168.21.3/32
port = 8080 flags S/SA keep state keep frags group 100
- and then I haven't any web-request to Squid of course

If I permit all packets via ipf filter without keep state, I get error at
once.

I look after this effect on different version 4.X FreeBSD and ipf 3.4.X
and IOS 12.2 (Now 4.4 FreeBSD, 3.4.31 ipf and 12.2.5d IOS)

Andrew



Reply via email to