how to determine tcp rate & classifying packet info
hello everybody
need help
how should i control the tcp rate, is it possible?
also,
suppose i have 2 database tables :
1) one for online accounting &
2) one for online sales updating
now both of these transactions which will update my SQL server databse will be on the same port number
how can i classify these packets so that i can give high bandwidth & highest prio to type 2 packets.
10x in advance.
ganesh.
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Quoted 5 lines · ganesh palwe
hello everybody
need help
how should i control the tcp rate, is it possible?
It's possible
www.lartc.org
www.docum.org
Quoted 6 lines
also,
suppose i have 2 database tables :
1) one for online accounting &
Quoted 7 lines
2) one for online sales updating
now both of these transactions which will update my SQL server databse will be on the same port number
how can i classify these packets so that i can give high bandwidth & highest prio to type 2 packets.
What if you the iptables helper that can match packet with a string in it? I think the select is unique so you can see the difference. Once you can recognise the packets, you can mark them with iptables. That mark can be used to put the packets in differenct classes so you can configure different rates for the packets.
But this will suck if you select statement is too big for one packet.
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 21 lines
Quoted 6 lines
hello everybody
need help
how should i control the tcp rate, is it possible?
It's possible
www.lartc.org
www.docum.orgQuoted 9 lines
also,
suppose i have 2 database tables :
1) one for online accounting &
2) one for online sales updating
now both of these transactions which will update my SQL server
databse will
Quoted 16 lines
Quoted 4 lines
be on the same port number
how can i classify these packets so that i can give high bandwidth & highest prio to type 2 packets.
What if you the iptables helper that can match packet with a string in it?
I think the select is unique so you can see the difference. Once you can recognise the packets, you can mark them with iptables. That mark can be
used to put the packets in differenct classes so you can configure different
rates for the packets.
But this will suck if you select statement is too big for one packet.Stef
Signature · 22 lines
still needing help ! i m very sorry to say that i hardly have got any useful stuff regarding controlling tcp rate, rather packeteer information was good (TCP Rate Control - by Shrikrishna Karandikar). what i want to do is everytime i want to establish a connection with any server(say X-server ) on the basis that X should send me data at agreed upon rate, the rate should not increase beyond that value. can i implement it? if yes where can i find information? Ok,next was for classifying packet by making use of marking what if i m using u32 classifier instead of fw. is there utility with u32 to mark packets. also, what i think is that, classifiers will come into the picture after the connection establishment, so how could they differentiate 2 different type applications for same service? 10x in advance ganesh. --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Well red the doc on the cues. I know on the HTB que, there is a rate and a coil setting. The rate is the rate at wich the packegges are sendt in kbyte, and the coil is a burst funktion, so if you set the coil and the rate at the same speed you vil get a specifik rate that your packagges are send. But it is not easy to controle the actual rate, because when you set a rate, you actualle drop tcp packagges, the the protocol will slow down by it self.
Look at the Advanced Routing howto.
CandyMan
Quoted 60 lines · ganesh palwe
Quoted 21 lines
Quoted 6 lines
hello everybody
need help
how should i control the tcp rate, is it possible?
It's possible
www.lartc.org
www.docum.orgQuoted 9 lines
also,
suppose i have 2 database tables :
1) one for online accounting &
2) one for online sales updating
now both of these transactions which will update my SQL server
databse will
Quoted 14 lines
Quoted 4 lines
be on the same port number
how can i classify these packets so that i can give high bandwidth & highest prio to type 2 packets.
What if you the iptables helper that can match packet with a string in it?
I think the select is unique so you can see the difference. Once you can recognise the packets, you can mark them with iptables. That mark can be
used to put the packets in differenct classes so you can configure different
rates for the packets.
But this will suck if you select statement is too big for one packet.Quoted 2 lines
Stef
--
still needing help !
i m very sorry to say that i hardly have got any useful stuff regarding controlling tcp rate, rather packeteer information was good (TCP Rate Control - by Shrikrishna Karandikar). what i want to do is everytime i want to establish a connection with any server(say X-server ) on the basis that X should send me data at agreed upon rate, the rate should not increase beyond that value. can i implement it? if yes where can i find information?Ok,next was
for classifying packet by making use of marking
what if i m using u32 classifier instead of fw.
is there utility with u32 to mark packets.
also,
what i think is that, classifiers will come into the picture after the connection establishment, so how could they differentiate 2 different type applications for same service? 10x in advance
ganesh.
Quoted 3 lines
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 1 line · ganesh palwe
still needing help !
I have simple answer : rtfm.
Quoted 6 lines
i m very sorry to say that i hardly have got any useful stuff regarding controlling tcp rate, rather packeteer information was good (TCP Rate Control - by Shrikrishna Karandikar). what i want to do is everytime i want to establish a connection with any server(say X-server ) on the basis that X should send me data at agreed upon rate, the rate should not increase beyond that value. can i implement it? if yes where can i find information?
again
www.docum.org
www.lartc.org
Quoted 4 lines
Ok,next was
for classifying packet by making use of marking
what if i m using u32 classifier instead of fw.
is there utility with u32 to mark packets.
rtfm. Fw is a filter that can match packets you marked with iptables/ipchain. u32 is an other filter that can use any bit in a tcp packet to filter the packets.
Quoted 4 lines
also,
what i think is that, classifiers will come into the picture after the connection establishment, so how could they differentiate 2 different type applications for same service? 10x in advance
See kptd on www.docum.org
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/