You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the ICMP headers don"t have fixed length and could be > 28 bytes.
idem for data.
Don't know if it is depending on the OS or the net/icmp library
=> Change default value of data packet size to 65488 (Data take 2bytes more afterwards, and sometimes 3)
It seems that the getPacket does not take into account ICMP packet header:
cf
QueenSono/pkg/icmp/receive.go
Line 138 in 59dd5da
Try replace it by 65535, to get the whole size of th ip packet
(https://stackoverflow.com/questions/9449837/maximum-legal-size-of-icmp-echo-packet)
The text was updated successfully, but these errors were encountered: