C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 09-01-2006, 11:56 AM   #1
Registered User
 
Join Date: Sep 2006
Posts: 2
Accessing and editing packets of other applications

Hi Everyone!

I am new to programming for Linux. I want to build an application which allows me to capture/see all packets emanating from my system (any process) and make changes to them and perhaps even drop them. Similarly when the system recieves a packet for some application, it should first come to me and then i can make changes to it and then hand it over to the application.

As i said i am new to this. I am using Fedora Core 4. I have got my networking basics done and have also started doing some basic socket programming using C++. I would be grateful if some one can tell me how should i approach my problem.

I have had a look at libpcap and libnet but they dont tell me how i can access packets coming to my system and change them. I can access packets or actually just view them, how can i make actual changes to the packets flowing across?

Thanks in advance and looking forward to any kind of help.
Inder is offline   Reply With Quote
Old 09-01-2006, 12:00 PM   #2
Registered User
 
Join Date: Sep 2006
Posts: 2
Can the admins please move this to the networking board. Sorry for the trouble.
Inder is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump


All times are GMT -6. The time now is 04:06 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22