[Planetlab-users] tcp raw socket

Zheng Zhang zhang97 at purdue.edu
Sat Aug 23 18:10:52 EDT 2008


Hi,

I was trying to send a TCP RST packet to a planetlab host, but my raw 
socket program running on my slice is not able to pick up this packet.
Before I send, there was no established connection between the sending 
host and the planetlab host. I also could not see the packet in tcpdump.
I am pretty sure the RST packet arrived at the planetlab host.

If the planetlab host was a normal linux box, the program is able to pick 
up the RST packet.

Because there is restriction on my sender machine, I can't use packets 
other than TCP RST.

I found in previous posts, there were discussions on similar issue.

http://lists.planet-lab.org/pipermail/users/2008-July/002804.html

The explanation provided there was "Your slice only sees packets that 
belong to it. If you ping another host from within your slice,
then the packets will appear in tcpdump.".

I was thinking if I bind to the port where the RST packet is targeted to,
I should be able to make the RST packet *belong to* my slice. But this
didn't work.

I'm confused. What does "an incoming packet belongs to a slice" exactly 
mean? Does it mean that the incoming packet is a reply to a previous 
packet sent by the slice?

Thanks,

-Zheng



More information about the Users mailing list