From owner-freebsd-questions Thu Mar 19 23:33:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA13245 for freebsd-questions-outgoing; Thu, 19 Mar 1998 23:33:19 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from bang.esc.net.au (root@bang.esc.net.au [203.25.185.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA13239 for ; Thu, 19 Mar 1998 23:33:14 -0800 (PST) (envelope-from stavros@esc.net.au) Received: from bang.esc.net.au (stavros@bang.esc.net.au [203.25.185.2]) by bang.esc.net.au (8.8.7/8.8.7) with SMTP id SAA24724; Fri, 20 Mar 1998 18:02:55 +1030 (CST) Date: Fri, 20 Mar 1998 18:02:55 +1030 (CST) From: Stavros Patiniotis To: Louis-Philippe Alain cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipf In-Reply-To: <199803200729.CAA10742@mail.boisfrancs.qc.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 20 Mar 1998, Louis-Philippe Alain wrote: > Hi, > When you boot the FreeBSD machine, Do you see that IPFW is enable? And > just after a little message that tell you something like "divert disable"?? > I have this "problem" (it's not really a problem since I don't use such > rules yet). from dmesg: IP packet filtering initialized, divert enabled, logging limited to 100 packets/entry > Louis-Philippe Regards, Stavros Patiniotis ------------------------------------------------------------------------------ -System Administrator / Network Manager Escape.Net - - 465b South Rd - -email: stavros@esc.net.au Keswick SA 5035 - -URL: http://www.esc.net.au Ph 82932526 Fax 82932949- ------------------------------------------------------------------------------ > > At 01:58 AM 3/20/98 , you wrote: > >Howdy, > > Why do I get this error, when applying an ipfw rule: > > > >ipfw divert 119 all from 203.25.185.7/32 to any in > >ipfw: ERROR - Bad arguments > >etc etc {CUT} > > > >However when you look at the example in the man page: > > > >ipfw divert 5000 all from 192.168.2.0/24 to any in > > > >It is identical! Even this example doesn't work! > > > >I can add any other rule and it works ok, ie: > > > >ipfw add 10 allow ip from any to any > > > >root@news:{39} ~ % ipfw list > >00010 allow ip from any to any > >00010 allow ip from any to any > >65535 deny ip from any to any > > > > > >Why is the port redirects working? > > > > > >Regards, > > > > > >Stavros Patiniotis > >--------------------------------------------------------------------------- > --- > >-System Administrator / Network Manager Escape.Net - > >- 465b South Rd - > >-email: stavros@esc.net.au Keswick SA 5035 - > >-URL: http://www.esc.net.au Ph 82932526 Fax 82932949- > >--------------------------------------------------------------------------- > --- > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message