Re: [fw-wiz] Strange Pix behavior.

From: Jim MacLeod (jmacleod_at_gmail.com)
Date: 06/16/05

  • Next message: Alin-Adrian Anton: "Re: [fw-wiz] Host based vs network firewall in datacenter"
    To: Paul Melson <psmelson@comcast.net>
    Date: Thu, 16 Jun 2005 01:00:20 -0700
    
    

    Paul Melson wrote:

    >If the firewall successfully deletes the state table entry before the remote
    >server can send an RST+ACK (which is what you want, you don't want your
    >firewall waiting for an untrusted system's predicted response before it
    >revokes its access), that packet will be compared to the access-lists that
    >allow traffic from the outside and if no match is found, it will be dropped
    >and logged.
    >
    >
    I'm not aware of any TCP implementation that will ACK a RST, since RST
    indicates that the host has destroyed the connection. It's invalid to
    ACK a RST, and would provoke yet another RST. That's one of the reasons
    to use a FIN+RST, rather than a full FIN-ACK-FIN-ACK. Your explanation
    also doesn't account for UDP, although typically a stateful firewall
    will keep a running timer for UDP pseudo-sessions and remove the table
    entries once the timer expires.

    My first guess in cases like this - HA pair, replies dropped - has
    historically been unintentional asymmetric routing, when the outbound
    connection goes through one firewall, but the response returns through a
    different one, and the RTT is less than the sync interval for the
    firewalls. In that case, the inbound firewall would act as expected,
    dropping a session for which is has no table entry. Granted, I haven't
    seen this problem in quite a while, and even then it was primarily on
    inbound connections.

    I'd be interested in seeing if there's a correlation in the logs with
    existing connections from the client to the server. Are these really
    dropped responses, or is it attack traffic designed to mimic that
    traffic pattern? Real dropped responses should have Accept messages to
    the same servers from the same client IP around the same time. The fact
    that the drop messages are in proportion to the outbound connections is
    a good sign that it's not an attack.

    >Your firewall is working just fine, or at least, it's working as it was
    >designed to work. If you don't want to see it, I recommend using Kiwi or
    >syslog-ng to remove these entries from the syslog stream before they reach
    >your log analyzer.
    >
    >
    I'd argue instead that this behavior is unusual, and furthermore that
    blocking Deny log entries is a good way to ignore evidence of actual
    attacks. Granted, there's a signal-to-noise ratio problem right now,
    but that can easily be corrected by filtering on known protocols in the dst.

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


  • Next message: Alin-Adrian Anton: "Re: [fw-wiz] Host based vs network firewall in datacenter"

    Relevant Pages

    • Re: SQL clients dropping connections on WAN
      ... I can transfer files over the connections, ... Server, even see the SQL 2000 server. ... The only change made when we did the DSL switch ... The forth server is actually on it's own subnet in the DMZ of the firewall ...
      (microsoft.public.sqlserver.clients)
    • Re: Connection Sharing on demand
      ... user has to authenticate for each time they want an Internet service, ... That can be done as a firewall application with lots ... you'd have the user connect to a server ... mentioned blocking inbound connections - that's trivial to do with the ...
      (comp.os.linux.networking)
    • Re: smtp and iptables
      ... Still - even with that rule in the OUTPUT chain permitting outgoing ... smtp connections I can't send e-mails. ... permit returning icmp packages I can even ping the target mail server. ... But the smtp connection times out and my guess is that my firewall ...
      (comp.os.linux.networking)
    • Re: Firewalls: whats the use?
      ... > local connections and it is not possible to connect to it from the ... > Since it is a web server I obviously need to allow traffic from anyone ... > to port 80. ... The basic thing that a firewall does is limit what you have to worry about. ...
      (comp.os.linux.security)
    • Re: Exchange Server 2003 Outgoing SMTP Queue
      ... >25' test from the Exchange server itself instead of from ... >sounds as if the firewall may be preventing the ... >> All Installation procedures are documented and followed ... >Thank you for your response. ...
      (microsoft.public.exchange2000.connectivity)