LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-09-2006, 04:24 AM   #1
fakhrul
Member
 
Registered: Mar 2006
Location: Dhaka,Bangladesh
Distribution: Ubuntu 12.10
Posts: 51

Rep: Reputation: 15
Question 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.
 
Old 04-10-2006, 01:07 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 04-12-2006, 03:49 AM   #3
fakhrul
Member
 
Registered: Mar 2006
Location: Dhaka,Bangladesh
Distribution: Ubuntu 12.10
Posts: 51

Original Poster
Rep: Reputation: 15
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.

but when i post i think, you will tell me everything.

However it is a good guide for me and thanx a lot.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
drop packets for specific port with iptables ohcarol Linux - Security 1 07-03-2005 10:48 AM
how to delay and drop the packet sonika_singhi Linux - Networking 4 04-02-2005 04:55 PM
drop incoming/outgoing packets using iptables doshiaj Linux - Security 1 06-08-2004 10:38 AM
How to intentionally drop packets? imarunner Linux - Networking 5 12-31-2003 08:10 AM
why does the kernel drop packets ? mr.moto Linux - Networking 3 12-08-2002 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration