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
3
votes
2 answers

Determine what machine/device is consuming bandwidth

I sometimes help a small office with a few issues. About two months ago, they were complaining of poor internet performance. Long story short, I found one person running Carbonite on a Mac that was pushing 2mb uploads all day. Shut down Carbonite…
tcv
  • 651
  • 8
  • 21
3
votes
1 answer

redirect all youtube video requests to a specific one

I'm on an IT team in my company and I would like to block youtube to users. I don't want to just deny access to the whole youtube domain, but only to replace the .flv/.mp4 request with the one that I want. That way, if someone tries to watch youtube…
iTayb
  • 771
  • 4
  • 10
  • 25
3
votes
1 answer

How to choose an open source, Asterisk friendly firewall?

I'm in pain. We are moving to a SIP based VOIP system and for whatever reason, we could not get our hosted Asterisk solution to work with our Sonicwall. Our VOIP provider gave up and is recommending an open source vendor, pfSense. A little…
Lucas
  • 133
  • 6
3
votes
2 answers

Traffic shaping HTTP downloads with l7-filter

Given the following: A small, remote office has only a few users and a 1.5 Mbps DSL connection via a ZyXEL 660R. Users experience unacceptable latency and packet loss when even one large file is being downloaded, by any user, causing the…
Skyhawk
  • 14,149
  • 3
  • 52
  • 95
3
votes
1 answer

Ingress filtering in Linux traffic control: Redirect traffic to IFB device

I have an openwrt router and I want to shape incoming traffic in order to classify all the traffic addressed to a certain IP address in my home network as low priority. For that purpose I want to redirect all traffic incoming to the eth1 interface,…
Dani Camps
  • 301
  • 6
  • 11
3
votes
1 answer

Can not pass traffic from privoxy to ziproxy

To save up some bandwidth I decided to set up a privoxy and ziproxy bundle on my Debian Lenny VPS. The idea was to have privoxy only accessible from localhost, and put ziproxy behind it to compress the output and accept connections, because it…
Roman
  • 61
  • 4
3
votes
3 answers

TC hashing filters - single rule deletion

For traffic shaping I'm currently using a setup that looks exactly like the setup from LARTC, on this page: http://lartc.org/howto/lartc.adv-filter.hashing.html I have a simple problem with that - everytime I want to modify something in the hash…
exa
  • 571
  • 4
  • 14
3
votes
1 answer

Traffic filtering for websockets

We have a websocket server that accepts connections. Unfortunately, for a reason that we have yet to identify some clients go rogue and connect/disconnect/connect... in loop at a very high frequency. This is a mess to deal with and penalizes other…
Julien Genestoux
  • 609
  • 8
  • 19
3
votes
2 answers

QoS on DD-WRT Questions

I have a question about quality of service (QoS) on linux (DDWRT specifically). Here's my setup: Recent version of DD-WRT 120 kbytes/s up and 2mbytes/down Traffic limited to about 80% of stated speed, so about 100kbytes/sec HFSC enabled but no…
EightyEight
  • 303
  • 1
  • 2
  • 11
3
votes
4 answers

Is there some advanced traffic shaping frontend for linux?

If you ever worked with Mikrotik routers, you probably got used to 'simple queuing', a very simply manageable list of IP->speed rules. I guess other router OSes have something similar, for those who have never seen any, I link a screenshot:…
user58072
3
votes
4 answers

limit network bandwith for an ip

for a traffic management app i should limit bandwidth for clients ip addresses that for each ip there are different limit how can use tc-tbf for specific ip address or is any other solution?
hamedsh
  • 379
  • 2
  • 5
  • 18
3
votes
2 answers

Where does traffic shaping typically take place?

As part of upgrading our network infrastructure we are looking to traffic shape our bandwidth since we only have about 3Mb down / 1 Mb up. We're looking to prioritize it so that web browsing gets priority and in the future some VOIP might be added…
eekmeter
  • 245
  • 1
  • 2
  • 4
3
votes
1 answer

bridge traffic limiting via tc

I have a Linux machine running as a bridge simulating various network conditions. I use tc for this. Introducing delays or packet loss is quite simple but I got into trouble trying to configure bandwidth limiting. Can you, please, show me how to…
2
votes
0 answers

Using tc qdisc, class, and filter to limit bandwidth (both ingress and egress) based on DSCP marks

I'm looking to set-up traffic shaping program that limits both incoming and outgoing traffic based on 6-bit DSCP field in IPv4 packet header. The user should be able to specify different rates for different DSCP values. I am using tc and iptables to…
dooble
  • 21
  • 2
2
votes
0 answers

Linux HTB number of levels

Re-modified Linux HTB by adding a single printk message in htb_dequeue function. static struct sk_buff *htb_dequeue(struct Qdisc *sch) { ... original code ... original code for (level = 0; level < TC_HTB_MAXDEPTH; level++) { …