Closed picatz closed 6 years ago
hey! that's a great gem :tada:
I will have a look at it, when i will have some time :confused:
Thanks! ๐
If you are interested, I can spend some time this week replacing network_interface
with interfacez
.
Yes, this could help.
@picatz may you add a method to get hwaddr (ie MAC address) on a given interface? This should help to replace NetworkInterface by Interfacez.
@sdaubert I think I should be able to implement that. ๐
@sdaubert Got those issues addressed. I released new gem version (1.0.3) ๐
Should be fixed by #85
@sdaubert That's awesome! ๐ โค๏ธ โจ
๐ Hello @sdaubert, I really hope you're doing well!
This morning I decided to run
rspec
on this repository and came across an error on macOS:I believe this to be attributed to the default capture interface
lo
. On macOS, perhaps at the very least on my laptop, the loopback interface is namedlo0
.Interfacez
I wrote a gem a little while back called
interfacez
. This gem uses the Ruby standard library under the hood and provides a clean semantics for this behavior I think we're looking for. Moreover, I really think it could be a replacement forNetworkInterface
( written by Rapid7, with lots of slow C bindings ) and eventPcap.lookupdev
.Example Usage