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

Popular posts from this blog

monitor web browser programmatically in Android? -

ios - iPhone/iPad different view orientations in different views , and apple approval process -

Shrink a YouTube video to responsive width -