From: Alexey Toptygin Date: Tue, 21 Nov 2006 18:46:00 +0000 Subject: Re: [LARTC] Re: iptables rule not matching after stream begins Message-Id: List-Id: References: <4f6ba3b0611201646k750995d3oe0cd605890b7f2a7@mail.gmail.com> In-Reply-To: <4f6ba3b0611201646k750995d3oe0cd605890b7f2a7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Tue, 21 Nov 2006, Bob Beers wrote: > > > I guess you mean this: > > and/or this: > Yep. > But, I wonder, is there a shortcut to the behavior I want > through iptables --ctstatus and friends? Not really. Even if you match the packet with --ctstate, I don't believe there is any iptables target that would delete the connection of the current packet (and presumably drop the packet?). Even if you could, you'd still have to wait for the next packet to come along and set up a new connection entry, so there's no advantage over deleting the connection with a userspace tool, and it would be a terrible hack. Alexey _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc