Questions tagged [traffic-shaping]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
513 views

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 ...
1 vote
1 answer
1k views

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 & ...
2 votes
0 answers
5k views

How to share bandwidth equitably between 16 users on a pfsense multi-WAN router

I have 16 users connected to my pfSense single-LAN, 3-WAN router. The 3 WAN ports connect to ADSL lines giving about 4Mb/s down, 800kb/s up each. I would like to prevent any one user hogging the ...
4 votes
2 answers
7k views

Limiting bandwidth on internal interface on Linux gateway

I am responsible for a Linux-based (it runs Debian) branch office router that takes a single high-speed Internet connection (eth2) and turns it into about 20 internal networks, each with a seperate ...
13 votes
6 answers
14k views

Rate-limiting incoming traffic

I've never quite understood whether or not it's possible to rate-limit incoming traffic. I realize that there is no direct method whereby to control the remote server's rate of sending packets (unless ...
0 votes
1 answer
669 views

split traffic on two eth ports

I have a linux Proxmox server with two ethernet ports. The problem is that I have two uplinks that I would like to use with different bandwidth limitations. The first uplink maxes out at 100mbs and ...
3 votes
2 answers
2k views

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 ...
2 votes
2 answers
2k views

Bridge NICs with automatic pass-through

I am looking at using a computer with a dual-NIC card (one with two NIC ports) as an in-line traffic shaper / URL filter / traffic analyzer, etc. (probably using pfSense), but I am concerned that if ...
0 votes
3 answers
124 views

How can I restrict downloads for specific users?

I am running an Active directory and I need to specifically restrict downloads to some users while being able to surf the web... Is there a tool to do this?
0 votes
1 answer
734 views

enabling MPLS,RSVP and OSPF-TE

I am using Juniper J-series routers to emulate a small telco and VPN customer.I need to use OSPF so that the routing information can be propagated to all P and PE nodes (basically all core and edge ...
0 votes
1 answer
1k views

tc don't see marked packets

Server has 2 interfaces: eth1 with address 13.0.0.254/24 eth0 with address 172.20.203.4/24. It's routing traffic between this two networks. Task is to limit bandwidth between this two networks to ...
2 votes
2 answers
2k views

How can I rate limit/packet shape/traffic shape on Solaris

I have an TCP server application running on a Nexenta NCP 3 box. I would like to limit how much outgoing bandwidth it can use. Is it possible in Solaris to rate limit an application like I can in ...
2 votes
0 answers
416 views

Ubuntu traffic shaping by source mac address or destination host

Is there an easy way to manage traffic shaping/bandwidth monitoring to limit traffic based on source mac address and/or destination server address?
7 votes
2 answers
2k views

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 ...
1 vote
0 answers
317 views

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 ...
1 vote
2 answers
4k views

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 ...
-1 votes
1 answer
113 views

I have a WinXP machine with 2 ethernet ports. One is connected to a LAN, another is connected to a WAN. How do I make this work? [closed]

I have a WinXP machine which has 2 ethernet ports. The information I've found indicates that the first nic in the advanced settings list is the one that receives all traffic. I'd like to configure ...
1 vote
1 answer
4k views

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 ...
0 votes
1 answer
1k views

traffic shaping, prioritizing packets without using a bitrate ceil/max

I've written a script that shapes traffic into 3 pipes. The first pipe needs to be high priority and always be send first. This works perfectly now on 1 condition. I enter a correct ceil/max bitrate. ...
1 vote
0 answers
171 views

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: ...
5 votes
1 answer
7k views

Difference between HTB Rate and Ceil Values

What is the difference between the HTB rate and Ceil values?
1 vote
1 answer
477 views

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 ...
0 votes
1 answer
4k views

Can I use iptables to limit port's outgoing bandwidth?

I want to limit my linux server port 8080 at speed 500KB/s, can I do this with iptables?
3 votes
2 answers
479 views

IP Forwarding and traffic shaping

Is there any way to forward packets from network A to network B (just like a router) without changing source IP Address (and vice versa, from network B to network A) and also enforcing traffic shaping ...
0 votes
3 answers
6k views

Why are some UDP packets getting blocked?

In our organization, we have two test machines running Windows XP. While attempting to test a roll-my-own UDP message server, I found that both could receive small messages (under 2k) just fine. ...
3 votes
1 answer
673 views

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 ...
3 votes
1 answer
2k views

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 ...
2 votes
1 answer
2k views

Traffic shaping with tc doesn't work for high delay and bandwidth

I'm using tc with kernel 2.6.38.8 for traffic shaping. Limit bandwidth works, adding delay works, but when shaping both bandwidth with delay, the achieved bandwidth is always much lower than the limit ...
1 vote
0 answers
856 views

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 ...
1 vote
1 answer
291 views

traffic shaping

I have a rather complicated set up. So ill try best to explain what i have before i ask the question. I am sitting at my desktop, ssh'ed to a server(10.10.10.XX). Which has xen guest(10.10.20.XX) ...
16 votes
3 answers
49k views

Throttle bandwidth via iptables

I have a need to throttle the bandwidth usage, similar to how some ISPs do it, so that after a couple of seconds, it throttles down the speed.
0 votes
3 answers
3k views

Per-IP bandwidth monitoring and trafic shaping solution for 100Mb network

I have about 30 servers connecting into a Cisco 3500 series switch, with 100M upstream bandwidth. Periodically, one or more of my servers will do a large file transfer which will completely saturate ...
12 votes
2 answers
3k views

Linux TC class/filter numbering

I'm currently working on a traffic shaping solution for ISP-level companies, and came to an interesting (kindof philosophical) problem. Looking about the number of endpoints the system should handle (...
3 votes
1 answer
1k views

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 ...
4 votes
0 answers
1k views

MasterShaper alternative [closed]

I'm looking for an alternative to MasterShaper, something possibly web-based which could allow me to manage QoS easily. Actually MasterShaper still looks supported, but would like to understand if ...
0 votes
2 answers
614 views

Input traffic shaping

I know that I can shape output traffic with tc or a similar tool. However, I want to shape the input traffic now—actually, I want to prioritize downloading of files of certain type through a slow ...
1 vote
5 answers
3k views

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 ...
1 vote
0 answers
924 views

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,...
3 votes
1 answer
3k views

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. ...
1 vote
0 answers
1k views

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 ...
1 vote
1 answer
2k views

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: ...
2 votes
1 answer
546 views

How can I do traffic shaping in Linux by xen guests?

I want to be able to set up two xen guests like this: xen-create-image --hostname=xen1.example.com --size=10Gb --swap=512Mb --ip=192.168.0.101 --force --memory=256Mb --arch=i386 --debootstrap and ...
10 votes
3 answers
484 views

bandwidth shaping, the best approach

Let's say I have a server with a lot of external IPs, 1024+. My users are causing heavy traffic but not all of them. The ones eating all the bandwidth are few and cause the other ones to suffer from ...
2 votes
3 answers
215 views

How to tell if a router traffic shapes?

I have a client in a managed office, and part of that service is the provision of internet, with static IPs for all desktops provided by the building, (I know it's a recipe to have all your data ...
3 votes
2 answers
503 views

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 ...
3 votes
4 answers
5k views

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 ...
11 votes
6 answers
2k views

What is the best solution for traffic control in a large system (ca. 2000 users)?

following situation: We're a group of students administering the internet connection for the local resident halls, with a total of about 2000 end users. We have a traffic point system, every MB down- ...
5 votes
1 answer
733 views

What outbound HTTP throttling solutions exist?

I am looking for a way to flexibly manage outbound HTTP/HTTPS traffic in a way that respect site policies, and could be deployed at the "edge" of our datacenter network. For example, we use several ...
2 votes
3 answers
8k views

What tools are available to simulate certain network conditions on Ubuntu?

In order to test our deployment I want to simulate certain network events like connection losses, timeout, limited bandwidths etc. I already googled for this but haven't found something that really ...
1 vote
2 answers
3k views

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 ...