[Planetlab-users] Raw sockets & TCP

Neil Spring nspring at cs.umd.edu
Sun Apr 22 00:12:26 EDT 2007


I double-checked that scriptroute is able to send ack-based tcp  
traceroutes on an upgraded machine.

04:04:43.801309 IP 128.8.126.111.40854 > 128.208.3.88.traceroute: .  
ack 352321537 win 0
04:04:43.801727 IP 128.8.126.1 > 128.8.126.111: icmp 36: time  
exceeded in-transit
[umd_scriptroute at salt ~]$ cat /etc/redhat-release
Fedora Core release 4 (Stentz)

So it's not the version update.   Like Marcel did, I'd guess checksum.

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

Scriptroute.

https://subversion.umiacs.umd.edu/scriptroute/scriptroute/trunk/ 
daemon/sendpacket.c

-neil



On Apr 21, 2007, at 3:47 PM, Marcel Dischinger wrote:

> Vitaliy Gleyzer wrote:
>
>> 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.
>
> Hmmm, I am not sure where the problem is. Last time I tried (late last
> year), just sending ACKs worked fine. Maybe something changed with the
> PL version update!?
>
> The only advice I have is to check again if the packets are really  
> valid
> (e.g. the checksum being correct etc).
>
> Marcel
>
> _______________________________________________
> Users mailing list: Users at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/users



More information about the Users mailing list