IP Masq box and Napster

I have a IP Masq box running as a gateway in my house so that my roommates and I can all use our cable modem. THe problem is that several of my roommates use napster and its eating our bandwidth.

I was hoping someone out there might no of a way that I can limit (preferably by percentage of maximum available) the bandwidth available to their napster ports.

Note: due to my own lazyless I am still running kernal 2.0.36.
bishmaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

feenixCommented:
For 2.0 series kernel there is no easy solution. For 2.2 series there might be a solution with the traffic shaper module. Though it can only reduce the outgoing traffic, it might be possible to use it to reduce the traffic. Or to use the QoS system in 2.2.

I myself would have needed the same kind of system some time ago, but I found none.
0
bishmaAuthor Commented:
I assume you're right on this one (I new 2.0.36 was pretty limiting on such things) but I'd like to leave it open a while and see If anyone else comes up with anything.
0
ventolinCommented:
you could go with shaper but for $595 you can get the goods at:

ET/BWMGR - Bandwidth Manager
http://www.etinc.com/

version 2 of squid proxy... compile with:
--enable-delay-pools    Enable delay pools to limit bandwith usage
http://squid.nlanr.net
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

bishmaAuthor Commented:
not really what I was looking for for a simple linux gateway and a cable modem
0
AlexanderCommented:
Like feenix tells you, there is nothing that can be done with a 2.0.xx kernel. You should upgrade to 2.2.xx kernel and use ipchains with TOS (Type Of Service) it will place the napster packets in a "lower priority" queue and the speed of your connection won't be affected by napster's users.

(sorry for my bad english)

if you update your kernel, i can give you the exact command with ipchains to do that :

ipchains -I output 1 -p tcp -s 0/0 <napster_port> -t 0x01 0x08

Don't forget to add the TOS option when compiling your 2.2.xx kernel !

It is obvious that you don't have any control on incoming packets. To do that, it is not simple and you should use an RSVP protocol.

Hope it will help.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bishmaAuthor Commented:
Works for me. I'll be upgrading to 2.2.15 as soon as it is available (I've there ip masq can be unstable in some situations with 2.2.14). Thanks for the ipchains command, it'll keep me from having to look it up later.
0
AlexanderCommented:
if you want more details about TOS, you can take a look at :
http://uhp.u-nancy.fr/linux/linuxdoc/HOWTO/IPCHAINS-HOWTO.html

in section 4.1 at sub-section "Manipulating the Type Of Service"

good luck and thanks for the points !
:)

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.