hi..
I want to broadcast a UDP message in my LAN with fake source IP ( spoofing ) 1. Do winpcap able to do this ? 2. Do this work on winxp, win7 ? 3. i'm using delphi, is there any good components available ?
Thanks.
hi..
I want to broadcast a UDP message in my LAN with fake source IP ( spoofing ) 1. Do winpcap able to do this ? 2. Do this work on winxp, win7 ? 3. i'm using delphi, is there any good components available ?
Thanks.
Yes, you can do this with winpcap. It should work on Windows 7 (though you may have to get a beta version of it). This is all I could find for doing it in delphi:
http://www.magsys.co.uk/delphi/magmonsock.asp
I don't know how well that works with the latest version of winpcap though. I'd seriously consider just doing it in C or C++.
Since your goal is to allow UDP broadcast in the VPN I suggest to take a look at VPN solutions that does not drop those packets such as Hamachi or Gamer's Internet Tunnel instead of creating your own solution.