RE: [fw-wiz] Stateful inspect on return web traffic - eek!

From: Brett Charbeneau (brett_at_wrl.org)
Date: 12/12/03

  • Next message: Aram Smith: "[fw-wiz] IPSEC Traffic blocked?"
    To: Bill@royds.net
    Date: Fri, 12 Dec 2003 10:06:43 -0500 (EST)
    
    

    On Wed, 10 Dec 2003, Bill Royds wrote:

    BR> That looks like the last packets of a TCP stream that are being rejected
    BR> because your firewall is taking down the connection after your outgoing fin
    BR> packet and not waiting on the server's fin-ack packet. It may be because you
    BR> have too short of a fin-wait timeout period in your tcp stack. Default is 2
    BR> minutes (which is much too long), while 30 seconds seems to be long enough
    BR> to prevent this but not so long that you queue too many sockets.
    BR> The host names corresponding to those IP addresses seem quit legitimate
    BR> 216.75.202.105 is mail26m.collegeclub.com, 207.68.178.238 is rad.msn.com

            Thanks for the response, Bill!
            Huh. This makes perfect sense, and the timeout you mention would
    certainly seem to derail iptables.
            I'll give this a shot and report back - I just need to figure out
    where to tune this particular setting. =8^)

    Brett Charbeneau, Network Administrator Tel: 757-259-7750
    Williamsburg Regional Library FAX: 757-259-7798
    7770 Croaker Road brett@wrl.org
    Williamsburg, VA 23188-7064 http://www.wrl.org

    BR> -----Original Message-----
    BR> From: firewall-wizards-admin@honor.icsalabs.com
    BR> [mailto:firewall-wizards-admin@honor.icsalabs.com] On Behalf Of Brett
    BR> Charbeneau
    BR> Sent: December 9, 2003 11:33 AM
    BR> To: firewall-wizards@honor.icsalabs.com
    BR> Subject: [fw-wiz] Stateful inspect on return web traffic - eek!
    BR>
    BR> Greetings,
    BR>
    BR> If anyone can help me figure out what's going on with my logs, I'd
    BR> be EXTREMELY grateful!
    BR> I have a handful of firewalls around my institution that are using
    BR> the 2.4.20 Linux kernel, have iptables v1.2.7a, and default drop
    BR> policies. The workstations behind the firewalls are on NAT'd networks and
    BR> have these commands for connection tracking:
    BR>
    BR> iptables -A OUTPUT -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
    BR> iptables -A FORWARD -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
    BR> iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
    BR>
    BR> I've recently set up a Squid proxy with the same specifics but
    BR> obviously minus the NAT'd network. Except for the explicit allow
    BR> statements for the Squid process and necessary SSH access, the rules are
    BR> very simple - default drop except for related return traffic.
    BR> In all these instances, I have an iptables rule to log any dropped
    BR> packets and I've been seeing some really strange web-related *return*
    BR> traffic that isn't being allowed back in.
    BR> Me no get.
    BR> I've got an example below and they look to me to be replies to web
    BR> clients that *should* be associated with outgoing traffic but somehow
    BR> isn't and the traffic is being dropped.
    BR> I've not heard complaints about certain web sites being
    BR> unreachable, so the clients must be getting their traffic somehow, but
    BR> clearly something is amiss.
    BR> Any guidance or hints anyone can provide would be greatly
    BR> appreciated!
    BR>
    BR>

    -- 
    _______________________________________________
    firewall-wizards mailing list
    firewall-wizards@honor.icsalabs.com
    http://honor.icsalabs.com/mailman/listinfo/firewall-wizards
    

  • Next message: Aram Smith: "[fw-wiz] IPSEC Traffic blocked?"

    Relevant Pages

    • Re: iptables and dhcp
      ... > the same physical network segment as the firewall and the remote DHCP ... You used INPUT and not FORWARD chain ... # This target allows packets to be marked in the mangle table ...
      (comp.os.linux.networking)
    • Re: Trouble accessing Outlook Web Access from behind firewall
      ... When starting the firewall I also set ... > rejected and dropped packets are logged, however I see nothing in my log ... > # Higher ports needed to accept incoming/outgoing calls ...
      (comp.security.firewalls)
    • Re: Visnetic and 8signs firewall LOOPHOLE Read....
      ... I said I am just reporting bug in your Firewall, ... From the Port Scan/Properties control screen: ... The firewall filtered 100% of the packets that were received. ... operating system (I'm talking Windows, ...
      (comp.security.firewalls)
    • Re: port 80 is open
      ... The firewall drops all packets initiated ... > internet the ISP router does not send the unreachable message. ... and then close the connection as your IP is seen as not connected. ...
      (comp.security.firewalls)
    • Re: strange network traffic
      ... Maybe not so wise to not have a firewall and trust a third party lurker to ... Subject: strange network traffic ... > -> connection established, following packets have neither SYN nor ...
      (Security-Basics)