Has anybody ever succeeded in using Scapy on a PlanetLab node (running Fedora 12)?
I am aware of the safe raw socket restrictions, but it seems that I can send packets through Scapy by just setting conf.L3socket=L3RawSocket
. As for the reception of packets, I couldn't get Scapy to work, so I just use tcpdump.
TCP and ICMP seem to work:
- ICMP echo-requests get an echo-reply back
- ICMP echo-requests with a low TTL get a time-exceeded message back
- TCP SYN packets get a TCP RST packet back
- TCP packets with a low TTL get a time-exceeded message back
UDP doesn't:
- UDP packets to a closed port trigger an ICMP port-unreachable message, but this message doesn't make it back to my sliver. Tcpdump only sees the UDP packet.
- same thing for UDP packets expiring along their path.
Are there any additional parameters to set in order to receive these ICMP packets?