robertdoo / libcrafter

Automatically exported from code.google.com/p/libcrafter
0 stars 1 forks source link

Request for Portablity #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is a great project in Linux. But why it's not portable to other operating 
systems such as Windows/MinGW? 

There is no technical problem to do it. I personally changed it by 
 - Removing DNS related files and RawSocket files
 - Including some missed header files from Linux
 - Adding some missed functions such as inet_pton
 - Change some functions such as GetMyMac with portable codes
 - Replacing SocketSend with pcap_sendpacket in Packet::SendRecv,... 

It works fine and it's portable.

The most problem was raw-sockets (I think) but we can replace it with 
pcap_sendpacket and achieve some good functionality in Windows. 

I know my changes is ugly, but I believe we can port it and use the power of 
Libcrafter in Windows too.

Original issue reported on code.google.com by montazer...@gmail.com on 8 Dec 2012 at 10:24

GoogleCodeExporter commented 8 years ago
I agree. The main problem is that I (the developer) do not use Windows for 
development. Nevertheless, following your guidelines I can start to port 
libcrafter to windows. 

Any contribution related to libcrafter + Windows is more than welcome :-)

Thanks!

Original comment by pellegre...@gmail.com on 8 Dec 2012 at 5:35

GoogleCodeExporter commented 8 years ago
Has anyone made any progress on porting this library? If so, could you please 
post your results? I would really like to use libcrafter in one of my current 
projects.

Thanks!

Original comment by nros...@gmail.com on 19 Nov 2013 at 5:31