Open dhanakane opened 7 years ago
Thank you both for putting this together. Some time in the next few days I'll take a look and decide how best to use it. (I'm a little frazzled at the moment post-PyCon and I'm going to be busy at work, having been away for some days).
Related to https://github.com/tjguk/networkzero/issues/18
@mmEissen and I added a couple of simple client and server scripts to aid with troubleshooting and to overcome a problem where networkzero attempted to bind to the local loopback address (127.x.x.x) on OSX.
The server script will select the first valid RFC1918 IP address and bind networkzero to it. The client script should then be able to successfully discover and send messages to the server.
The server script also prints a message listing the IP address it is bound to in order to aid with troubleshooting without resorting to packet captures.
We're already thinking there could be some corner cases (secondary IP addresses on interfaces, multiple interfaces on a device), but can tackle these once encountered.