Accessing and editing packets of other applications

This is a discussion on Accessing and editing packets of other applications within the Linux Programming forums, part of the Platform Specific Boards category; Hi Everyone! I am new to programming for Linux. I want to build an application which allows me to capture/see ...

  1. #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.

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    2
    Can the admins please move this to the networking board. Sorry for the trouble.

Popular pages Recent additions subscribe to a feed

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