From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven M Campbell Subject: Re: Forcing an RST Date: Mon, 20 Feb 2006 14:18:22 -0500 Message-ID: <43FA15FE.1080605@SCampbell.net> References: <00dd01c63645$6bb69910$020a0aac@SOUTHWEST> <43FA04F5.3010403@SCampbell.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <43FA04F5.3010403@SCampbell.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Steven M Campbell Cc: netfilter@lists.netfilter.org, James Strickland Steven M Campbell wrote: > James Strickland wrote: >> Hi. Is there a way so that when a packet reaches the filter table input >> chain with the Syn flag set, that i send out a response with RST? >> >> ie: connections to my wan interface with Syn set (trying to >> establish) on >> port 80 get a RST response to the sender? >> >> >> > Use -p tcp --syn -j REJECT --with tcp-reset > > > heh, both of us got it wrong, sven missed the syn bit, I missed the port 80 -p tcp --syn --dport 80 -j REJECT --with tcp-reset