Page 1 of 1

QOS: how can one identify heavy side of an TCP connection?

Posted: Thu Jan 14, 2010 1:10 pm
by rmichael
How can I determine which side of the TCP or UDP connection (upload or download) is larger?

Re: QOS: how can one identify heavy side of an TCP connection?

Posted: Sat Jan 23, 2010 8:15 am
by lukkes
dont understand your question, excuse me

Re: QOS: how can one identify heavy side of an TCP connection?

Posted: Sat Jan 23, 2010 2:44 pm
by Chupaka
he means, if user connects, for example, to the web server, he wants to determine whether user mainly downloads or uploads via that connection.

unfortunately, I can't see a way to do that. rmichael, what to you want to do with that heavy side?

Re: QOS: how can one identify heavy side of an TCP connection?

Posted: Sat Jan 23, 2010 8:24 pm
by rmichael
I want to choke heavy downloads on the upload (ack) side.

Re: QOS: how can one identify heavy side of an TCP connection?

Posted: Sat Jan 23, 2010 11:40 pm
by xins
its very easy :)

search forum or wiki for connection bytes and conn rate :) for mangle

and then chocke it in QT

Re: QOS: how can one identify heavy side of an TCP connection?

Posted: Sun Jan 24, 2010 1:01 am
by Chupaka
he wants to limit ACK responses, as I understand... I'm hot sure if it's really possible...

Re: QOS: how can one identify heavy side of an TCP connection?

Posted: Sun Jan 24, 2010 3:42 am
by accmap
It also doesn't sound very wise. Dropping an ACK is as good as dropping two packets that were actually delivered, maybe more. It is counter-productive. If you want to limit a download, limit the download. If you want to screw up your network, drop ACKs.

And then there is the fact that UDP doesn't have such a thing as an ACK. ACK is a TCP protocol feature.

Re: QOS: how can one identify heavy side of an TCP connection?

Posted: Mon Jan 25, 2010 6:26 am
by rmichael
I think there's a way to do it with connection size and dst limit but I'm still trying to figure it out :D

Re: QOS: how can one identify heavy side of an TCP connection?

Posted: Mon Jan 25, 2010 7:06 am
by lukkes
please if you can find the way, please tell us. i'm working on it too..