kognise / arpchat

Answering the question nobody asked: what if you wanted to text your friends using only ARP?
Other
2.47k stars 48 forks source link

Use Ethertype reserved for experimentation instead of IPv4 Ethertype #4

Closed charasyn closed 2 years ago

charasyn commented 2 years ago

i'm planning on experimenting with and adding settings for different arp packet types, since some routers might filter out the malformed ip packets i'm currently using.

Looking at the list of Ethertype values, it appears that 88B5 and 88B6 are reserved for experimentation. From https://standards-oui.ieee.org/ethertype/eth.txt and referring to 88B5:

Local Experimental EtherType 1 as defined in IEEE Std 802.  This EtherType
value is available for public use and for prototype and vendor-specific    
protocol development. 

I think it would probably make more sense to use one of these as the protocol type in the ARP packet instead of IPv4. Thoughts?

kognise commented 2 years ago

I think this should be best implemented as a configurable setting - I agree that using an experimental EtherType is more polite and "proper", but I think some routers might be more inclined to forward IPv4 packets. I'll probably add an option somewhere after I finish implementing a heartbeat system and doing some refactoring.

kognise commented 2 years ago

arriving at an arpchat near you in several minutes: