That script seems full of linuxisms like ip route and accesses to /sys. Den tor 22 nov. 2018 01:45 skrev stephan <[email protected]>:
> Hey I am trying to create an Address Resolution Protocol (ARP) > requester'er. > I keep getting an unpack error. > > > here is the code https://pastebin.com/GRh6Cr15 > > and I'm trying to do these functions in def getMAC(ip): > send an ARP request, wait for an ARP response, send it to the NIC, and then > receive packets until you see the ARP reply from the destination. Once you > receive this reply, extract the MAC address, and return it. > > > Thanks > > > > -- > Sent from: > http://openbsd-archive.7691.n7.nabble.com/openbsd-dev-tech-f151936.html > >
