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
//setup the actual payload of the udp packetlet udp_payload = [1,2,3,4,5,6,7,8];//source ip address[192,168,1,42],//destination ip address[192,168,1,1]
I'm trying to use custom udp packet builder with almost same code:
https://github.com/JulianSchmid/etherparse/blob/master/examples/write_ipv4_udp.rs
some context to show the error later
IPv4: (start from 0x45/69)
I'm using raw sockets to send it and Wireshark to view packets
software shows that UDP packet is invalid
payload length is calculated as
udp_header_len + payload.len() = 8 + 8 = 16
but as we see there is no
payload
at the generated packetThe text was updated successfully, but these errors were encountered: