Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 00:27:03 -0400
From:      "Ryan Masse" <mail@max-info.net>
To:        "Andrew Reid" <andrew.reid@plug.cx>
Cc:        "FreeBSD-Questions" <freebsd-questions@freebsd.org>
Subject:   Re: IPFW Traffic Shaping
Message-ID:  <000601c0ff8a$95d66780$3200a8c0@Home>
References:  <993700358.5070.2.camel@percible.alfred.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
you will need to add the below to your kenel config file then recompile.

options IPFIREWALL
options DUMMYNET

an example of a kernel with the firewall support;

lan1# cd /sys/i386/conf
lan1# tail HOME
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10
options IPFIREWALL_FORWARD
options DUMMYNET
options TCP_DROP_SYNFIN
options TCP_RESTRICT_RST
# vga 800x600 support
options VESA
options SC_PIXEL_MODE
lan1#

Ryan

> Hmmm!
>
> I'm just playing around with IPFW's traffic shaping facilities on a test
> box.
>
> I'm curious as to what the following error means when I try some
> bandwidth limiting stuffs:
>
> su-2.05# ipfw pipe 1 config bw 300Kbit/s queue 50Kbytes
> ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Protocol not available
>
> I've got 'firewall_enable="YES"' in /etc/rc.conf.
>
> It's running FreeBSD 4.3-GENERIC (just installed from the CD).
>
> Does this mean that I've either not got a Kernel module loaded or do not
> have support for it in the GENERIC kernel?
>
> TIA!
>
>    - andrew
>
> --
> void signature () {
> cout << "Andrew Reid -- andrew.reid@plug.cx" << endl ;
> cout << "Cell: +61 401 946 813" << endl;
> cout << "Quidquid latine dictum sit, altum viditur" << endl;
> }
>
>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000601c0ff8a$95d66780$3200a8c0>