[syslinux] syslinux.efi pxeboot across multiple subnets

Geert Stappers stappers at stappers.nl
Fri Nov 8 02:27:26 PST 2013


Op 2013-11-08 om 01:31 schreef Celelibi:
> 2013/11/7, Jason Matthews <jason.david.matthews op gmail.com>:
> > Here are the pcaps:
> >
> > http://ge.tt/64G4yxx/v/0

use

  wget -O  pcaps.zip wget http://ge.tt/api/1/files/64G4yxx/0/blob?download

to just fetch it

> >
> > 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
> >
> 
> 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.

I only looked at syslinux6.02-modified-frommirrorport.pcap


> 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.

That makes sense.
My observation is also that the transmit works, but the recieve fails.

At packet 90 starts TFTP of file sles113/syslinux.efi, which is succesfull.

At packet 327 is the file sles113/syslinux.efi a second time transmitted.
For reason unclear to me.

At packet 564 starts 10.16.233.20 asking for sles113/ldlinux.e64.
10.168.195.178 answers, but client re-acts as if it didn't get that answer.

> 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. :)

Yep, patches welcome.


Groeten
Geert Stappers
Who only has netbooting with TFTP server and TFTP client on the same subnet.
So not across a router.  But yes, it should work.
-- 
Leven en laten leven


More information about the Syslinux mailing list