Results 1 to 1 of 1
In a nutshell, if I create an ICMP ping request from link level upwards and send it via a PF_PACKET/SOCK_RAW socket bound to the loopback interface (lo), why doesn't the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-17-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
PF_PACKET socket bind to loopback interface (lo)
In a nutshell, if I create an ICMP ping request from link level upwards and send it via a PF_PACKET/SOCK_RAW socket bound to the loopback interface (lo), why doesn't the OS network stack respond to my ping.
If I type "ping 127.0.0.1" from the console, everything works fine.
I'm suspicious of routing tables but not entirely sure.
ping is just a simple example, i need to do TCP/Telnet HTTP/ udp etc all using raw sockets to localhost.


Reply With Quote
