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

I have tried reading up on different methods of limiting (rate/bw) with haproxy, but seems the only working implementation I find is per /32 ip based limit. Is it possible to do rate limiting based on acl?

Samba has a nice solution to this, where the parameters to limit (based on acl) is: /0 /24 /32 .. so first variable is for the whole acl, next for /24 net, and last for single ip.

share|improve this question
add comment

1 Answer

You can limit sessions with ease, but considering you want to manipulate L3/L4 would it not be more appropriate to handle the limiting at a lower level - ie. With IP tables.

Eg. http://serverfault.com/a/403001/113375

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.