Re: How to limit per tcp session ?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 17 June 2004 01:51, Bill Denney wrote:
> I've been told previously that this was not possible for the current setup
> (though I'd be happy to be corrected now).  I was wondering how one would
> go about funding such an effort to be added to the current tc?  I've heard
> from several people who would be interested, and it seems that it should
> be feasible to add to the current tc programs (though I admit ignorance in
> the simplicity).
> If there are any kernel/tc developers reading, I'd be interested in
> finding out what it would take to have this added (as apparently would
> others).
> Thanks,
> Bill

I'm so surprised with all reply from the list. I thought someone has figured 
it out how :))

Okay, then let me describe whats on my mind to help develope this project (if 
someone dare to start make a project)

The idea perhaps like this:
Let say i'm goin to download some graphics from www.lartc.org. The first 
session i opened my browser, created connection localhost:3101 --> 
www.lartc.org:80, the 2nd, localhost:3102 --> www.lartc.org:80, and so on.
So as you could see, this is the key. Source port, not Destination port.
Every time you open new window of your browser and connect to some host, they 
create other originating port which is completely different from the 1st.

If i am crazy enough, then i'll create script to write and put Originating 
port of some host or network from 1 until 65535 into qdisc. But i dont think 
this is a good solution for this and i dont think there is no side effect for 
this.

I think, i'll let developers figure it out.
Thanks once again.

Regards,.
Rio Martin.
--
IT Engineer of ITENAS.

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux