From: "Ed Street" <blacknet@simplyaquatics.com>
To: 'Antony Stone' <Antony@Soft-Solutions.co.uk>, netfilter@lists.samba.org
Subject: RE: How to ACCEPT or DENY or DROP and also LOG in the same rule ?
Date: Thu, 4 Jul 2002 10:54:35 -0400 [thread overview]
Message-ID: <005701c2236a$b69ddde0$0a01a8c0@ed> (raw)
In-Reply-To: <20020704075047.EBOJ16050.mta01-svc.ntlworld.com@there>
Hello,
Actually you can:
Rule #1 is to log
Rule #2 is to deny
Works In any chain.
Ed
-----Original Message-----
From: netfilter-admin@lists.samba.org
[mailto:netfilter-admin@lists.samba.org] On Behalf Of Antony Stone
Sent: Thursday, July 04, 2002 3:51 AM
To: netfilter@lists.samba.org
Subject: Re: How to ACCEPT or DENY or DROP and also LOG in the same rule
?
On Thursday 04 July 2002 5:31 am, Orca J. wrote:
> Hi
> I want to both DENY and LOG in the same rule ? or ACCEPT and LOG ,
or
> DENY and LOG
You can't put them both in the same rule, butyou can create a
user-defined
chain and jump to that:
iptables -N LOGDROP
iptables -A LOGDROP -j LOG --log-options........
iptables -A LOGDROP -j DROP
Then use that single target in your rules:
iptables -A INPUT -i eth0 -j LOGDROP
Antony/.
next prev parent reply other threads:[~2002-07-04 14:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-04 4:31 How to ACCEPT or DENY or DROP and also LOG in the same rule ? Orca J.
2002-07-04 5:53 ` Michael
2002-07-04 7:50 ` Antony Stone
2002-07-04 14:54 ` Ed Street [this message]
2002-07-04 15:00 ` Antony Stone
2002-07-04 15:04 ` Ed Street
2002-07-04 15:18 ` Leonardo Rodrigues
-- strict thread matches above, loose matches on Subject: below --
2002-07-04 4:56 George Vieira
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='005701c2236a$b69ddde0$0a01a8c0@ed' \
--to=blacknet@simplyaquatics.com \
--cc=Antony@Soft-Solutions.co.uk \
--cc=netfilter@lists.samba.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