Questions tagged [traffic-shaping]

45 questions
21
votes
2 answers

Simulating a low-bandwidth, high-latency network connection on Linux

I'd like to simulate a high-latency, low-bandwidth network connection on my Linux machine. Limiting bandwidth has been discussed before, e.g. here, but I can't find any posts which address limiting both bandwidth and latency. I can get either high…
Justin L.
  • 723
13
votes
3 answers

Options for bandwidth management on a shared internet connection

The premise: Rural location, not many options for high-bandwidth internet connections. The fastest by far is Satellite internet, but it's expensive (both equipment and monthly cost, and has latency drawbacks), so multiple households would like to…
pmdj
  • 277
7
votes
1 answer

How to deliberately introduce a delay for incoming UDP packets

I want each packet (that match iptables rule) to be delayed by some fixed time interval. How to to this? Preudocode: iptables -A INPUT -p udp -j DELAY --delay 50000 # delay UDP packets for 50 milliseconds Update: @related…
Vi.
  • 17,755
6
votes
2 answers

Mark packets with iptables by destination mac address

I need to mark packets which goes to a specified mac address. I need this to use in shaper with tc. --mac-destination doesn't exist in iptables. Also I tried to use ebtables: ebtables -t nat -A POSTROUTING -d 9c:4e:36:aa:bb:cc -j mark --set-mark…
6
votes
1 answer

How to limit bandwidth used by an IP in the penalty box in pfSense

We're trying to use the pfSense traffic shaping feature known as the Penalty Box. We are interested in limiting the bandwidth of a particular IP to 2%. Note: There is a four-year-old bug in pfSense where you have the option to select other limiting…
Ian Boyd
  • 23,066
5
votes
1 answer

pfsense 2.0 traffic priority - set full priority for single host

I have a network with several computers all on the same network and since I have very limited bandwidth I would like to prioritize traffic almost like a CPU scheduler prioritize processes. Example: Computer A: Used for webstuff: YouTube, downloads,…
Waxhead
  • 1,300
5
votes
2 answers

Using tc in Linux and dummynet in FreeBSD to limit bandwidth

We have a network product that runs on Linux and needs to be tested in reduced bandwidth networks. We have been able to use 'tc' (traffic control) in Linux and dummynet in FreeBSD to inject delay (latency) with predictable behavior. But when we try…
lcbrevard
  • 578
  • 1
  • 6
  • 22
4
votes
2 answers

Limit internet bandwidth

For test purposes (to debug my WindowsPhone7 application), I need to limit the network speed to a small value, like 79 kbits/sec. I’m using Windows 8 x64. NetLimiter doesn’t install at all. NetBalancer displays bandwidth usage of the process I’m…
Soonts
  • 955
3
votes
1 answer

Linux - Network Traffic Priority by IP

I'm using Ubuntu 12.10 and looking for a way to shape network traffic based on the IP address. I have a LAN, lets say from 192.168.1.2 - 192.168.1.254. The server is at 192.168.1.1. All IPs should have the maximum possible network speeds (all ports,…
3
votes
1 answer

Using a Ubuntu AWS instance as tunnel for RDP to simulate bandwidth

I have a bunch of windows instances on EC2 which I can connect to using RDP. I want to test the performance of RDP under various bandwidth and latency conditions. I know about thetc qdisc tool which allows us to control traffic on particular…
AjP
  • 31
  • 1
3
votes
1 answer

How can I organise sharing the Internet bandwidth with many people at home?

Lets say, you have a relatively fast Internet connection speed. However, there are many people who want to access the Internet and download files at the same time using that available bandwidth. The problem is, even they can access the Internet at…
Ozgun S
  • 315
3
votes
1 answer

Using traffic shaping, is limiting download traffic helpful or harmful?

I use traffic shaping in MonoWall (BSD) to great advantage with my home connection. It has been quite some time since I've had any kind of issues where user interaction with the internet has seen any annoyance caused by anything on the local…
killermist
  • 1,949
3
votes
2 answers

Rapidshare and Megaupload traffic shaping by ISP

I think my ISP is shaping Rapidshare and Mega Upload traffic, the download speed goes down to 30 kb/s every time and only on those sites, I've tried with different programs for downloading and the same happens, is there anyway I could prove they are…
user31113
  • 190
2
votes
1 answer

Why can the AckQueue not be the same as the Queue?

What should i choose for AckQueue? I'm trying to do traffic shaping in pfSense. Traffic shaping in pfSense involves things called queues. Some queues have higher priority than others. I understand that there is no way to limit the speed that a…
Ian Boyd
  • 23,066
2
votes
2 answers

Drop IP fragments of a certain protocol

When conntrack is active, the iptables stack never sees a fragmented IP packet, only the reassembled one (source), so the -f test never matches. If I want to block any fragment I could set ipfrag_high_thresh or ipfrag_time to 0 (source), but that…
1
2 3