LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-17-2005, 11:34 AM   #1
cusco
LQ Newbie
 
Registered: Mar 2005
Location: Portugal
Distribution: Debian
Posts: 15

Rep: Reputation: 0
wondershaper / traffic shaper


Hi! Im using wondershaper, installed it trhu apt...

I would like wondershaper to shape outgoing traffic ONLY THUR CERTAIN PORTS (3390 3391 and 3392)

I know I must configure /sbin/wondershaper but I dont know how to set those values!
Code:
# low priority OUTGOING traffic - you can leave this blank if you want
# low priority source netmasks
NOPRIOHOSTSRC=

# low priority destination netmasks
NOPRIOHOSTDST=

# low priority source ports
NOPRIOPORTSRC=

# low priority destination ports
NOPRIOPORTDST=
I added this value:

Code:
NOPRIOPORTSRC= 3990
and then:

cusco@Portatil:/etc/init.d$ sudo wondershaper wlan0 999999 150
/sbin/wondershaper: line 48: 3990: command not found



how do I define the ports?



thanks
 
Old 05-17-2005, 11:48 AM   #2
cusco
LQ Newbie
 
Registered: Mar 2005
Location: Portugal
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: 0
ok I have set it:
NOPRIOPORTSRC="3990"

with quotes.. but still doesn't fill my purposes.. as I would like to shape only traffic on that port and instead if I say just 10 bytes allowed.. it shapes the all the traffic but gives prioritty to other ports...

I would like to shape only ports 3990 and 3991 because I cannot steal bandwidth from my internal network....

can anybody help me?
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Some hard question about classful traffic using HTB shaper byteclock Linux - Networking 1 10-05-2005 06:41 AM
errors in wondershaper hadoque Linux - Software 0 08-18-2004 10:58 AM
traffic shaper per application biscristi Linux - Software 0 05-17-2004 02:53 AM
Wondershaper not working ... alitrix Linux - Software 1 12-05-2003 04:06 PM
traffic shaper justme Linux - Networking 1 02-22-2002 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration