the right way to grab UDPs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 I want to intercept UDP packets from a specific IP when they are 
going to be forwarded though a machine. There are basically two ways
to do this using iptables:

- sending packets to the userspace by libipq and then reinjecting them
- opening a dummy socket, making packets forwarded to the dummy socket
  instead, then resending them over another dummy socket, setting the
  iptables to spoof their source IP to the original IP of the sender

 What do you think of these ways? Thanks for any comments.

      ciao,
      Farshad





_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux