java - Using jpcap to forge ARPRequest -
when use jpcap forge arp request , notice jpcap adding trailer of 18 byte zeros tail of arp not interested in sending data. there way prevent padding.
the zeros you're seeing padding ethernet frame. ethernet packets have minimum payload size of 42 bytes (the reasons have sender needing transmit amount of time detect collisions). far know there's no way prevent this, , doing against ethernet specification.
also see question @ https://serverfault.com/questions/496324/arp-packet-received-larger-than-packet-sent-why
Comments
Post a Comment