Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Edmundo Carmona <eantoranz@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Firewall script
Date: Tue, 27 Sep 2005 09:55:20 -0400	[thread overview]
Message-ID: <65aa6af905092706551e67d8e8@mail.gmail.com> (raw)
In-Reply-To: <65aa6af90509270654746608f7@mail.gmail.com>

On 9/27/05, Rob Sterenborg <rob@sterenborg.info> wrote:
...
>
> $IPTABLES -A FORWARD -i $LAN_IFACE -m state --state NEW \
>   -p tcp --dport 25 -j LOG --log-prefix "SMTP_REJECT: "
> $IPTABLES -A FORWARD -i $LAN_IFACE -m state --state NEW \
>   -p tcp --dport 25 -j REJECT --reject-with tcp-reset
>
.
.
.
I have had this question in my mind for some time by now, but never
had the need to answer it.. however, this post brings it on.

As you can see, first, you have a LOG, and then in the same chain for
the same traffic, you REJECT. What other targets allow traversal to go
on in the same chain?


  parent reply	other threads:[~2005-09-27 13:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27 11:09 Firewall script Boskey
2005-09-27 11:57 ` Rob Sterenborg
     [not found]   ` <65aa6af90509270654746608f7@mail.gmail.com>
2005-09-27 13:55     ` Edmundo Carmona [this message]
2005-09-27 14:22       ` Rob Sterenborg
2005-09-27 14:22       ` Rob Sterenborg
2005-09-27 14:33       ` Rob Sterenborg
  -- strict thread matches above, loose matches on Subject: below --
2005-08-03  5:51 firewall script Craig Steadman
2003-06-05  1:19 Firewall script Vilmos Branyik

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=65aa6af905092706551e67d8e8@mail.gmail.com \
    --to=eantoranz@gmail.com \
    --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