Python scripts to forward data from a UDP port to an Ethernet interface and back. Scripts allow setting Ethertype parameter.
The purpose of these scripts is to be a "Link Layer entity" for a GeoNetwroking implementation.
For a Python-free AF_PACKET-based Linux-only alternative, see udp2eth.
The scripts require PcapPy, dpkt and netifaces (requires python-dev
). Install them with:
easy_install pcappy
pip install dpkt netifaces