Traffic not going through dummynet
hiren panchasara
hiren at strugglingcoder.info
Sat Jul 18 20:28:18 UTC 2015
On 07/18/15 at 12:40P, hiren panchasara wrote:
> This is driving me nuts. I've had an ipfw/dummynet working config on
> separate setup and the same thing doesn't work on this new setup I have
> so I tried to narrow it down and removed all complexity and trying to
> see if this works on just single host. But it doesn't work as I expect
> it to. I am pretty sure I am missing something here.
>
> 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r283696M: Fri Jul 17 15:43:05 MST
> 2015
>
> loader.conf has:
> net.inet.ip.fw.default_to_accept="1"
> dummynet_load="YES"
>
> I did:
> # ipfw add pipe 1 ip from any to any
> # ipfw pipe 1 config delay 100ms
>
> # ipfw show
> 00100 0 0 pipe 1 ip from any to any
> 65535 4321 509541 allow ip from any to any
>
> # ipfw pipe show
> 00001: unlimited 100 ms burst 0
> q131073 50 sl. 0 flows (1 buckets) sched 65537 weight 0 lmax 0 pri 0
> droptail
> sched 65537 type FIFO flags 0x0 0 buckets 0 active
>
> Now if I ping anything, I don't see 100ms delay.
>
> # sysctl -a | grep ipfw
> kern.features.ipfw_ctl3: 1
> net.link.ether.ipfw: 0
>
> net.inet.ip.dummynet.io_pkt_fast: 0
> net.inet.ip.dummynet.io_fast: 0
> net.link.ether.ipfw: 0
And GENERIC has:
options IPFIREWALL
options DUMMYNET
options HZ=1000
Cheers,
Hiren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20150718/06decc8d/attachment.bin>
More information about the freebsd-ipfw
mailing list