Re: [LARTC] HTB classifying

2004-07-24 Thread Martin A. Brown
Hello Mpourtounis, : When i start downloading from node, its http taffic for examle is : really shaped at 50. When i start downloading via sftp (port 22), : its sftp traffic is really shaped at 30. But, if when there is an : http as well as an sftp session at the same time, total bandw

Re: [LARTC] HTB classifying

2004-07-24 Thread Mpourtounis Dimitris
Ok then... BOX with 2 ifaces eth0 : 192.168.1.3/24 , NAT 192.168.2.0/24 wlan0:192.168.2.3/24 , gw 192.168.1.1(it is an adsl mode in fact) All i want to do is make sure that a)node 192.168.2.224 doesnt get more than 50 bits/sec b)its ssh,sftp (port 22) traffic is limited at 30

Re: [LARTC] HTB classifying

2004-07-24 Thread mjoachimiak
OK what's the address of eth0? Is the BOX with NAT ? I think you could send a bit of your true script and describe a bit of your network especially the part when this situation is happeniing . If you really afraid of smth like hack attack change IP adressess. > Although i have done so ,you are ri

Re: [LARTC] Failover connection question

2004-07-24 Thread mjoachimiak
As I understood you have two connections and one is not used until the second comes down? If yes try to add script to cron which chekcs if connection is up (ping your's provider router) and if it's down simply it shoud up the second interface and add new default route : ifconfig .. route del de

Re: [LARTC] HTB classifying

2004-07-24 Thread mjoachimiak
Maybe it's my oversight but shoudn't you have "tc qdisc add dev eth0 root handle 1:0 htb" before rest of your instructions ?? > I am trying to shape a client (somewhat advanced). > > This is my target: > Client is 192.168.2.224. I would like to allow him to download with > 50 bits/sec in gen

[LARTC] problems with hfsc

2004-07-24 Thread Tomasz Paszkowski
Hello, I've discoverd hfsc few days ago, and for me it's great ! I'am running it on linux 2.4.26 with vlan interfaces using iANS. During tests I've discovered few problems. My set of rules is quite big: [EMAIL PROTECTED]:/home/system/scr/etc/hfsc_rebuild# cat tc.batch | grep hfsc | wc -l 27900

[LARTC] HTB classifying

2004-07-24 Thread Mpourtounis Dimitris
I am trying to shape a client (somewhat advanced). This is my target: Client is 192.168.2.224. I would like to allow him to download with 50 bits/sec in general. But, for a specific port(say 22), i would like him to download with 30 bit/sec only. The problem is that my configuration (mayb

[LARTC] tc del filter troubles

2004-07-24 Thread zarhi
hello, I have working htb system with about 1000 users. Until now I reload all rules at change, but it take too much time to apply. I cannot delete applyed filters. There is rules for one user: #!/bin/bash -v # Download shaper EX -> 2:20 /sbin/tc class add dev eth2 parent 2:20 classid 2:1775 htb

[LARTC] Failover connection question

2004-07-24 Thread wishbone
I'm still trying to figure out this problem, I appreciate any suggestions... What I'd like to do is have a second default gateway path that never gets taken unless the first one goes into the "dead" state. I have installed Julian's patch and it works great for loadballanced connections using th

Re: [LARTC] routing mail on a different gateway

2004-07-24 Thread Julien
Lance Dryden wrote: Good evening, Since you are worried only about outbound port 25 traffic being sent from localhost, a question arises: is all of the mail traffic coming from one specific program? If so, you will probably have an easier time convincing the program to simply bind the outbound