LinuxQuestions.org
Help answer threads with 0 replies.
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 06-25-2004, 01:53 AM   #1
ashutoshsharma
LQ Newbie
 
Registered: Mar 2004
Location: Ahemdabad
Distribution: Red Hat
Posts: 6

Rep: Reputation: 0
Question Packet Grabbing in NS


Hello

I am presently working on Network Simulator under Linux. Actually I have a problem that I wanted to grab a packet which is getting transmitted through a link between nodes in a network setup and then I want the contents of that packet to be modified and then transmit that packet at my specified time. In simple terms, suppose there are 2 nodes in a network n1, n2 and a duplex link between them. Now node n1 is having TCP source connected to FTP and node n2 is having TCP Sink. Now suppose packet number 5 is on the link which is to be transmitted. So first of all it will get queued to the Queue of the Link. So I want to alter the packet 5 say modifying the data that it carries, and then I will forward that packet to the node n2 at my specified time.....

How is it possible in NS scripting Language with OTcl...

Please Help me...

Regards,
Ashutosh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Packet Filter to redirect a packet to a user level process akawale Linux - Networking 3 09-01-2006 12:06 PM
how do i read the data in the packet that i have captured after packet capture? gajaykrishnan Programming 23 04-19-2006 05:09 AM
packet fragmentation in packet forwarding code cranium2004 Linux - Networking 0 05-16-2005 04:05 AM
How to change Packet to look like a Windows packet? TimeFade Linux - Networking 10 08-28-2003 08:08 AM
Suggestions for packet sniffer w/ packet viewing? TruckStuff Linux - Networking 5 05-31-2002 09:50 AM

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

All times are GMT -5. The time now is 09:10 PM.

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