Skip to content
Snippets Groups Projects
Commit 7a45aa15 authored by Pyry Kovanen's avatar Pyry Kovanen Committed by GitHub
Browse files

Fix typo in troubleshooting.rst

(or its equivalent on other systems that Linux) => (or its equivalent on other systems than Linux)
parent 59740885
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ I can't ping 127.0.0.1. Scapy does not work with 127.0.0.1 or on the loopback in
The loopback interface is a very special interface. Packets going through it are not really assembled and disassembled. The kernel routes the packet to its destination while it is still stored an internal structure. What you see with tcpdump -i lo is only a fake to make you think everything is normal. The kernel is not aware of what Scapy is doing behind his back, so what you see on the loopback interface is also a fake. Except this one did not come from a local structure. Thus the kernel will never receive it.
In order to speak to local applications, you need to build your packets one layer upper, using a PF_INET/SOCK_RAW socket instead of a PF_PACKET/SOCK_RAW (or its equivalent on other systems that Linux)::
In order to speak to local applications, you need to build your packets one layer upper, using a PF_INET/SOCK_RAW socket instead of a PF_PACKET/SOCK_RAW (or its equivalent on other systems than Linux)::
>>> conf.L3socket
<class __main__.L3PacketSocket at 0xb7bdf5fc>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment