Networking Forums

Networking Forums > Computer Networking > Linux Networking > iptables blocks 'established' packets ?

Reply
Thread Tools Display Modes

iptables blocks 'established' packets ?

 
 
Tom Van Overbeke
Guest
Posts: n/a

 
      07-01-2003, 01:35 PM
Hi,

I have a server running redhat advanced server 2.1 that is a proxy for our
local lan (some 50 desktops).

it's running squid for http and ftp proxying and it works fine.


However, every now and then, i see blocked packets in the firewall log that
should have been let through because they were part of an existing
connection.
the firewall is configured to permit all connections in the related and
established state.


example:

desktop client ---> http request ----> SQUID PROXY ------> actual web
site -----> http response -----> SQUID PROXY ----> desktop client

sometimes i see this in my iptables log:

Jul 1 12:43:46 dobermann kernel: -drop_the_rest-IN= OUT=eth1 SRC=172.21.3.1
DST=172.21.3.199 LEN=1092 TOS=0x00 PREC=0x00 TTL=64 ID=4352 PROTO=TCP
SPT=3128 DPT=1588 WINDOW=16501 RES=0x00 ACK PSH FIN URGP=0

To me this looks like the proxy (listening on port 3128) received the http
info from the web site, and tries to pass it on to the client who requested
it. the only reason why i can think that this would cause it to be dropped
is that the connection table didn't list this connection as active anymore
and didn't consider it to be either 'RELATED' or 'ESTABLISHED' traffic.

cat /proc/net/ip_conntrack | wc -l reports 173, which i assume is the number
of connections currently open. it doesn't look to high to me ?


Any useful insights ?


thanks,


Tom.





 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
W2K3-SP1 router blocks FTP packets Bernard.Tondeur Windows Networking 0 02-20-2006 11:08 AM
iptables blocks httpd, why? Coenraad Loubser Linux Networking 0 03-08-2005 08:02 PM
iptables blocks access to some websites? Gururajan Ramachandran Linux Networking 2 09-03-2004 06:38 PM
iptables router 'blocks' some websites ? hega72@gmx.de Linux Networking 6 06-16-2004 06:38 PM
iptables: ESTABLISHED,RELATED but some ACK or RST rejected Emmanuel CHANTREAU Linux Networking 1 09-17-2003 08:47 PM



1 2 3 4 5 6 7 8 9 10 11