From: Steven M Campbell <Netfilter@SCampbell.net>
To: Steven M Campbell <Netfilter@SCampbell.net>
Cc: netfilter@lists.netfilter.org,
James Strickland <jstic04@cp.centennialcollege.ca>
Subject: Re: Forcing an RST
Date: Mon, 20 Feb 2006 14:18:22 -0500 [thread overview]
Message-ID: <43FA15FE.1080605@SCampbell.net> (raw)
In-Reply-To: <43FA04F5.3010403@SCampbell.net>
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
prev parent reply other threads:[~2006-02-20 19:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-20 17:45 Forcing an RST James Strickland
2006-02-20 18:03 ` Sven Schuster
2006-02-20 18:05 ` Steven M Campbell
2006-02-20 19:18 ` Steven M Campbell [this message]
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=43FA15FE.1080605@SCampbell.net \
--to=netfilter@scampbell.net \
--cc=jstic04@cp.centennialcollege.ca \
--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