Networking Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationNetworking Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 14th, 2004, 09:30 PM
blackzone blackzone is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 10 blackzone User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 19 sec
Reputation Power: 0
capturing IP packet

Basically I have a program which would send out IP packet periodically.

without modifying the original program, I want to write another program that could capture the IP packet before it is send through the NIC, modify it and send it out.

that means the original program would still call the sendto function but I just dont' send it. I'll capture it, modify it than send it out.

Anyone have an idea how to do it?
================================================

The exact detail is. I am doing a DNS server project. Using MaraDNS I want to do incoming traffic load balancing.

Right now I modified the original MaraDNS source code, and change the DNS reply packet manually.

For intuitive reason, I'm hoping that I don't need to modify the MaraDNS source code in anyway. Moreover I'm hoping that I can make it portable, that is running on other DNS server program also. So best way is directly modifying the packet before it is send. Can someone give a hand?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationNetworking Help > capturing IP packet


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway