LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-14-2004, 04:23 AM   #1
pin_bk
Member
 
Registered: Jan 2004
Posts: 45

Rep: Reputation: 15
TC QDSIC or how to manage single IP ADDRESS


In My LAN i Have a computer that manages to take over the whole bandwidth with edonkey p2p soft. How to limit his download to some 3Kps usting TC?
 
Old 10-15-2004, 03:25 AM   #2
pin_bk
Member
 
Registered: Jan 2004
Posts: 45

Original Poster
Rep: Reputation: 15
for now I have managed to block edonkey port using iptables, where I have blocked ednokey port for every IP address, in my LAN - in this rule you can't connect to eny host on ports 4660 4661 4662 4663 4664 4665

memo:~ # iptables -A FORWARD -p tcp --source-port 4660 -i eth1 -j DROP
memo:~ # iptables -A FORWARD -p tcp --source-port 4661 -i eth1 -j DROP
memo:~ # iptables -A FORWARD -p tcp --source-port 4662 -i eth1 -j DROP
memo:~ # iptables -A FORWARD -p tcp --source-port 4663 -i eth1 -j DROP
memo:~ # iptables -A FORWARD -p tcp --source-port 4664 -i eth1 -j DROP
memo:~ # iptables -A FORWARD -p tcp --source-port 4665 -i eth1 -j DROP

But I still have to look what happens on the network, did he install some new p2p software etc..
 
Old 10-15-2004, 03:46 AM   #3
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
You can find a great deal of traffic control information in the Linux Advanced Routing and Traffic Control howto.
Check out this for example: http://lartc.org/howto/lartc.qdisc.html
 
  


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
Multiple IP address/gateways single nic 1192bo Linux - Networking 2 11-15-2005 07:51 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
Multi IP Address to Single ethernet card scratch09 Linux - Networking 4 02-22-2005 10:22 PM
multiple ip address for single eth interface blackhound Linux - Networking 2 02-25-2004 06:02 AM
Using SPEWS with EXIM, can I white list a single email address? m3kgt Linux - Software 0 01-23-2004 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:52 PM.

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