The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
2k 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 ...
1
vote
0answers
75 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: ...
0
votes
1answer
1k views

Difference between HTB Rate and Ceil Values

What is the difference between the HTB rate and Ceil values?
4
votes
1answer
3k views

Using tc to delay packets to only a single IP address

I am new to using tc and netem. I want to delay packets being sent to a specific IP address. However, the commands below cause all packets on the system to be delayed, instead of just to the IP ...
0
votes
1answer
2k 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?
2
votes
1answer
833 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
1answer
549 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 ...
10
votes
4answers
2k views

tc u32 — how to match L2 protocols in recent kernels?

I have a nice shaper, with hashed filtering, built at a linux bridge. In short, br0 connects external and internal physical interfaces, VLAN tagged packets are bridged "transparently" (I mean, no VLAN ...
3
votes
2answers
4k views

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 ...
1
vote
0answers
445 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 tendency, ...
0
votes
1answer
2k views

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

deleting filters in tc

I have added a filter in tc as follows: tc filter add dev eth0 parent 1: protocol ip handle 6 fw flowid 1:6 This should be sending packets marked by iptables with '--set-mark 6' to class 1:6. The ...
7
votes
3answers
8k views

Tc: ingress policing and ifb mirroring

I'm trying to setup traffic shaping on a Linux gateway as written here. The script needs to be customized because I have multiple LAN interfaces. So to shape the LAN side I am planning to create a ifb ...
2
votes
0answers
178 views

Is there an equivalent of LinuxIMQs in BSD?

Is there an equivalent of LinuxIMQs in BSD ? From linuximq.net: The imq device has two common usage cases: Ingress shaping: With linux only egress shaping is possible (except for the ingress ...
2
votes
1answer
535 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 ...
1
vote
1answer
185 views

Automatic TCP connection slowering (shaping)

I'd like to automatically shape bandwidth-hungry TCP connections corresponding to the already transmitted data. A summary would be : "The first Mbit is transferred at full bandwidth, then it ...
1
vote
0answers
212 views

tcng & tc hiercharchy

Let me explain what I'm trying to do, we have one 10Mbps line coming in, we want to divide that up into 3 3Mbps sections, which are defined by each subnet, then in one of these subnets we have ...
4
votes
0answers
453 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
2answers
260 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 ...
3
votes
2answers
1k views

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

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 ...
1
vote
0answers
640 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 ...
0
votes
1answer
429 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
0answers
714 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 ...
12
votes
2answers
903 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 ...
1
vote
1answer
1k 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
1answer
534 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. ...
10
votes
3answers
363 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 ...
6
votes
5answers
715 views

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 ...
2
votes
3answers
178 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 ...
9
votes
6answers
4k 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 ...
3
votes
0answers
789 views

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: ...
1
vote
1answer
342 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 ...
2
votes
2answers
395 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 ...
7
votes
2answers
1k 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
2answers
541 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 ...
5
votes
1answer
399 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 ...
0
votes
1answer
664 views

Per Sender Traffic Limit on Cisco 6500

I have a 6509 with ~1000 user machines in different vlans, I want to allow 10 servers to send as much as they can/want but to limit all client machines from all subnets to have a sending rate limit of ...
2
votes
3answers
1k 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 ...
0
votes
1answer
2k views

How to install ipfw / DummyNet on Ubuntu 10.10?

There seems to be a man page an ipfw but I can't find what package I have to install to use ipfw / DummyNet. Any hints?
1
vote
1answer
110 views

General Network Infrastructure

I have a number of servers that I rent out to people and have started growing to a point where I need better management. Specifically I am interested in being able to police bandwidth and block port ...
1
vote
1answer
578 views

traffic shaping for certain (local) users

i'm using ubuntu 10.10 i've a local backup user called "backup". :) i would like to give this user just a bandwidth of 1Mbit. No matter which software wants to connect to the network. this solution ...
0
votes
3answers
2k 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 ...
1
vote
2answers
998 views

tc simple rate limiting

I would like to do a simple rate limiting so all the http traffic (in & out) going to or from my http server is shaped. I have a GigE connexion on the server and I want to rate limit all HTTP ...
0
votes
1answer
234 views

How to read and create this type of TCPDUMP

I am having an issue with my tcpdump command i have created. Chances are its wrong. What i want to do is this: Run this command: tc qdisc add dev eth0 root tbf rate 6kbit latency 50ms burst 1540 ...
7
votes
3answers
3k views

Simulating a slow connection with tc

I have a linux box (Centos 5.5) on which I want to limit the network traffic. I have an application that we distribute to clients and I want to test it on the minimum recommended bandwidth of ...
1
vote
1answer
190 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) ...
1
vote
1answer
248 views

Traffic control: marking packets for shaping

I'm seeking advice about which technology to use to classify packets for shaping in traffic control (tc). I've found at least 3 that could be used: iptables MARK iptables CLASSIFY tc filter Which ...
2
votes
1answer
399 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 ...