Reply To: ICMP interception at TDI level

Home Forums Discussions General ICMP interception at TDI level Reply To: ICMP interception at TDI level

#5685
Deneb
Participant

    Hello,

    the code handling / filtering this request is doing

    PIO_STACK_LOCATION pIOSL = IoGetCurrentIrpStackLocation( pIRP );
    ICMP_ECHO_REQUEST* pIcmpEchoReq = ( ICMP_ECHO_REQUEST* )( &( pIOSL->Parameters ) );

    pIcmpEchoReq has a strange format, it doesn’t contain any information that I have passed, such as the IP address to which I’ve issued the ping command. Perhaps there is smth wrong with my code?

    Thank you.