The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
1answer
905 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
797 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
680 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
871 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
1k 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
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
1answer
808 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
391 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 ...
8
votes
5answers
889 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
187 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 ...
10
votes
6answers
7k 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 ...
4
votes
0answers
886 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
362 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
457 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
781 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
439 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
871 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
2k 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?
0
votes
2answers
1k views

Squid packet injection / replace

I have a server which will act as a proxy, using squid. My goal is to have something replace outgoing data. I tried ettercap, no luck whatsoever. The idea is, whatever-will-replace-data needs to run ...
1
vote
1answer
119 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 ...
2
votes
1answer
623 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
1k 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
260 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
4k 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
229 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
352 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
445 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 ...
3
votes
4answers
3k 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 ...
5
votes
2answers
950 views

Improving Skype quality

Every now and then I revisit the issue of shaping skype traffic. AFAIK Skype is notorious for ignoring most settings - incoming ports, proxies, etc so it is not possible to give special treatment to ...
8
votes
3answers
11k views

How can I do traffic shaping in Linux by IP?

We have a transparent proxy setup. I tried looking for traffic shaping in Linux, and all I could find online was to limit traffic by interface (eth0/eth1...). I need to limit the bandwidth (never ...
0
votes
1answer
1k views

How to prioritize openvpn traffic?

I have an openvpn server, with one network interface. VPN traffic is extremely slow. I tried to do traffic control with this configuration (currently): qdisc del dev eth0 root qdisc add dev eth0 root ...
0
votes
3answers
3k 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. ...
0
votes
3answers
419 views

Distinguishing between types of P2P traffic on a Packet Shaper

I attend and work at a university where we have a packet shaper (an old Packeteer -- 3-ish years old or so) which relegates P2P traffic to the lowest priority in the queue in order to prevent P2P ...
0
votes
2answers
2k views

higher traffic priority for FPS game in Linux

Goal: when running a FPS game in Linux, automate the setup of higher priority for its network traffic I know such tasks are usually accomplished with a combination of iptables (to mark IP packets ...
1
vote
4answers
10k views

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?
0
votes
1answer
444 views

Applying a quota to network bandwidth (guarantee minimum throughput)

I have a 10Mb internet connection (via an ethernet cable) I have five servers that will use this internet connection. I want each server to be able to use as much bandwidth as possible when it is not ...
2
votes
1answer
4k views

Squid delay pools and multiple ACLs evaluation

I am testing squid 3.0 on a ubuntu amd64 box. I am facing a problem with the delay pool classes when I set the delay_access parameters with multiple ACLs. Have been going through the squid wiki and ...
8
votes
3answers
18k 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.
3
votes
2answers
176 views

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

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 ...
2
votes
2answers
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 ...
1
vote
2answers
648 views

How much traffic a linux-based shaper would be able to chew

I have a linux based traffic shaper (iptables + tc htb policy). It works in bridge mode. Shapes traffic based on IPs and ports (there are about 100 rules in the "mangle" chain of iptables). Right now ...
8
votes
4answers
1k views

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

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

Troubleshooting iptables and configuring it to drop the priority of long-term connections

I'm somewhat familiar with the general concepts of iptables, and would like to learn it in more detail. I'm hoping that my learning experience can also be useful. The situation: I'm running dd-wrt ...
2
votes
3answers
4k views

Shaping outbound Traffic to Control Download Speeds with Linux

I have a situation where a server makes lots of requests from big webservers all at the same time. Currently, I have not control over the amount of requests or the rate of the requests from the ...
1
vote
9answers
2k views

Need solutions in sharing a 3Mb/768Kbps DSL line to 60+ users and faster bandwidth

Two parts. Part 1: We currently have 2 DSL Lines with 3Mb/768Kbps speeds load balanced for 60+ users. Accessing the Internet is borderline unusable. The simple solution would be to get a faster DSL ...