All of lore.kernel.org
 help / color / mirror / Atom feed
From: surf3r <surf3r@pop.com.br>
To: netfilter@lists.netfilter.org
Cc: netfilter@tommi.org
Subject: Re: ICMP and state/conntrack
Date: 28 Feb 2003 08:48:42 -0300	[thread overview]
Message-ID: <1046432923.5076.7.camel@rodrigo.prc> (raw)
In-Reply-To: <20030228103743.GA31779@ok.is>

Hellow :)


> iptables -A FORWARD -m state --state NEW,INVALID -j REJECT

You must be especify the protocol on this rule: 

iptables -A FORWARD -p icmp -m state --state NEW,INVALID -j REJECT

You has that to understand tables with independent rules 


Brazil rules : carnaval 2003 :)


-- 


surf3r  -o)
        /\\
       _\_V
--   --------



On Fri, 2003-02-28 at 07:37, netfilter@tommi.org wrote:
> Hello
> 
> I'm wondering if state doesn't apply to ICMP packets.
> 
> iptables -A FORWARD -p icmp -m state -d 1.2.3.4 --state NEW -j ACCEPT
> iptables -A FORWARD -m state --state NEW,INVALID -j REJECT
> 
> if I ping 1.2.3.4 the echo-reply is blocked from 1.2.3.4. Is this normal, I
> thought that the echo-reply should be marked RELATED and therefore not
> blocked?
> 
> 
> ====
> Tomas Edwardsson
> HP Technical Support      \  HP Certified System Administrator
> Red Hat Technical Support  \  Red Hat Certified Engineer.
> Opin Kerfi
> 
> 
> 




  parent reply	other threads:[~2003-02-28 11:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-28 10:37 ICMP and state/conntrack netfilter
2003-02-28 11:17 ` Cedric Blancher
2003-02-28 12:23   ` netfilter
2003-02-28 11:48 ` surf3r [this message]
2003-02-28 11:59 ` Jozsef Kadlecsik

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=1046432923.5076.7.camel@rodrigo.prc \
    --to=surf3r@pop.com.br \
    --cc=netfilter@lists.netfilter.org \
    --cc=netfilter@tommi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.