ipfw traffic shaping

IPFW, PF, IPF (but not limited) related discussion

ipfw traffic shaping

Postby alexus » 09 Oct 2009, 17:00

I have following rules:

Code: Select all
pipe 1 config bw 1Mbit/s
add 8380 pipe 1 tcp from any to any src-port www
add 8380 pipe 1 tcp from any to any dst-port www


yet my MRTG show's way more traffic then just 1Mbit/s

can someone help me?
alexus
Junior Member
 
Posts: 22
Joined: 16 Nov 2008, 17:20

Postby kenbukan » 13 Oct 2009, 12:57

Hello i have the same problems try

Code: Select all
pipe 1 config bw 10Kbit/s


i don't know where is the bug.
kenbukan
Junior Member
 
Posts: 6
Joined: 17 Sep 2009, 16:44

Postby alexus » 13 Oct 2009, 15:27

kenbukan wrote:Hello i have the same problems try

Code: Select all
pipe 1 config bw 10Kbit/s


i don't know where is the bug.


I don't understand, are you asking me to try it as it as a solution for my issue? or as you showing me what you doing and it's similar to mine?
alexus
Junior Member
 
Posts: 22
Joined: 16 Nov 2008, 17:20

Postby kenbukan » 14 Oct 2009, 10:26

Hello alexus,

i use two Gbit ethernet cards as bridge and to shape the traffic of this, if i use
Code: Select all
ipfw pipe 1 config bw 10Mbit/s

the traffic is more than 10Mbit/s.

If i use
Code: Select all
ipfw pipe 1 config bw 100Kbit/s

the traffic is shaping of 10Mbit/s

But the bridge is break after 2 minutes.
kenbukan
Junior Member
 
Posts: 6
Joined: 17 Sep 2009, 16:44

Postby alexus » 14 Oct 2009, 16:19

do ipfw pipe show
alexus
Junior Member
 
Posts: 22
Joined: 16 Nov 2008, 17:20

Postby Pushrod » 16 Oct 2009, 12:59

Use different pipes for in and out.
User avatar
Pushrod
Member
 
Posts: 277
Joined: 07 Dec 2008, 07:40

Postby alexus » 16 Oct 2009, 14:09

isn't when i don't specify it goes both ways?
alexus
Junior Member
 
Posts: 22
Joined: 16 Nov 2008, 17:20


Return to Firewalls

Who is online

Users browsing this forum: No registered users and 0 guests