LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   ICMP packet recieving using hook function (https://www.linuxquestions.org/questions/programming-9/icmp-packet-recieving-using-hook-function-836733/)

Anumathew 10-07-2010 07:23 AM

ICMP packet recieving using hook function
 
I want to receive an icmp packet using net filter hook function. A string will be printed if an icmp packet is received.I am able to print the string. but the packet loss in the log message shows 100%packet loss.
So i changer hooknum = NF_IP_FORWARD.but still its not working.I want to get log message as received 100%

Tinkster 10-08-2010 04:55 PM

Two things:

a) I think you need to rephrase what you said above, maybe
throwing in a code-sample along with what you're trying to achieve.
b) I'm moving this thread to PROGRAMMING as I don't think
Newbie is a suitable place for network programming topics.



Cheers,
Tink


All times are GMT -5. The time now is 04:02 PM.