Can I capture raw icmp packet by libnet? #155
-
The Linux kernel filters out IP packets at Layer 3 whose destination address is not local,Does libnet provide icmp capability to capture non native ip? |
Beta Was this translation helpful? Give feedback.
Answered by
ivalery111
Dec 27, 2022
Replies: 2 comments
-
Hey, As I know, a libnet is about a crafting the network packets. You want to capture the packets. This can be done with pcap or another tools. IMHO, this example will be useful for you. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
troglobit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
As I know, a libnet is about a crafting the network packets. You want to capture the packets. This can be done with pcap or another tools.
IMHO, this example will be useful for you.