Geert Stappers
2013-Nov-07 06:16 UTC
[syslinux] syslinux.efi pxeboot across multiple subnets
Op 2013-11-07 om 02:23 schreef Celelibi:> 2013/11/6, Jason Matthews <jason.david.matthews at gmail.com>: > > I'm using tftp-hpa. I had disabled the blocksize option (-r blocksize) for > > some reason that I can't remember now. Re-enabling it and setting to 1468 > > gives the same results. Considering I'm using http to transfer the kernels, > > initrd and images, I don't think the slowness will be an problem. Thanks > > for the suggestions though. > > Could you please upload a pcap file somewhere? > I would be more clear if we could filter out the capture ourselves or > check the content of some packets, disable the "stringification" of > the ports number.To create such file use the option `-w `.> Moreover, your paste is not complete, the last line is cut.Another benefit of providing a file in libpcap format. Cheers Geert Stappers
Jason Matthews
2013-Nov-07 15:51 UTC
[syslinux] syslinux.efi pxeboot across multiple subnets
Here are the pcaps: http://ge.tt/64G4yxx/v/0 syslinux6.02tftpserver.pcap is from the tftpserver with syslinux.efi and ldlinux.e64 from syslinux-6.02.zip syslinux6.02frommirrorport.pcap is from the mirrored port with syslinux.efi and ldlinux.e64 from syslinux-6.02.zip syslinux6.02-modified-tftpserver.pcap is from tftpserver with syslinux.efi and ldlinux.e64 after modifying efi/udp.c syslinux6.02-modified-frommirrorport.pcap is from mirrored port with syslinux.efi and ldlinux.e64 after modifying efi/udp.c On Thu, Nov 7, 2013 at 1:16 AM, Geert Stappers <stappers at stappers.nl> wrote:> Op 2013-11-07 om 02:23 schreef Celelibi: > > 2013/11/6, Jason Matthews <jason.david.matthews at gmail.com>: > > > I'm using tftp-hpa. I had disabled the blocksize option (-r blocksize) > for > > > some reason that I can't remember now. Re-enabling it and setting to > 1468 > > > gives the same results. Considering I'm using http to transfer the > kernels, > > > initrd and images, I don't think the slowness will be an problem. > Thanks > > > for the suggestions though. > > > > Could you please upload a pcap file somewhere? > > I would be more clear if we could filter out the capture ourselves or > > check the content of some packets, disable the "stringification" of > > the ports number. > > To create such file use the option `-w `. > > > Moreover, your paste is not complete, the last line is cut. > > Another benefit of providing a file in libpcap format. > > > Cheers > Geert Stappers > _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux > Please do not send private replies to mailing list traffic. > >
Hum... Some packets seems duplicated when captured from the server, but not when captured from the mirror port. So let's assume that's ok. I can't find anything in the capture of the non-modified version that would look suspicious. Anyway, syslinux.efi is supposed to be downloaded by the UEFI firmware itself. It succeed but keep restarting for no apparent reason. Maybe an early termination? I don't know. However your modified version is interesting... Try modifying the *other* txdata->GatewayAddress as well. :) It seems like you modified sendto but not send. The TFTP request is sent using "sendto" while the acknowledgement are sent using "send". Thus you need to patch both. I think you can open a bug report on the bugzilla<http://bugzilla.syslinux.org/> for that exact problem and send your patch when you get it working. :) 2013/11/7, Jason Matthews <jason.david.matthews at gmail.com>:> Here are the pcaps: > > http://ge.tt/64G4yxx/v/0 > > syslinux6.02tftpserver.pcap is from the tftpserver with syslinux.efi and > ldlinux.e64 from syslinux-6.02.zip > syslinux6.02frommirrorport.pcap is from the mirrored port with syslinux.efi > and ldlinux.e64 from syslinux-6.02.zip > > syslinux6.02-modified-tftpserver.pcap is from tftpserver with syslinux.efi > and ldlinux.e64 after modifying efi/udp.c > syslinux6.02-modified-frommirrorport.pcap is from mirrored port with > syslinux.efi and ldlinux.e64 after modifying efi/udp.c > > > On Thu, Nov 7, 2013 at 1:16 AM, Geert Stappers <stappers at stappers.nl> > wrote: > >> Op 2013-11-07 om 02:23 schreef Celelibi: >> > 2013/11/6, Jason Matthews <jason.david.matthews at gmail.com>: >> > > I'm using tftp-hpa. I had disabled the blocksize option (-r >> > > blocksize) >> for >> > > some reason that I can't remember now. Re-enabling it and setting to >> 1468 >> > > gives the same results. Considering I'm using http to transfer the >> kernels, >> > > initrd and images, I don't think the slowness will be an problem. >> Thanks >> > > for the suggestions though. >> > >> > Could you please upload a pcap file somewhere? >> > I would be more clear if we could filter out the capture ourselves or >> > check the content of some packets, disable the "stringification" of >> > the ports number. >> >> To create such file use the option `-w `. >> >> > Moreover, your paste is not complete, the last line is cut. >> >> Another benefit of providing a file in libpcap format. >> >> >> Cheers >> Geert Stappers >> _______________________________________________ >> Syslinux mailing list >> Submissions to Syslinux at zytor.com >> Unsubscribe or set options at: >> http://www.zytor.com/mailman/listinfo/syslinux >> Please do not send private replies to mailing list traffic. >> >> > _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux > Please do not send private replies to mailing list traffic. > >