search for: 5kbps

Displaying 20 results from an estimated 22 matches for "5kbps".

Did you mean: kbps
2005 Nov 14
1
Using TBF to throttle a PC to 5kbps
Hi Everyone, This is a simple question but I don''t understand why the below tbf is not working as expected by throttling traffic to 5kbps If I throttle a PC''s traffic using the below when traffic exceeds 5kbps packets start getting dropped (as they should) but all traffic gets dropped. not just the bit over 5kbps. TC="tc add dev ppp0" $TC parent 8001:2 handle 2: tbf rate 5kbps latency 50ms burst 1540 I can see...
2009 Mar 14
1
dynamic bandwidth allocation
Hi list I was wondering if this is (or could be) possible with rsync. I was wondering if there was a way to change the bandwidth limit (--bwlimit=KBPS) dynamically while rsync is running? Could this be possible maybe with signals like USR1 add 5KBPS and USR2 subtracts 5KBPS? I'm not a programmer, just throwing ideas out there! Felipe
2002 May 10
4
How to reduce a bandwidth?
2007 Jul 09
1
Help with traffic control (HTB ESFQ RED)
...HTB CLASSES ## tc qdisc add dev $DEV root handle 1: htb default 30 tc class add dev $DEV parent 1: classid 1:1 htb rate $MAX_RATE burst 15k tc class add dev $DEV parent 1:1 classid $P2P htb rate 3kbps ceil $P2P_UP burst 0 prio 2 quantum 1600 tc class add dev $DEV parent 1:1 classid $SSH htb rate 5kbps ceil $MAX_RATE burst 0 prio 0 quantum 1600 tc class add dev $DEV parent 1:1 classid $HTTP htb rate 10kbps ceil $MAX_RATE burst 15k prio 0 quantum 1600 tc class add dev $DEV parent 1:1 classid $DEF htb rate 5kbps ceil $MAX_RATE burst 0 prio 1 quantum 1600 ### ESFQ LEAFS ### tc qdisc add dev $DEV...
2006 Feb 02
0
A question in tcng
...n be without parameters. ingress { // can be also rsvp(ipproto "tcp") or whatever in /etc/protocols according to requirements rsvp(ipproto "skip") { // example on using the on() function /* on ( src 192.168.2.1 ,sport 30, dst 192.168.2.1, dport 21) police(rate 5kBps,burst 5kB) drop ; */ class(1) on ( src 192.168.2.2 , dst 192.168.2.1) police(rate 5kBps,burst 50kB) drop ; //,mtu 1510B } // end rsvp } // end ingress
2002 Aug 31
3
HTB shares equally when borrowing enabled :(
...################### # add root HTB disc run_tc qdisc add dev eth1 root handle 1: htb default 11 r2q 1 # be optimistic about input rates :) run_tc class add dev eth1 parent 1: classid 1:1 htb rate 10mbit # setup classes for the local nodes run_tc class add dev eth1 parent 1:1 classid 1:10 htb rate 5kbps ceil 10mbit prio 2 run_tc class add dev eth1 parent 1:1 classid 1:11 htb rate 59kbps ceil 10mbit prio 1 # create leaves run_tc qdisc add dev eth1 parent 1:10 sfq perturb 10 run_tc qdisc add dev eth1 parent 1:11 sfq perturb 10 # setup filtering rules : packets going to 192.168.1.2 will go into...
2004 Aug 04
10
htb and fw problems
...in the htb, it doesn''t go to the right class (it always go to the default class). Any help will be appreciated here''s my htb conf #!/bin/bash tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1: htb default 80 tc class add dev eth1 parent 1: classid 1:1 htb rate 65kbps ceil 65kbps tc class add dev eth1 parent 1:1 classid 1:10 htb rate 20kbps ceil 35kbps prio 3 tc class add dev eth1 parent 1:1 classid 1:20 htb rate 5kbps ceil 10kbps prio 0 tc class add dev eth1 parent 1:1 classid 1:30 htb rate 8kbps ceil 11kbps prio 2 tc class add dev eth1 parent 1:1 classid 1:40...
2005 Jul 06
8
HTB and bittorrent, won''t work
...t-mark 1 iptables -t mangle -A lay7 -o eth1 -m mark --mark 1 -j CLASSIFY --set-class 2:2 iptables -t mangle -A lay7 -m layer7 --l7proto smtp -j MARK --set-mark 2 iptables -t mangle -A lay7 -o eth1 -m mark --mark 2 -j CLASSIFY --set-class 2:3 ### HTB RULES ### #define UPLOAD eth1 #define UPRATE 25kBps #define P2P 10kBps dev UPLOAD { egress { class ( <$emule> ) ; class ( <$smtp> ) ; class ( <$ssh> ) if tcp_dport == 8080 ; /*Changed port from 22 to 8080 */ class ( <$otro> ) if 1 ; htb () { class ( rate UPRATE, ceil UPRATE ) { $emule =...
2002 Oct 11
0
outgoing packets notworking..
...10 ./tc class add dev eth0 parent 1: classid 1:1 htb rate 500kbps ceil 500kbps ./tc class add dev eth0 parent 1:1 classid 1:2 htb rate 180kbps ceil 500kbps ./tc class add dev eth0 parent 1:2 classid 1:10 htb rate 150kbps ceil 500kbps prio 2 ./tc class add dev eth0 parent 1:2 classid 1:11 htb rate 5kbps ceil 10kbps prio 2 ./tc class add dev eth0 parent 1:1 classid 1:12 htb rate 10kbps ceil 20kbps prio 1 ./tc qdisc add dev eth0 parent 1:10 handle 20: pfifo limit 5 ./tc qdisc add dev eth0 parent 1:11 handle 30: pfifo limit 5 ./tc qdisc add dev eth0 parent 1:12 handle 40: sfq perturb 10 ./tc filt...
2002 Oct 11
0
outgoing packets not working..
...10 ./tc class add dev eth0 parent 1: classid 1:1 htb rate 500kbps ceil 500kbps ./tc class add dev eth0 parent 1:1 classid 1:2 htb rate 180kbps ceil 500kbps ./tc class add dev eth0 parent 1:2 classid 1:10 htb rate 150kbps ceil 500kbps prio 2 ./tc class add dev eth0 parent 1:2 classid 1:11 htb rate 5kbps ceil 10kbps prio 2 ./tc class add dev eth0 parent 1:1 classid 1:12 htb rate 10kbps ceil 20kbps prio 1 ./tc qdisc add dev eth0 parent 1:10 handle 20: pfifo limit 5 ./tc qdisc add dev eth0 parent 1:11 handle 30: pfifo limit 5 ./tc qdisc add dev eth0 parent 1:12 handle 40: sfq perturb 10 ./tc filt...
2004 Oct 28
12
HTB: Problem with excess bandwidth distribution
...1:10 htb rate 333kbit ceil 1mbit \ burst 15k tc class add dev imq0 parent 1:1 classid 1:20 htb rate 333kbit ceil 1mbit \ burst 15k tc class add dev imq0 parent 1:1 classid 1:30 htb rate 333kbit ceil 1mbit \ burst 15k tc class add dev imq0 parent 1:1 classid 1:40 htb rate 5kbps # set filters to direct ips to their classes tc filter add dev imq0 protocol ip parent 1: prio 1 handle 1 fw flowid 1:10 tc filter add dev imq0 protocol ip parent 1: prio 1 handle 2 fw flowid 1:20 tc filter add dev imq0 protocol ip parent 1: prio 1 handle 3 fw flowid 1:30 # --- snap --- 1:40...
2007 May 04
0
Pls help on Shorewall installation
...ion from the howto: tcdevices: #INTERFACE ? ? ?IN-BANDWITH ? ? OUT-BANDWIDTH eth0 ? ? ? ? ? ?300kbps ? ? ? ? 64kbps tcclasses: #INTERFACE ? ? ?MARK ? ?RATE ? ?CEIL ? ?PRIORITY ? ? ? ?OPTIONS eth0 ? ? ? ? ? ?1 ? ? ? full ? ?full ? ?1 ? ? ? ? ? ? ? tcp-ack,tos-minimize-delay eth0 ? ? ? ? ? ?2 ? ? ? 5kbps ? 15kbps ?2 eth0 ? ? ? ? ? ?3 ? ? ? 2kbps ? 4kbps ? 3 ? ? ? ? ? ? ? default tcrules: 1:F ? ? 0.0.0.0/0 ? ? ? 0.0.0.0/0 ? ? ? icmp ? ?echo-request 1:F ? ? 0.0.0.0/0 ? ? ? 0.0.0.0/0 ? ? ? icmp ? ?echo-reply 1:F ? ? 10.0.0.1/24 ? ? 0.0.0.0/0 ? ? ? all 2:F ? ? 10.0.0.4/24 ? ? 0.0.0.0/0 ? ? ? all shor...
2005 Apr 26
8
HTB Weird Shaping Question(Bug?). Please Help!
...TQ} root tc qdisc add dev ${OUTQ} root handle 1: htb default 800 tc class add dev ${OUTQ} parent 1: classid 1:1 htb rate ${ROOT_OUTRATE} #Leo tc class add dev ${OUTQ} parent 1:1 classid 1:100 htb rate 17kbps ceil ${CLASS_OUTRATE} prio 0 tc class add dev ${OUTQ} parent 1:100 classid 1:105 htb rate 5kbps ceil ${SUBCLASS_OUTRATE} prio 3 # Other tc class add dev ${OUTQ} parent 1:100 classid 1:110 htb rate 4kbps ceil ${SUBCLASS_OUTRATE} prio 0 # VoIP tc class add dev ${OUTQ} parent 1:100 classid 1:120 htb rate 1kbps ceil ${SUBCLASS_OUTRATE} prio 0 # SSH tc class add dev ${OUTQ} parent 1:100 classid 1:...
2007 Dec 04
2
Simple Example isnt working (ssh/bulk traffic)
Hi, the script below should allow to get ssh connections running well while downloading, but even the 100kbps (100kbyte/s?) doesnt work - can still download with 500+kb/s. Whats wrong? INTERFACE=eth0 #clear all on $INTERFACE tc qdisc del dev $INTERFACE root tc qdisc add dev $INTERFACE root handle 1:0 htb default 15 #root qdics, allows borrowing for its children tc class add dev
2003 Feb 26
1
traffic shaper with htb and imq ==> bad latency
...id 1:11 htb rate 3kbps ceil 14kbps prio 0 # Bnet tc class add dev $EXTIF parent 1:1 classid 1:12 htb rate 7kbps ceil 14kbps prio 1 # Normal tc class add dev $EXTIF parent 1:1 classid 1:13 htb rate 3kbps ceil 14kbps prio 6 # Edonkey tc class add dev $EXTIF parent 1:1 classid 1:14 htb rate 2kbps ceil 5kbps prio 7 tc qdisc add dev $IMQIF root handle 1:0 htb default 13 tc class add dev $IMQIF parent 1:0 classid 1:1 htb rate 86kbps ceil 86kbps prio 0 # Gamevoice tc class add dev $IMQIF parent 1:1 classid 1:11 htb rate 3kbps ceil 84kbps prio 0 # Bnet tc class add dev $IMQIF parent 1:1 classid 1:12 htb r...
2004 Aug 06
3
lowest streamable bitrate?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey Gang, I figured this is a frequently asked question, however it is not in the faq. i am wondering the lowest possible bit-rate to stream ogg at. is this an ogg limitation or is this dependent on the streaming server. Thanks in advance, (please reply to me too as i am not on the list.) <p>- -------------------------------------- Jeff
2005 Jul 07
1
HELP PLEASE BITTORRENT SHAPING (HTB)
...-------------------------------------------------------- ### iptables -t mangle -A PREROUTING -j lay7PRE iptables -t mangle -A POSTROUTING -j lay7POST iptables -t mangle -A PREROUTING -j ipp2pPRE iptables -t mangle -A POSTROUTING -j ipp2pPOST ### TCNG RULES ### #define UPLOAD eth1 #define UPRATE 25kBps #define P2P 10kBps dev UPLOAD { egress { class ( <$smtp> ) ; class ( <$ssh> ) if tcp_dport == 8080 ; class ( <$ack> ) if ip_hl == 0x5 && (ip_len & 0xffc0) &&amp...
2004 Aug 17
0
can this work?
...NABUSE}kbps ceil ${MAXABUSE}kbps tc class add dev $TARGETA0 parent 1:1 classid 1:28 htb rate ${MINABUSE}kbps ceil ${MAXABUSE}kbps tc class add dev $TARGETA0 parent 1:1 classid 1:29 htb rate ${MINABUSE}kbps ceil ${MAXABUSE}kbps tc class add dev $TARGETA0 parent 1:1 classid 1:30 htb rate 2kbps ceil 5kbps tc filter add dev $TARGETA0 protocol ip parent 1:0 prio 1 u32 match ip dst ${A1} flowid 1:10 tc filter add dev $TARGETA0 protocol ip parent 1:0 prio 1 u32 match ip dst ${A2} flowid 1:11 tc filter add dev $TARGETA0 protocol ip parent 1:0 prio 1 u32 match ip dst ${A3} flowid 1:12 tc filter...
2006 Nov 12
9
Why did I need strange ceiling settings? (full version)
...use a ceiling of 800kbit for the root qdisc is a good > idea. > But with that setting I only achieved upload rates of around 300kbits > whereas I reached around 650 kbits without traffic shaping. > Yesterday I played a little with the ceiling value and found that > increasing it to 175kBps did the job. > Could anybody please explain this strange behaviour? > > My shaping script looks as follows: UPRATE="175kbps" P2PRATE="20kbps" PRIORATE1="80kbps" PRIORATE2="50kbps" PRIORATE3="40kbps" PRIORATE4="5kbps" MTU=&quot...
2000 Nov 20
4
Vorbis over RTP
Hi. I got bored of writing papers last week so I decided to write an app for sending and receiving multicast vorbis streams over RTP. A first version is available here: http://www.cdt.luth.se/~rolle/vorbis/ (I use the JOrbis decoder, so you need Java 2 with Javasound, e.g. JDK1.3. Since the decoding is done in Java, you probably need at least 300-350 MHz. Works with the IBM JDK1.3 on Linux on a