Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 queue which can only do rate limiting). IMQ enables you to use egress qdiscs for real ingress shaping.

Shaping over multiple interfaces:

Qdiscs get attached to devices. A consequence of this is that one qdisc can only handle traffic going to the interface it is attached to. Sometimes it is desireable to have global limits on multiple interfaces. With IMQ you can use iptables to specify which packets the qdiscs sees, so global limits can be placed.

Does pf in BSD land (freebsd openbsd ?) have something like this, or that achieves the same thing? I am looking into how to set a maximum thoroughput per each client, while having multiple wan links.

share|improve this question
1  
What exactly are you trying to accomplish? pf/ALTQ and IPFW/DummyNet can do ingress rate limiting at a logical level. Wire level ingress filtering isn't possible to force on Ethernet. Some protocols can fake being shaped over time, for example limiting ACK rate for TCP. –  Chris S Dec 31 '11 at 3:36
    
PF cannot do incomming traffic shaping, you can only limit outgoing traffic. Although you can prioritize incoming traffic, but not to shape it. quigon.bsws.de/papers/2012/bsdcan FreeBSD has old version of PF, on FreeBSD it is better to stick with IPFW I think. –  Jiri Xichtkniha May 29 '12 at 8:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.