BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old October 21st, 2004, 01:09 AM
blueice blueice is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 blueice User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
help with ipfw dummynet config

Hi,
i have a web server and i want to make this configuration:
1. every IP connected to port 80 use max 300kbit BW
2. total outcoming BW on port 80 is 10Mbit.

I have make this configuration:
Code:
$fwcmd pipe 1 config bw 5Mbit/s queue 1000Kbytes
$fwcmd add pipe 1 tcp from 69.66.55.44 80 to any

Code:
$fwcmd pipe 2 config bw 300Kbit/s queue 1000Kbytes mask dst-ip 0xffffffff
$fwcmd add pipe 2 tcp from 69.66.55.44 80 to any

Every one of this configs can put the right limit (if i put one limit per time).
But if i put both this codes in the firewall script only the first is working.
Can everyone help me how i can put the 2 limits together?
Thanks a lot.
Regards,
Christos

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > help with ipfw dummynet config


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway