Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2009 13:22:28 -0400
From:      alexus <alexus@gmail.com>
To:        Brent Bloxam <brentb@beanfield.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipfw - TRAFFIC SHAPER
Message-ID:  <6ae50c2d0910091022y380cbc90xd8c7599b80ef520d@mail.gmail.com>
In-Reply-To: <4ACF6B7F.7050408@beanfield.com>
References:  <6ae50c2d0910090907n7082a50brab5cdfc1cc4ca183@mail.gmail.com> <4ACF6B7F.7050408@beanfield.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 9, 2009 at 12:57 PM, Brent Bloxam <brentb@beanfield.com> wrote:
> alexus wrote:
>>
>> I'm trying to fight with ipfw and unfortunately unsuccessfully...
>>
>> I created following rules
>>
>> ipfw pipe 1 config bw 1Mbit/s
>> ifpw add 8080 pipe 1 tcp from any to any src-port www
>> ifpw add 8080 pipe 1 tcp from any to any dst-port www
>>
>> yet I see peaks of my traffic is way higher them 1Mbit/s
>> i have following modules loaded through kldload
>>
>> =C2=A02 =C2=A0 =C2=A03 0xffffffff80cd3000 15db8 =C2=A0 =C2=A0ipfw.ko
>> =C2=A05 =C2=A0 =C2=A01 0xffffffff80cec000 bbc8 =C2=A0 =C2=A0 dummynet.ko
>>
>> i even load
>>
>> 10 =C2=A0 =C2=A01 0xffffffff80e7d000 14df =C2=A0 =C2=A0 ipdivert.ko
>>
>> and that still didn't help :(
>> can anyone help me?
>>
>
> Do you have an ipfw rule allowing www traffic before rule 8080?
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>

no, nothing related to www, in fact the only rules I have before that
one is followings:

00100 19704   3856110 allow ip from any to any via lo0
00200     0         0 deny ip from any to 127.0.0.0/8
00300     0         0 deny ip from 127.0.0.0/8 to any

that's it...

--=20
http://alexus.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6ae50c2d0910091022y380cbc90xd8c7599b80ef520d>