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.

239 questions
9
votes
5 answers

Blocking BitTorrent

How can one block, or severely slow down, BitTorrent and similar peer-to-peer (P2P) services on one's small office network? In searching Server Fault I wasn't able to find a question that served as a rallying point for the best technical ideas on…
duozmo
  • 193
  • 4
9
votes
6 answers

Generate a limited amount of random network traffic between 2 hosts

I'm trying to find a utility that will allow me to generate a constant flow of random network traffic at a specified rate between 2 hosts. The utility needs to run on Windows and OSX. I've tried iperf but it seems to be more oriented toward…
Andrew S
  • 508
  • 3
  • 7
  • 12
8
votes
4 answers

Slow down individual connections passing through a Linux router?

We have a Linux server acting as a router/firewall for our office. Occasionally someone will upload a large file that takes up all our bandwidth. I don't want to implement any complex rules or traffic shaping, but I'm wondering if there is a way to…
davr
  • 1,729
  • 3
  • 14
  • 25
7
votes
3 answers

Linux traffic shaping using TC

My internet connection goes like this: Internet <-128kbps link-> Cisco Router (Public IP) <-LAN-> Linux router/server (Public IP) <-LAN-> Regular PCs (Public IPs) The Cisco router: the first Public IP allocated to my institution (/29) is programmed…
7
votes
2 answers

Traffic shaping: tc filter catch all filter

How Can I configure a "catch all" filter with tc filter? I tested with the following code but it gave me the error: "Unknown filter "1:100", hence option "protocol" is unparsable": tc filter add dev $IF_LAN parent 1:100 protocol ip prio 7 flowid…
Diosney
  • 305
  • 5
  • 12
7
votes
2 answers

Why is my linux traffic shaping script having limited results?

I am trying to introduce some traffic rules to my Linux passthrough server that will give a better QoS for the following: 1) Low port traffic out of the box (web traffic and mail, etc). 2) Low port traffic into the box - specifically port web…
Dog Fox
6
votes
4 answers

Packeteer Alternative

I have been tasked with starting to monitor and restrict our companies internet access. We have considered a Squid Proxy server but have decided we need something more robust then that. We would like many of the features commonly available on…
Xap
  • 411
  • 1
  • 6
  • 12
5
votes
2 answers

How is excess bandwidth distributed in linux htb?

Say I have 100kbps bandwidth - Root - 100kbps / \ / \ / \ / \ / \ / \ Assured 30kbps …
5
votes
4 answers

Traffic Management recommendations

What's your strategy towards traffic prioritization/management. I am not really to just get a list of packet shaping solutions. Instead, I would like to get recommendations about traffic management strategies that include: What software/hardware…
l0c0b0x
  • 11,867
  • 7
  • 47
  • 76
5
votes
1 answer

Debian7 and tc qdisc issue : RTNETLINK answers: No such file or directory

I've been searching for few days now but couldn't find the solution to my problem. I have a VPS running Debian 7, and I have root access. I am trying to add some traffic shaping (using HTB), so the first line I tried to type was this one : tc qdisc…
Raphael Laurent
  • 219
  • 1
  • 6
  • 17
5
votes
1 answer

Trying to understand HTB subclasses rate

I'm currently studying the opportunity of using an Ubuntu server to provide QoS instead of my consumer-class router. I've read a lot of resources about tc and HTB queuing disciplines - which look to be the one I need for my QoS needs, and even if it…
Eric MORAND
  • 293
  • 2
  • 8
5
votes
1 answer

Bandwidth Throttling using tc qdiscs

I am trying to limit the bandwidth between a simple iperf server and client, using a third, passive machine acting as a bridge. With no interference, iperf returns a bandwidth of ~90 Mbits/sec. My goal is to create a root qdisc that sends all…
Ian
  • 103
  • 1
  • 7
5
votes
3 answers

Incoming (ingress) traffic shaping on Linux - bw is lower than expected

I want to limit incoming (download) speed for Linux box. Both, the box, which is configured, and trafic source (HTTP server) are connected to the same switch, if shaping is not configured, download speed is 30MBps I use tc according to…
andreikop
  • 53
  • 1
  • 1
  • 3
5
votes
1 answer

How can I limit the upload/download bandwidth on my CentOS server?

How can I limit the upload and download bandwidth on my CentOS server? This is a box with a single interface, eth0. Ideally, I would like a command-line solution (I've been trying to use tc), something that I could easily switch on and off in a…
Dan Nestor
  • 220
  • 1
  • 2
  • 7
5
votes
1 answer

VLAN based rate limiting using tc

I have been trying to perform VLAN based rate limiting on an academic project I am working on. The project uses Openflow (with Beacon controller) and the network is emulated using Mininet. The network is made up of OpenVSwitches. For my project I…
user1449265
  • 151
  • 1
  • 2
1
2
3
15 16