Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: ACK,RST getting dropped in the firewall.
Date: Thu, 24 Jun 2004 11:44:10 +0100	[thread overview]
Message-ID: <200406241144.10450.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <200406241037.01994.gdh@acentral.co.uk>

On Thursday 24 June 2004 10:37 am, Gavin Hamill wrote:

> On Wednesday 23 June 2004 12:32, Chris Brenton wrote:
> > Seen this a lot. When ever I record a trace it ends up being the
> > following:
> >
> > There is obviously data getting blocked (based on the packet size) but
> > I've never had a user complaint.
>
> Just wanted to add a 'me too' - I've asked on-list a couple of times about
> this but never really got an answer. Neither the server nor clients seem to
> be any the worse off for it, but it's obviously incorrect, and it'd be nice
> to be able to nail it =)
>
> Any takers? Antony? :)

Hi guys - did somebody call :) ?

Yes, I would agree with the above - blocking RST-ACK does no harm whatever, 
and is often an accidental consequence of using stateful firewalls - they see 
the RST packet (and pass it on), then drop the details from the connection 
tracking table, so by the time the RST-ACK comes along in response, the 
firewall thinks "this isn't part of any established connection, so I'm going 
to drop it" (and maybe log it too if you are logging dropped packets).

Either way, the connection gets dropped as required, and both ends are happy, 
because the end which sent the RST has said bye-bye anyway, and the end which 
recieved it has taken the hint and gone quiet too.

The other thing you see logged quite often for similar reasons is FIN-ACK 
packets - the reply FIN-ACK is regarded as optional by many systems, so 
netfilter often ends up logging (and dropping) the second one to come along.   
No harm done though, because the first one has done the job.

Regards,

Antony.

-- 
Success is a lousy teacher.  It seduces smart people into thinking they can't 
lose.

 - William H Gates III

                                                     Please reply to the list;
                                                           please don't CC me.



  reply	other threads:[~2004-06-24 10:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-23 11:06 ACK,RST getting dropped in the firewall Manikandan
2004-06-23 11:32 ` Chris Brenton
2004-06-24  9:37   ` Gavin Hamill
2004-06-24 10:44     ` Antony Stone [this message]
2004-06-24 13:36       ` Chris Brenton
2004-06-24 13:52         ` Jozsef Kadlecsik
2004-06-24 13:54         ` Antony Stone
2004-06-24 15:48           ` Chris Brenton
2004-06-24 16:09             ` Antony Stone
2004-06-24 18:29               ` Chris Brenton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200406241144.10450.Antony@Soft-Solutions.co.uk \
    --to=antony@soft-solutions.co.uk \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox