From: "Lars Täuber" <taeuber@bbaw.de>
To: netfilter@lists.netfilter.org
Subject: Re: Valid packets blocked as invalid?
Date: Thu, 19 Apr 2007 11:23:38 +0200 [thread overview]
Message-ID: <20070419112338.a3f379bb.taeuber@bbaw.de> (raw)
In-Reply-To: <20070419083348.364c873e.taeuber@bbaw.de>
Hi!
To enhance the problem:
The ICMP redirects are also blocked as invalid:
kernel: RULE -1 -- DENY IN= OUT=eth2 SRC=194.95.188.7 DST=194.95.188.37 LEN=76 TOS=0x00 PREC=0xC0 TTL=64 ID=18322 PROTO=ICMP TYPE=5 CODE=1 GATEWAY=194.95.188.25 [SRC=194.95.188.37 DST=194.95.188.245 LEN=48 TOS=0x00 PREC=0x00 TTL=63 ID=0 DF PROTO=TCP SPT=80 DPT=1246 WINDOW=5840 RES=0x00 ACK SYN URGP=0 ]
What is invalid with this?
Here again the rules that match (first rules of firewall script):
$IPTABLES -N drop_invalid
$IPTABLES -A OUTPUT -m state --state INVALID -j drop_invalid
$IPTABLES -A INPUT -m state --state INVALID -j drop_invalid
$IPTABLES -A FORWARD -m state --state INVALID -j drop_invalid
$IPTABLES -A drop_invalid -j LOG --log-level debug --log-prefix "RULE -1 -- DENY "
$IPTABLES -A drop_invalid -j DROP
I think it could have something to do with the ACK and SYN flags. It seems to me the kernel doesn't recognise this packet as part of an established connection.
Anyone with an explaination here or someone that shows me my nescience?
Thanks
Lars
next prev parent reply other threads:[~2007-04-19 9:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-18 13:19 Valid packets blocked as invalid? Lars Täuber
2007-04-18 15:30 ` Jorge Davila
2007-04-19 6:33 ` Lars Täuber
2007-04-19 9:23 ` Lars Täuber [this message]
2007-04-19 11:10 ` Problem resolved! Lars Täuber
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=20070419112338.a3f379bb.taeuber@bbaw.de \
--to=taeuber@bbaw.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.