Displaying 20 results from an estimated 5000 matches similar to: "Traffic shaping questions and possible extensions"
2005 Feb 08
21
TCP window based shaping
Does anyone have any pointers on how other people have implemented tcp
window adjustment to do bandwidth shaping?
Granted the basic idea is to set the window size to be RTT * bandwidth,
but a quick squiz at google turns up mostly papers on how to implement
this at the sender end with a view to some new magic TCP
implementation. I''m really interested in notes on how to implement at
2004 Apr 15
8
Making tcp start transfers slow
Hey list
I have almost gotten my shaping setup up and running as planned. The
last barrier seems to be tcp overshooting availible bandwidth when its
starting a transfer, and thereby bursting the line, so ping rises for a
moment. At least this is my best guess at the problem :)
There is a possibility that its just plain old traffic being bursty for
some reason.. I am using bittorrent to test this,
2012 Sep 20
1
Debian Lenny very simple traffic shaping not working
Hi,
I am trying to do the simplest configuration of traffic shaping.
So I did:
shorewall.conf
TC_ENABLED=Simple
tcinterfaces
eth0.2 External 500kbit
tcdevices
eth0.2 500kbit 200kbit
And I am testing the speed on that interface - whether I did it ok or not,
and my speed is still 4mbit/512kbit.
So the question is - How to reduce the speed on interface connected
2004 May 18
1
New Bie for this group
Hi all,
I am very new to this group and also the Unix
platform.
I am having some questions related to Throtling.
I have visited lot of sites but not satisfied except
www.docum.org
I am from India. Working on *nix platform & love to
work on RedHat Linux.
Thanks in Adv. to Group
BY
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
2006 Jul 30
5
questions about HFSC, VoIP and (dynamic) ingress shaping
Hello,
I just found the great howto and started shaping my internet connection. The
howto''s last update is a liitle in the past now so I have some questions
about how things are done the best way nowadays ;-)
To ensure a stable and low latency voip communication I added an HFSC qdisc to
device ppp0 (1 Mbit SDSL). There are two classes (by now): One for SIP and
RTP and one for the
2003 Aug 08
1
Looking for a good htb traffic shaping script to prioritize incoming traffic
I am looking for a good htb traffic shaping script to prioritize incoming
traffic over outgoing traffic for my machine. I have a 100mbit line, ftp
up, backup data comming in, but whenever mirrors starts grabbing it they use
all the traffic and the backup data comming in (the important data) drops to
like 300kb/sec. I was thinking some script doing
sleep 60
[if downstream > 1mb/sec, limit
2007 Mar 15
3
Traffic Shaping over Satellite Internet
I''ve set up Traffic Shaping on a Linux Router.
Using HTB with SFQ, i''m trying to slow down
heavy downloading for 20 subscribers over
a 2048 kbit downlink. I''m classifying internet related
traffic using iptables marking.
bri0 is my local lan bridge, receiving egress traffic destined for subscribers.
tc qdisc add dev bri0 root handle 1: htb default 2
tc class add dev
2005 Mar 13
1
Traffic Shaping for DVB gateway
Hello all,
I am providing broadband service through DVB circuit.
I have 4KB uplink and 32KB downlink. I want to share
32KB downlink bandwidth among 192.168.0.0/24 (20 users
in this subnet i.e 192.168.0.2-192.168.0.22)subnet
where each user will get 2KB to 6KB bandwidth. And
from 4KB uplink bandwidth each users will get only 1KB
to 2KB bandwidth.
2012 Nov 20
3
Simple Traffic Shaping Problem
Hello,
I have a problem with simple traffic shapping in shorewall, my current
configuration is:
zones
vlan10 ipv4 #
interfaces
vlan10 vlan10 detect tcpflags,routeback
shorewall.conf
TC_ENABLED=Simple
tcinterfaces
vlan10 Internal 1mbit:50kb
shorewall show tc
Device vlan10:
qdisc prio 5: root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
2005 May 04
4
OpenSwan traffic shaping with HTB & sfq
Hi All,
I''ve got an interoffice IPSEC VPN in place that I''m trying to give
priority to terminal service (tcp 3389) traffic.
I''ve created rules at each end, but have hit a bit of a dillemma. As
the data is encrypted I must also give highest priority to protocol 50
otherwise the priority is lost as the packet gets encrypted.
When I do this however, I can''t
2004 Jun 10
6
Shaping incoming traffic on the other interface
Hi,
I have a typical configuration for my firewall/gateway box: single network card, with a pppoe
connection to the DSL modem.
I''m already successfully shaping the uplink (how come that the wondershaper.htb doesn''t use the ceil
parameter? It should implement bandwidth borrowing!) but i found the ingress policy a little bit rough.
I''d like to keep the traffic categories
2006 Dec 06
1
ADSL traffic shaping to improve latency
Hello.
I have a 1024/256kbit ADSL and tried to shape outgoing traffic in order
to improve latency.
Here is my config.
UPLOAD_RATE="256"
UPRATE="$[4*$UPLOAD_RATE/5]" (a little smaller)
UP70="$[7*$UPRATE/10]kbit"
UP30="$[3*$UPRATE/10]kbit"
UP20="$[2*$UPRATE/10]kbit"
UPRATE="${UPRATE}kbit"
IF="eth2"
IPTABLES="iptables -t
2005 Mar 15
1
Traffic Shaping multiple incoming broadband sources?
Hi, complete newb and I apologise for it.
I have a setup where my linux box has multiple broadband connection where I am routing certain things over certain interfaces, currently 2 links eth2 is a 1500/256 and eth3 is a 512/512, eth0 is the link to the LAN for users. What I am trying to do is traffic shape the information going out eth0 to the local users by the interface the traffic arrived
2005 May 18
1
Traffic Shaping Performance
Hello,
I want to select best Traffic Shaping algorithm that meet very good
performance.
What algorithm is best?
2006 Jan 06
6
HTB traffic shaping odd effects
Hi,
I''m trying to perform some (what I consider) basic traffic shaping on
our network utilising HTB. I have mostly reused the example on the
lartc.org site:
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 24k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50mbit ceil
80mbit burst 19k
tc class add dev eth0
2005 Jan 24
3
Htb, imq and sfq traffic shaping
Hello,
I wrote a simple traffic shaping script (below) that should have allowed me to shape my internet traffic a bit (ppp0 - adsl 128kbit/64kbit; local interface eth0).
The script works only partially - the speed is being limited but too much. Without running this script my download rate is about 10kBytes (with second computer also downloading at about 6kBytes). After running it my download speed
2004 Jul 23
2
marking and shaping outbound passive ftp traffic
Will the following rules work to mark and shape OUTBOUND ftp speed
(passive ftp ports 50000-60000) on my linux server?
I want to be able to run these commands on the actual computer that is
running the ftp server.
iptables -t mangle -N MYSHAPER-OUT
iptables -t mangle -I POSTROUTING -o eth0 -j MYSHAPER-OUT
iptables -t mangle -A MYSHAPER-OUT -p tcp --dport 50000:60000 -j MARK
--set-mark 1
tc
2003 Nov 13
1
HTB traffic shaping + squid cache proxy
Hello!
My system is:
Internet ADSL(PPPoE) ---> ppp0 [LINUX server(router)] eth0 ---> LAN
Server(router) is running on LINUX Slackware 8.1. I have recompiled a
2.4.22 kernel, enabled all QoS support in the kernel config,
including HTB. My ADSL bandwidth is 256Kbit/s for download and
64Kbit/s for upload.
I use the following HTB+IPTABLES configuration, because I want to
reduce bandwith for
2006 Nov 15
7
Shaping incoming VoIP traffic fails
Hello,
I''m trying to get lossless VoIP traffic over my 3000k/500k ADSL line. Shaping
outgoing traffic is no problem: I set total ceil for outgiong device (ppp0)
to 450kbit and put VoIP into highest prio class. Even during full upload the
voice is clean on the other end.
Now I tried to get the same result for incoming data. I attached HTB to eth1
where the incoming voip traffic is
2006 Sep 08
8
htb traffic shaping problem
Hello.
I have a linux server connected to a gigabit lan, and though that lan to a
768kbps/768kbps DSL modem.
I''m trying to shape my webserver running on port 80/443 down to 512kbps,
while leaving all other ports alone. The current configuration script that
I''m using is as follows:
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 99
tc class add dev