Questions tagged [traffic-shaping]

Traffic shaping is a technique to delay some or all datagrams to comply with desired traffic profile.

Traffic shaping is a network traffic management technique which delay some or all datagrams to bring them into compliance with a desired traffic profile. Traffic shaping is used to optimize or guarantee performance, improve latency, and/or increase usable bandwidth for some kinds of packets by delaying other kinds.

232 questions
1
vote
1 answer

Traffic shaping - Controlling burst time and rate - on Debian server

I run a busy website on a Debian server that utilises Shorewall for most of the traffic management. I need to work out a way to shape excess traffic so that all users can burst up to a maximum speed of 1MB/s for say 60 seconds. But any source IP…
AdrianQ
  • 11
  • 2
1
vote
1 answer

Simulate slow network connection to MySQl server

I tried fiddler and wireshark to simulate slow network connections. I could slow down the network with fiddler but it is for Http and https protocols. With wireshark I was able to capture TCP & MySQL protocols but could not find a way to slow it…
Ashwin
  • 173
  • 3
  • 10
1
vote
1 answer

Per-user dynamic traffic shaping

At work we have a dedicated Internet link for everyday use (servers use a different link) with limited upload bandwidth (currently 3Mbps). Since there are ~80 users, sometimes this upstream link shoots up to 100% utilization degrading performance…
Hank
  • 11
  • 2
1
vote
1 answer

Traffic shaping L2TP/IPsec VPN (via accounts not connection)

I need to be able to control the amount of bandwidth a specific user account can use on a VPN connection. One account I want to be able to use the VPN with no restrictions and another account I want to limit to a reasonable amount of bandwidth (say…
Cromulent
  • 306
  • 1
  • 2
  • 17
1
vote
0 answers

Equalizing bandwidth according to use

I need a way to prioritize packets without setting bandwidth limits. For example, I have a client using the whole bandwidth. As soon as other clients need bandwidth, reduce the bandwidth of the former to not impair navigation, but as soon as finish…
osmano807
  • 21
  • 3
1
vote
2 answers

Is Traffic Control (tc) broken in Fedora 17?

After upgrading from Fedora 16 to Fedora 17, Traffic Control no longer seems to work. Running # tc qdisc show will output: qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priopmap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 However, if I run # tc qdisc add…
Daniel
  • 163
  • 2
  • 11
1
vote
1 answer

Linux tc htb + prio = very slow link

I'm trying to shape the traffic going out of my DSL link (verified 1 mbit upload) using Linux (3.2) tc, HTB, and PRIO. My Linux box is connected via a Gigabit Ethernet link to the ADSL modem. I want to limit the upload rate using HTB so my packets…
Etienne Dechamps
  • 2,164
  • 8
  • 24
  • 28
1
vote
0 answers

Defining an explicit parent in traffic control rules

In traffic control, will an explicit parent declaration in a filtering rule override a flowid definition? E.g.; tc qdisc add dev eth0 root handle 1: htb default 20 tc class add dev eth0 parent 1: classid 1:1 htb rate 200mbit ceil 200mbit tc class…
noctorum
  • 105
  • 2
  • 5
1
vote
0 answers

tc u32 match protocol [any] in recent kernels -- where to discuss?

I've been using debian with 2.6.26 kernel; now I've started to test 2.6.32 for my needs. And I've noticed that u32 filter behaves differently for, namely, "protocol 802.1q". To discover the tendency, I've run my tests on ubuntu server with 3.0.0-12…
brownian
  • 291
  • 3
  • 13
1
vote
5 answers

What are some good programs which can be used to rate-limit traffic on a server?

We have some applications which hog network traffic on one of our servers (Windows 7) at the expense of the other (more important) applications. Is there an easy way to limit the bandwidth usage of this particular application with a program or…
1
vote
0 answers

Traffic shaping for gateway to stop leechers

I am new to traffic shaping, but I need a quick simple shaping. I have a free internet service on my place using wifi. All www traffic has been routed to transparent proxy. We have a 10mbps connection, and our usual client is around 100-130 clients.…
prd
  • 596
  • 9
  • 21
1
vote
0 answers

Freebsd, ipfw sched - config type = QFQ get frozen

I have some freebsd soft-router $uname -r 8.2-STABLE code for ipfw: pipe 50 config bw 70Mbit/s sched 50 config type QFQ queue 502 config sched 50 weight 1 mask dst-ip 0xffffffff queue 501 config sched 50 weight 9 mask dst-ip 0xffffffff add…
Korjavin Ivan
  • 2,230
  • 2
  • 25
  • 39
1
vote
1 answer

tc traffic limiting/shaping/throttling/policing in linux ipv6 issues

I managed to discover an interesting issue: I'm not getting proper limiting with ipv4 traffic, but instead it works perfectly with ipv6. This doesn't make much sense to me since I read this article:…
Regan W
  • 31
  • 3
1
vote
1 answer

Solaris Express 11 + IPQoS - how to set up?

What I want to accomplish I want to limit the available bandwidth to specific background file replication services to a few (< 100) kBytes/s (preferably assymetric). I first tried to accomplish this with Crossbow. But Crossbow only allows to limit…
Chris
  • 156
  • 4
1
vote
2 answers

Port based bandwidth shaping

I have an interent connection with the speed of 4000k bits up and down. I want to do port based traffic shaping on a ubuntu machine, which acts as router. eth0 is the WAN interface. This is how I would like to allocate bandwidth: For ports 80 and…
nixnotwin
  • 1,513
  • 5
  • 34
  • 54