similar to: htb&ssh

Displaying 20 results from an estimated 50000 matches similar to: "htb&ssh"

2004 Jan 20
1
htb+beginner+error
Good day all So at log last I did my script We have a 256kbite connection.This scrip runs on my gateway box(the same for script for eth1(ext) and eth0(int) I want to limit all other traffic to 10kbites but when I do it I give me this error: HTB quantum of class 10034 is to small.consider r2q <7>htb*g j=42801780 Here is my script.If you have any Idea to better it let me know.Its a bit from
2002 Nov 17
2
Ingress shaping for ISP clients
Hi all, I''m looking for the best way to set up a Linux router with "tc" to limit the incoming bandwidth my ISP''s clients use. Please assist me with the following: Diagram: INTERNET | | | |eth0 ----------- Linux router/shaper |eth1 | | | --------------- Clients1(64k)/2(128k)/3(64k)/... Clients normally purchase bandwidth in bundles of
2004 Aug 31
1
limiting the bandwidth for *each* ip in some class
hello all, i got my htb running and controlling my bandwidth right, but i have a doubt. i configured HTB to limit my class 192.168.0.0/24 to 128kbit. but i want 128kbit for *each* machine on this class, and not for the entire class. when 2 machines in 192.168.0.0/24 are downloading one file, they share the 128kbit bandwidth between them, using 64kbit for each. why i can get all machine on this
2008 Jul 01
0
Bug#488839: problem with python and xen-utils-common after remove of python
Package: xen-utils-common Version: 3.2.0-1~bpo4+1 Severity: normal -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-xen-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages xen-utils-common depends on: ii lsb-base
2003 Feb 19
0
limiting users on a 128kbit line
Hello! I''ve been trying to write a traffic shaper for a 128kbit line with this setup : 5 computers that get dedicated bandwidth and the rest go in a pool with bigger priorities. I made the attached script, but it seems it doesn''t work... It sends the traffic coming from the dedicated ips to the default class. Where is the error ? Will this setup work if the bandwidth is
2006 Apr 28
0
a dynamic nat problem
A --------------------------------- B ---------------------------> signaling ---> introducing rules in the nat tables ---------------------------> data for the newly introduced rules In my problem I have two machines: A and B. A is sending a signal for introducing a rule in the NAT tables (libiptc stuff) and imediately afterwards stars sending the data to the newly created nat
2005 Oct 19
0
help for script add ip addresses dynamically
Hi, I am trying to write a script that will create a class and will add specific Ip address to that class. let me write commands: tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1 classid 1:1 htb rate 10mbit ceil 10mbit tc qdisc add dev eth0 parent 1:1 sfq tc class add dev eth0 parent 1:1 classid 1:21 htb rate 128kbit ceil 128kbit tc
2006 Feb 05
1
htb prio ...
Hey, I have such a script: tc qdisc add dev $DEV root handle 1:0 htb default 21 r2q 2 tc class add dev $DEV parent 1:0 classid 1:11 htb rate 100mbit tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil 512kbit tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil 1024kbit tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit
2004 Apr 01
3
Control Bandwidth
Hi all, I need a little help, i am studing htb to control user bandwidth (download/upload) and I made a script as below to test. I am testing using ttcp tool from by linux box to other linux (192.168.200.51). my box <---- Linux = more than 128kbit mybot -----> Linux = get 128kbit But I want to control both ways, what am I missing? script: EXTIF=eth0 INTIF=eth1 TC=/sbin/tc DOWN=128
2004 Jan 31
1
Per Ip bandwidth
Hi there, I have two questions: 1) In the following setup: tc qdisc add dev eth1 root handle 1: htb tc class add dev eth1 parent 1: classid 1:1 htb rate 100Mbit tc class add dev eth1 parent 1:1 classid 1:10 htb rate 128Kbit tc class add dev eth1 parent 1:10 classid 1:11 htb rate 32Kbit ceil 128Kbit tc class add dev eth1 parent 1:10 classid 1:12 htb rate 32Kbit ceil 128Kbit I have observed
2004 Nov 01
1
Big problem :(((((
Hello! I have an internet connection of 64kbps garanteed in a channel of 256kbps. On this connection the metropolitan speed is 10Mbps and in the provider''s network the speed is 100Mbps. I have a few clients behind my linux box and i want to set up some limitations because some of them are using it irrational. I am marking the packets with 0 for internet; 1 for metropolitan 2 for
2004 Feb 09
1
htb,iptables
Hi all I''m sure you have heard this before but sorry.I wrote a script once and never looked at it again.An as my luck will have it I need it now and it is gone.I''m trying my best to rewrite it:-( My 1st question is: If my server is a gateway and I''m marking packets for iptables should I use OUTPUT,INPUT,PREROUTING,POSTROUTING or FORWARD rules in iptables And If I
2004 Nov 22
8
Strange error!?
I was using this setup and it worked fine untill i executed up2date in Redhat and updated a lot of the packages in linux. When i run the following script i get an error, which i pasted bellow. Script i run: iptables -t mangle -A FORWARD -s 171.100.20.110 -j MARK --set-mark 28 iptables -t mangle -A POSTROUTING -s ! 171.100.20.96/27 -d 171.100.20.110 -j MARK --set-mark 29
2004 Jan 07
4
Again,Bandwidth&htb
Good Day All Just 2 questions on htb 1,My Wan link is on eth1 and my Lan on eth0,where do I put my htb on?I want to limit web serving and ftp ens. 2.Im going to use the u32 filter.Can I use sub-netting for IP,i.o.w where src is can I do 192.168.1.0/24? Thanks and Please Help Eddie _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl
2002 Dec 09
3
HTB problems
Hello, I have HTB on IMQ device. My rate does not work as I configured. I configured 1920kbit/s and I can download only about 290kbit/s (while it should be the whole bandwidth). My script: /sbin/modprobe imq numdevs=1 /usr/local/sbin/tc qdisc del dev imq0 root 2> /dev/null > /dev/null /usr/local/sbin/tc qdisc del dev imq0 ingress 2> /dev/null > /dev/null /sbin/ifconfig imq0 down
2007 Oct 16
0
Determining burst/cburst HTB values
Hello. I am wondering if the default (auto-computed) burst and cburst parameters are appropriate values for my application. I have a 100 mbit interface which is connected to a 16 mbit uplink. I am sharing this bandwidth into a set of partitions (tc classes) defined as follows: root class [1:1] |
2005 Jan 20
1
Interface not marked down when links are down
Hi, I am not sure if this problem has already being posted, but I haven''t found any solution. Excuse me if it''s a repost but would appreciate any pointers. I have newly configured Multipath default route. I have 1 local connection and 4 internet connections. I am using kernel 2.6.7 and have applied Julian''s relevent patches. When the next hop is down,
2005 Oct 14
2
share bandwith fairly
Dear members, I am trying to share the bandwith for all users fairly. because some users heavily uses p2p programs and a few hosts consume most of bandwith. when we limit each flow it does not work as one client has many connection at same time. Firstly I tried to write a script that use the ipfm(which accounts traffic usage) logs as follow .extract ip addresses heavy bandwith users from
2006 Dec 07
2
Somewhat basic routing question
Hi guys, I realise this is problaby more basic than what this list is intended for, but I had no luck elswhere. Short version: I have previously used these lines on a server with two network interfaces, two public IPs, and one common default gateway, to make sure that connections coming into eth1 is replied to replied to via the same interface. eth0 is 196.xx.xx.35, eth1 is 196.xx.xx.54,
2004 Dec 22
0
HFSC again.
Hello list, I am now using hfsc for QOS. I have something like this: tc qdisc add dev ethx root handle 1: hfsc default 9 tc class add dev ethx parent 1: classid 1:1 hfsc ls m2 70mbit ul m2 70mbit tc class add dev ethx parent 1:1 classid 1:9 hfsc ls m2 7mbit #DNS stuff follows tc class add dev ethx parent 1:1 classid 1:2 hfsc rt m1 12mbit d 1ms m2 1mbit #Half-life tc class add dev ethx parent