From: Benedikt Gollatz <ben@differentialschokolade.org>
To: netfilter@vger.kernel.org
Subject: Re: Why is this traffic dropped?
Date: Wed, 18 Jun 2008 21:41:15 +0200 [thread overview]
Message-ID: <200806182141.16442.ben@differentialschokolade.org> (raw)
In-Reply-To: <alpine.LNX.1.10.0806182036500.14231@fbirervta.pbzchgretzou.qr>
On Wednesday 18 June 2008 20:37:27 Jan Engelhardt wrote:
> >> Jun 18 17:03:39 iahabs1 kernel: IN_DROP: IN=eth0 OUT=
> >> MAC=00:1c:23:ca:ec:1d:00:1b:53:87:68:c0:08:00 SRC=10.192.130.104
> >> DST=192.168.51.1 LEN=40 TOS=0x00 PREC=0x00 TTL=119 ID=5563 DF PROTO=TCP
> >> SPT=35557 DPT=80 WINDOW=65149 RES=0x00 ACK FIN URGP=0
> >
> > Because it is a FIN packet... = ! (NEW,RELATED or ESTABLISHED) but
> > INVALID !!!
>
> Seriously, FIN packets should not be dropped, otherwise a connection
> is lurking around until it times out.
Some port scanners use FIN-Packets ("FIN scan", "Xmas scan") to check whether
a RST is sent back (service listening) or the packet is just ignored (no
service there). In this case, incoming FIN packets won't belong to a
connection, are therefore INVALID, and can be dropped, if you think that
blocking this port scans enhances your security.
FIN packets should not be INVALID if there's an entry in the state table for
the connection they belong to anyway, or am I missing something?
Benedikt
next prev parent reply other threads:[~2008-06-18 19:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-18 17:11 Why is this traffic dropped? Douglas Rabe
2008-06-18 18:03 ` Gáspár Lajos
2008-06-18 18:37 ` Jan Engelhardt
2008-06-18 19:20 ` Douglas Rabe
2008-06-18 19:41 ` Benedikt Gollatz [this message]
2008-06-18 20:21 ` Jozsef Kadlecsik
2008-06-18 20:39 ` Jan Engelhardt
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=200806182141.16442.ben@differentialschokolade.org \
--to=ben@differentialschokolade.org \
--cc=netfilter@vger.kernel.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