Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Examining and modifying packets in userspace using Netfilter


    I wanted to know how I could look at IP packets (including header and payload) arriving at a Linux Box by redirecting them to a users level process.

    I plan to modify the TCP and IP headers in the process before sending them on the wire again.
    This is just an academic excercise and not a system admin problem.

    I am looking for a solution with minimal amount of kernel programming or firewall configuration.

    I have looked at Netfilter documents but none of them have specified an exact method telling me what to do.


    - Akshay

  2. #2
    read more on Netfilter package you can find the way to do it. all things you need to learn is how to write driver kernel module and hook function using netfilter, then you can do whatever you want to do. you also can read more about this at

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts