Restrict data transfer on individual ports
I'm not sure if this is possible at all - I haven't been able to find anything about it,
But is it possible to restrict the amount of data that can be transferred over an individual port? for example if I have a 100Mbit/s server and wanted to restrict all traffic on port 8000 to 10Mbit/s, can that be done? Thanks for reading :) hope someone can help. |
I'm not sure if this is possible at all
Yes it is. I haven't been able to find anything about it The term is "traffic shaping", lotsa threads about that on LQ. |
Thanks for that I just weren't sure about what search terms to use, I'll try now :D
|
OK, I might need some help with this if someone doesn't mind. I did quite a bit of searching and found this:
http://www.netfilter.org/documentati...-3.html#ss3.13 The problem is that the command shown there doesn't work, I get the following error: # iptables -A INPUT -p tcp --dport 80 -m quota --quota 52428800 -j ACCEPT iptables v1.2.11: Couldn't load match `quota':/lib/iptables/libipt_quota.so: cannot open shared object file: No such file or directory Try `iptables -h' or 'iptables --help' for more information. anyone know how to get around this? Maybe there is something else that needs installing? Thanks. |
All times are GMT -5. The time now is 07:30 AM. |