[Winpcap-users] Using WinPcap for packet translation

Gary Berkheiser gkberkheiser at yahoo.com
Wed Dec 7 20:11:07 GMT 2005


Greetings all,

I have an interesting and seemingly simple application
to write.  My timeframe is short, so I don't want to
delve into the bowels of Windows if I can avoid it. 
Also the application is of a "throw away" nature, it
should only have about a year of use.

I need to run a "packet translator" within a PC.  The
PC has a client app that will talk via PPPoE.  My app
will act as a PPPoE server and handle all the PPPoE
handshaking.  On the other end, it will convert the
PPPoE payloads to UDP and send them to the device on
the other end of the Ethernet cable.  It will, in
turn, receive the UDP packets from the other device
and reconstruct them as PPPoE.  The actual conversion
looks simple and will code up quickly.  My problem is
in getting access to the full Ethernet header which is
where a capture program comes into play.
Can this be done (reasonably quickly)?

TIA,
Gary Berkheiser




		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



More information about the Winpcap-users mailing list