[Planetlab-users] Raw sockets & TCP

Vitaliy Gleyzer vit at cmu.edu
Sat Apr 21 04:18:59 EDT 2007


I have been trying to send different types TCP packets from a planet lab node using this socket:
   
socket(PF_INET, SOCK_RAW, IPPROTO_TCP);

The code is functional during local testing. When deployed on the planetlab nodes though, it seems to work fine for sending SYN packets, but for any other TCP packet, it fails with an error "Operation not permitted".  

If anyone has ran into this problem, or has some functional sample code, help would be much appreciated!

Thanks,

Vitaliy




More information about the Users mailing list