LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2007, 11:09 AM   #1
GavB
Member
 
Registered: Nov 2006
Posts: 54

Rep: Reputation: 15
Question 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.
 
Old 02-18-2007, 06:37 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 02-18-2007, 06:39 PM   #3
GavB
Member
 
Registered: Nov 2006
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks for that I just weren't sure about what search terms to use, I'll try now
 
Old 02-25-2007, 05:10 PM   #4
GavB
Member
 
Registered: Nov 2006
Posts: 54

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
COM1 to COM 2 DATA transfer ptlchetan Programming 3 10-18-2006 03:58 AM
Bidirectional data transfer ssg14j Linux - Networking 1 10-24-2005 07:59 AM
Data Transfer Dharma_bum07 Linux - Newbie 11 11-26-2004 01:57 PM
No data transfer ! shaahul Linux - Hardware 3 09-16-2003 02:08 AM
file transfer over ssh restrict directory browsing niall0s Linux - General 11 09-11-2003 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration