Skip to contentSkip to conversation

ipt_unclean query

DISCUSSION Sumit 2 participants 2 messages Apr 8, 2006 netfilter

lore
Share & tools
lore

Sumit

author
#0 lore raw

Hi Devs,
After making an unclean DROP ruleset I got "not-working" complains form
some of my clients who using specific stock-trading application.
Simply looking to dmesg I found there are few message states that
ipt_unclean: TCP flags bad: 0x0015
This message mean unclean match is dropping tcp packet with ACK,RST,
and FIN flags. This I confirm with ipt_unclean.c code

	As per RFC793 (TCP)

... ... ...
In all states except SYN-SENT, all reset (RST) segments are validated by checking their SEQ-fields. A reset is valid if its sequence number is in the window.
... ... ...
Then is there any significance of dropping ACK+RST+FIN combination?

Happy Netfiltering,
--
_____ __ __ ____ ____ __ ______
/\ ___\ /\ \ /\ \ /\ \ \/ /\ \ /\ \ /\__ _\
\ \ ____\ \ \ \\_| \\ \ \_ /\ \ \\ \ \\__ \ \/
\//\___ \ \ \______ / \ \__\ \ \__\\ \__\ \ \__\
\/_____/ \/_____ / \/__/ \/__/ \/__/ \/__/

#1 lore raw
Quoted 3 lines · Sumit

Hi Devs,
After making an unclean DROP ruleset I got "not-working" complains form some of my clients who using specific stock-trading application.

Unclean is unsafe, and is scheduled to be removed from pom within the next 30 days. Don't use it.

Phil