hping icon indicating copy to clipboard operation
hping copied to clipboard

--icmp-ipid does not affect the identifier in ICMP echo requests

Open kontaxis opened this issue 10 years ago • 0 comments

Command-line argument --icmp-ipid updates variable icmp_ip_id which is never used to set the identifier field in the ICMP header of echo requests (icmp type 8). Instead, in sendicmp.c getpid() is used to set variable icmp->un.echo.id which I'm guessing is the default behavior (random identifier).

kontaxis avatar Dec 03 '15 17:12 kontaxis