Getting ipfw2 on FreeBSD-4.11-STABLE...

2005-08-18 Thread Forrest Aldrich
I have FreeBSD-4.11-STABLE on one of my systems.  I did a 
buildworld/installworld today - but I still have ipfw and not ipfw2 - 
even though the manpage says otherwise.  

It's been a while since I updated this system - I looked through the 
docs and no mention of this in UPDATING etc.


I see in the /usr/src/sbin/ipfw directory a define of -DIPFW2.

So before I hack further, I wonder if I messed something up or if 
there's a switch I must implement to get ipfw2 running on here.



Thanks.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting ipfw2 on FreeBSD-4.11-STABLE...

2005-08-18 Thread nawcom

you can always update the Makefile / source.

theres 101 ways to grap the updated copy of the source, so heres one of em.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/ipfw/

good luck :)
Ben

Forrest Aldrich wrote:

I have FreeBSD-4.11-STABLE on one of my systems.  I did a 
buildworld/installworld today - but I still have ipfw and not ipfw2 - 
even though the manpage says otherwise. 
It's been a while since I updated this system - I looked through the 
docs and no mention of this in UPDATING etc.


I see in the /usr/src/sbin/ipfw directory a define of -DIPFW2.

So before I hack further, I wonder if I messed something up or if 
there's a switch I must implement to get ipfw2 running on here.



Thanks.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting ipfw2 on FreeBSD-4.11-STABLE...

2005-08-18 Thread Mike Tancsa
On Thu, 18 Aug 2005 19:12:19 -0400, in sentex.lists.freebsd.questions
you wrote:

I have FreeBSD-4.11-STABLE on one of my systems.  I did a 
buildworld/installworld today - but I still have ipfw and not ipfw2 - 
even though the manpage says otherwise.  

Add 
IPFW2=TRUE 
in /etc/make.conf
and 
options IPFW2   #firewall
in the kernel

I *think* 
/usr/src/sbin/ipfw
make clean;make depend;make;make install
should work, and then a 
make buildkernel
should do the trick

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting ipfw2 on FreeBSD-4.11-STABLE...

2005-08-18 Thread Forrest Aldrich

Thanks this worked well.

One further question, the manpage doesn't really elaborate much on the 
use of tables.  Particularly, how to utilize them in deny rules.   
Anyone have better examples, or did I miss something.



Thanks.


Mike Tancsa wrote:


On Thu, 18 Aug 2005 19:12:19 -0400, in sentex.lists.freebsd.questions
you wrote:

 

I have FreeBSD-4.11-STABLE on one of my systems.  I did a 
buildworld/installworld today - but I still have ipfw and not ipfw2 - 
even though the manpage says otherwise.  
   



Add 
IPFW2=TRUE 
in /etc/make.conf
and 
options IPFW2   #firewall

in the kernel

I *think* 
/usr/src/sbin/ipfw

make clean;make depend;make;make install
should work, and then a 
make buildkernel

should do the trick

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]