Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2001 22:16:23 +1030 (CST)
From:      Trevor Nichols <ocdi@ocdi.org>
To:        freebsd-questions@freebsd.org
Subject:   ipfw pipe
Message-ID:  <Pine.BSF.4.21.0101302208210.92915-100000@ocdi.sb101.org>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to set up the following pipe (as an example) and it is saying
Invalid argument, as shown:

bash# ipfw pipe 10 config bw 3k/sec
ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument

Straight out of the Manpage:
bash# ipfw pipe 1 config bw 64Kbit/s queue 10Kbytes
ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument

Adding a pipe to an associated user works though:
bash# ipfw add 45000 pipe 1 ip from any to any uid lok
45000 pipe 1 ip from any to any uid lok

I've configured the kernel with these options:

options         IPFIREWALL
options         DUMMYNET

running: FreeBSD 4.2-STABLE #0: Tue Jan 30 04:09:06 GMT 2001


As far as I can tell I'm not doing anything wrong, or am I? (:

Thanks in advance, 
Trevor Nichols.



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?Pine.BSF.4.21.0101302208210.92915-100000>