LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Restrict data transfer on individual ports (https://www.linuxquestions.org/questions/linux-newbie-8/restrict-data-transfer-on-individual-ports-530159/)

GavB 02-18-2007 11:09 AM

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.

unSpawn 02-18-2007 06:37 PM

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.

GavB 02-18-2007 06:39 PM

Thanks for that I just weren't sure about what search terms to use, I'll try now :D

GavB 02-25-2007 05:10 PM

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.