Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2001 14:10:36 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        rick norman <rick.norman@lmco.com>
Cc:        Paul Herman <pherman@frenchfries.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw
Message-ID:  <20010920141036.H309@blossom.cjclark.org>
In-Reply-To: <3BAA573C.3B180146@lmco.com>; from rick.norman@lmco.com on Thu, Sep 20, 2001 at 01:53:16PM -0700
References:  <20010920130530.W9645-100000@tick.sc.omation.com> <3BAA573C.3B180146@lmco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 20, 2001 at 01:53:16PM -0700, rick norman wrote:
> No, it seems to have no effect.
> 
> Paul Herman wrote:
> 
> > On Tue, 18 Sep 2001, rick norman wrote:
> >
> > > I am attempting to use ipfw and dummynet to instrument some network
> > > traffic tests.  I am running freebsd 4.3 release and have built the
> > > kernel
> > > with ipfirewall, dummynet, and default to enabled.  For a simple test, I
> > >
> > > added a pipe "ipfw add pipe 1 icmp from any to any".  When I ping this
> > > machine, I can do "ipfw pipe 1 show" and watch the counters increment,
> > > but the machine doing the pinging does not see a response to the ping.
> >
> > Does "sysctl net.inet.ip.fw.one_pass=0" help?

Actually, I think Paul may have meant,

  # sysctl -w net.inet.ip.fw.one_pass=1

Or else you need a rule after the 'pipe' rule to actually pass the
ICMP. When you do a,

  # ipfw show

While pinging, are other rules incrementing? Where do these ICMP
packets end up going in the firewall rules?
-- 
Crist J. Clark                           cjclark@alum.mit.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010920141036.H309>