How do i send an raw ethernet frame in python
I need to have a project done in a few days, its a basic client and server interface. The catch is that it needs to be all raw sockets. I have no problem with creating that, I am just stuck on sending the packets. First I tried to bind it to an interface 'en1' but it keeps giving me an error nodename not known . When I bind it to my local ip address it works fine. After completing this I created a raw packet class, its all in hex. I then did a sendto call to send it on the wire. The problem is that when I capture the packet by using wireshark it shows up as being the payload of a ipv4 packet.