LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to count and make delay and drop packets forgely (https://www.linuxquestions.org/questions/linux-networking-3/how-to-count-and-make-delay-and-drop-packets-forgely-433276/)

fakhrul 04-09-2006 04:24 AM

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.

acid_kewpie 04-10-2006 01:07 PM

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.

fakhrul 04-12-2006 03:49 AM

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.