[LARTC] limiting ports

2004-02-13 Thread mark ryan
Will the following commands limit my ftpserver upload speed on the passive ports? iptables -t mangle -A FORWARD -m tcp -p tcp -s 192.168.1.101 --sport 5:6 -j MARK --set-mark 0x02 tc qdisc add dev eth0 root handle 1: htb default 20 tc class add dev eth0 parent 1:1 classid 1:30 htb rate 34

[LARTC] limiting my ftp upload speed

2004-02-11 Thread mark ryan
Will the following commands limit my ftpserver upload speed on the passive ports? iptables -t mangle -A FORWARD -m tcp -p tcp -s 192.168.1.101 --sport 5:6 -j MARK --set-mark 0x02 tc qdisc add dev eth0 root handle 1: htb default 20 tc class add dev eth0 parent 1:1 classid 1:30 htb rate 34

[LARTC] wondershaper + htb limiting ftp sends

2004-02-08 Thread mark ryan
-6 since they are my passive ftp port range. Or, ideally, I would like to limit proftpd itself...howeve there doesn't seem to be a way to do that with linux. Windows can but I guess Linux cant. Is there a way to limit just ftp sends and leave everything else alone? Mark mark ryan

[LARTC] wondershaper htb + multiple ports

2004-02-07 Thread mark ryan
Is there a way to apply wondershaper w/ htb to a port range? I have a ftp server on port 65432 and passive ports 5-6. Is there a way to set a range? or do they have to be individually listed? The following doesnt seem to work: # low priority source ports NOPRIOPORTSRC=65432, 5:

[LARTC] wondershaper

2004-02-04 Thread Mark Ryan
I am using wondershaper with htb to shape my network. I want to limit only outbound ftp traffic (me uploading) from 192.168.1.101. I am using port 21 for ftp with passive ports 50,000-60,000. What else do I need to put in the config to do this? Here is my config. DOWNLINK=3000 UPLINK=340 DEV=e

[LARTC] wondershaper htb

2004-02-03 Thread Mark Ryan
I got wshaper.htb working.however I have 1 question. How can i limit just ftp server traffic? I have ftp server on port 21 with passive ports of 5-6. I currently have wondershaper with htb working on my routerbut im afraid that it is also affecting all of my send trafficnot j

[LARTC] wondershaper

2004-02-03 Thread Mark Ryan
Hi, I have wondershaper running on my firewall/router. It has 2 ethernet cards (eth0 and eth1). Eth1 connects to a cablemodem (2mbit down, 384kbit up) and eth0 connects to a switch. I run a ftp server on a machine connected to the swicth. I want to be able to keep my ftp server from affecting m

[LARTC] wondershaper

2004-02-02 Thread Mark Ryan
Hi, I just installed wondershapper 1.1a on my ipcop firewall box. I have roadrunner cable with a ftp server setup. My download speed is 2mbit (I get 225 KBytes) and my upload is 384kbit (I send at 43 KBytes). What should the settings in wshaper? I can ping yahoo.com at 90msec with little traff

[LARTC] distributions

2004-01-30 Thread Mark Ryan
Is there a recent distro of linux that includes the kernel options needed to run wondershaper? I am trying to use Xandros 2.0 Desktop but the qos stuff is not compiled in...and I have been unsuccesful in re-compiling the kernel. I really want to use wondershaper and linux. Im afraid that I still

Re: [LARTC] wonder shaper problems

2004-01-30 Thread Mark Ryan
That is what i was afraid of. I have no idea how to re-compile the QoS modules into the Xandros kernel. Mark - Original Message - From: "Damion de Soto" <[EMAIL PROTECTED]> To: "Mark Ryan" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday

[LARTC] wonder shaper problems

2004-01-29 Thread Mark Ryan
I just installed Xandros 2.0 Desktop. I used apt-get to install iproute. I then downloaded wondershaper 1.1a from the website. I edited the script as the readme says. I went to console and started the wondershaper script...and i get the following error messages. RTNETLINK answers: Invalid Argu