[Planetlab-users] Raw sockets & TCP
Marcel Dischinger
mdischin at mpi-sws.mpg.de
Sat Apr 21 05:26:26 EDT 2007
Have you read the following page (especially the section "3.1
Restrictions on sent packets")?
https://www.planet-lab.org/doc/vnet
Marcel
Vitaliy Gleyzer wrote:
> 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