[Winpcap-users] Sending packets upwards (to local IP stack)

Gianluca Varenni gianluca.varenni at cacetech.com
Sun Dec 21 19:39:40 GMT 2008

It's not possible with WinPcap. With WinPcap you can only send/receive packets to/from the lower layer i.e. usually the network card. In order to inject packets back to the IP stack you would probably need an NDIS intermediate (IM) driver, or a virtual miniport.

Have a nice day
  ----- Original Message ----- 
  From: Bengt Werstén 
  To: winpcap-users at winpcap.org 
  Sent: Wednesday, December 17, 2008 5:50 AM
  Subject: [Winpcap-users] Sending packets upwards (to local IP stack)



  I'm trying to replay messages from machines located on a VPN connection by spoofing their IP when sending the packages. It works fins because we send the packages to our self and the router/switch will return the message that we sent back to us. But I do not want to rely on this and some packages are of multicast type so other machines might get them and they have no valid route to the source IP. What I wonder is if it is possible to generate a package only to our local machine but instead create an incoming message instead of an outgoing. Is this possible? 


  Best regards,

  Bengt Werstén


  Winpcap-users mailing list
  Winpcap-users at winpcap.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20081221/f57efc4c/attachment.htm

More information about the Winpcap-users mailing list