From: Aleksander <aleksander@krediidiinfo.ee>
To: netfilter@lists.netfilter.org
Subject: state new with SYN not set
Date: Mon, 13 Feb 2006 11:26:02 +0200 [thread overview]
Message-ID: <43F050AA.3050602@krediidiinfo.ee> (raw)
Hello list,
My firewall drops packets, which state is NEW, but no SYN bit is set.
Now I started logging these dropped packets and there are loads of them.
All connecting to the 443 port from random IP's (legitimate clients).
The service is https. The service works fine, but I'm still worried
about the dropping.
The rules:
${IPTABLES} -t filter -A bad_tcp_packets -p tcp --tcp-flags ! SYN SYN -m
state --state NEW -j LOG --log-prefix "BAD PACKET N
EW+!syn: "
${IPTABLES} -t filter -A bad_tcp_packets -p tcp --tcp-flags ! SYN SYN -m
state --state NEW -j DROP
An example, from the FORWARD chain:
Feb 13 11:18:38 myname kernel: BAD PACKET NEW+!syn: IN=eth1 OUT=eth0
SRC=1.2.3.4 DST=192.168.111.34 LEN=75 TOS=0x00 PREC=0x00 TTL=56 ID=47503
DF PROTO=TCP SPT=36086 DPT=443 WINDOW=32942 RES=0x00 ACK PSH FIN URGP=0
What should I think of this?
Thanks,
Alex
next reply other threads:[~2006-02-13 9:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-13 9:26 Aleksander [this message]
2006-02-13 12:54 ` state new with SYN not set Stephen J. Smoogen
2006-02-13 14:17 ` Aleksander
2006-02-13 14:29 ` David Vogt
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=43F050AA.3050602@krediidiinfo.ee \
--to=aleksander@krediidiinfo.ee \
--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