[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] alteration of tcp payload
Are you using a non-page-aligned buffer? On 5 November 2014 13:09, Richard Mortier <Richard.Mortier@xxxxxxxxxxxxxxxx> wrote: > no immediate ideas i'm afraid but: masoud, isn't this exactly the problem > you were describing to me yesterday? > > if so, definitely sounds like worth filing an issue on github... > > On 5 Nov 2014, at 12:56, Michael Moon <michaelmoon.pr@xxxxxxxxx> wrote: > > > 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 > > > > -- > Cheers, > > R. > > > > > > _______________________________________________ > MirageOS-devel mailing list > MirageOS-devel@xxxxxxxxxxxxxxxxxxxx > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel > -- Dr Thomas Leonard http://0install.net/ GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |