google / nogotofail

An on-path blackbox network traffic security testing tool
Apache License 2.0
2.94k stars 418 forks source link

blame.py breaks on Windows (missing socket.inet_ntop implementation) #99

Open rvineyard opened 8 years ago

rvineyard commented 8 years ago

I was able to get the blame.py client running on Windows 7 after installing the requisite psutil and pyopenssl modules, however it crashes as soon as a connection is detected. The reason is that the socket.inet_ntop function is not implemented in Python 2.x for Windows. I didn't try with 3.4 (when I believe the official implementation was released), but I found this monkey-patch that works to get the client up and running: https://pypi.python.org/pypi/win_inet_pton