How to count and make delay and drop packets forgely
It is necessary for my experimental setup where i need to drop and delay some packets coming from a host. the scenario is like the following:
Host A is sending some voice packets (Rtp/udp)to Host B via router R and vice versa. i need to count the packet numbers coming from both A and B, the counting process will be in R. I will drop the 4 th packet coming from A, 11th packet from B will be delayed for 150 ms etc. |
interesting requirement.. a quick google brings up some answers for the delay http://people.redhat.com/berrange/no...ork-delay.html
as for the counting part... there is a "nth" option to pick a regular set: http://linuxgazette.net/108/odonovan.html or probably better is a random percentage also defined therein. |
So many thanx to LQ folk (moreover a moderator)who do the google search and filter out right thing for a pampered member that can he do merely :).
NO no man don't do it, Linux community is used to do stuff themselves, this will make them like microsoft's lazy users.:jawa: :p :scratch: but when i post i think, you will tell me everything.:D However it is a good guide for me and thanx a lot. |
All times are GMT -5. The time now is 02:34 AM. |