[Planetlab-users] Raw sockets & TCP
vit at cmu.edu
Sat Apr 21 13:54:04 EDT 2007
- I have looked at the restrictions, and all the packets are valid TCP packets with a local address of the vnet iface, and the port is being reserved using bind.
- It is being executed as root
The only difference between them is the type (e.g. SYN, SYN/ACK, RST, etc).
Only the SYN seems to be working fine without a "Operation not permitted" error. This seems to suggest that these packets cannot be generated independently of a TCP connection, which is not one of the restriction.
Any other ideas?
> Have you read the following page (especially the section "3.1 Restrictions
> on sent packets")?
> 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
>> If anyone has ran into this problem, or has some functional sample
>> code, help would be much appreciated!
More information about the Users