[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MirageOS-devel] alteration of tcp payload




I am sending some data over a tcp connection, and I found that for a xen unikernel, data is changed to some arbitrary bit string of the same length. Looking at netif.ml and writev function, I noticed that tcp packet is split into two pages: first page (first_page variable) contains the headers, and the second page contains the payload. Dumping pages in writev function shows that payload is passed correctly to the function write_request, but tcp_dump on the interface captures a different payload data that looks arbitrary. Even if I modify writev to replace my payload with a string of predefined characters (let us say all zeros), I still observe a different payload coming out of the interface.

Any idea?

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.