Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Packet capture and retransmission

Status
Not open for further replies.

Cirvam

Programmer
Nov 23, 1999
58
US
Hello, I'm trying to develop a program that will sit on a gateway between the internet and my local lan. The program will scan through the contents of udp packets until it finds a string that matches the search string. Then it will remove the packet from the data stream, change 1 or 2 bytes in the packet and retransmit it. I have the retranmission code however I have no idea how to scan the packets or retransmit the packets.
Can anyone point me to sample code or methods of doing this?

Erik
cirvam@netzero.net

Looking to learn more about Linux, Apache, PHP and others.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top