Michael Brown | 2 Aug 15:26 2015

Re: Error 410de18f

On 01/08/15 16:14, Beima, Charlie wrote:
> IU uses a Brocade Stingray load balancer in front of their web server, both of which I do not manage, and I
don't think the IU admins will wish to investigate this issue, so getting the server logs is going to be all
but impossible. I was able to get things working via HTTP, but you narrowed it down to a TLSv1.2 handshake issue.

I have identified the root cause.  Your web server requires the use of 
SHA-384 (which is not one of the standard hash algorithms mandated by 
TLSv1.2), and is failing with iPXE for two reasons:

- iPXE does not include the (optional) signature_algorithms extension in 
the ClientHello.  This is now fixed in commit 
http://git.ipxe.org/ipxe.git/commitdiff/fc7885e

- iPXE does not support the use of the SHA-512 family (including 
SHA-384) for TLS

We do now have support for the SHA-512 family of digest algorithms in 
iPXE, since they were added to support PeerDist (BranchCache) content 
encoding.  There's a thread a few months ago where the option of 
supporting these for TLS was discussed:

   http://lists.ipxe.org/pipermail/ipxe-devel/2015-May/004228.html

Michael
Beima, Charlie | 1 Aug 06:46 2015
Picon

Error 410de18f

I have iPXE working using “chain https://boot.ipxe.org/demo/boot.php”, but when I try it on my site I get the following:

 

iPXE> chain https://economics.indiana.edu/boot

https://economics.indiana.edu/boot... Operation not permitted (http://ipxe.org/410de18f)

iPXE>

 

The http://ipxe.org/err/410de1 error seems to indicate a TLS problem. I’m using https://rom-o-matic.eu/ to build a x64 EFI image with HTTPS added. The site uses a wildcard certificate. I would troubleshoot it more but I can’t figure out how to enable debugging to the console.

 

Thanks,

 

Charlie

Attachment (smime.p7s): application/pkcs7-signature, 7976 bytes
<div><div class="WordSection1">
<p class="MsoNormal">I have iPXE working using &ldquo;chain <a href="https://boot.ipxe.org/demo/boot.php">https://boot.ipxe.org/demo/boot.php</a>&rdquo;, but when I try it on my site I get the following:<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">iPXE&gt; chain <a href="https://economics.indiana.edu/boot">https://economics.indiana.edu/boot</a><p></p></p>
<p class="MsoNormal"><a href="https://economics.indiana.edu/boot">https://economics.indiana.edu/boot</a>... Operation not permitted (<a href="http://ipxe.org/410de18f">http://ipxe.org/410de18f</a>)<p></p></p>
<p class="MsoNormal">iPXE&gt;<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">The <a href="http://ipxe.org/err/410de1">http://ipxe.org/err/410de1</a> error seems to indicate a TLS problem. I&rsquo;m using <a href="https://rom-o-matic.eu/">https://rom-o-matic.eu/</a> to build a x64 EFI image with HTTPS added. The site uses a wildcard certificate. I would troubleshoot it more but I can&rsquo;t figure out how to enable debugging to the console.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Thanks,<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Charlie<p></p></p>
</div></div>
Torgeir.Wulfsberg | 29 Jul 13:38 2015

unable to type/enter text in console/login after commitdiff "2a696ab963fe71296d9495caed1b748f6f7d8971" when "using" comboot support in src/general.h)...

Hi!

 

Don't know if this is a bug, or something that is not supposed to work…

I also did find out that I actually don't need comboot support, but anyway, I'd guess it still should work?

 

Commitdiff, where "error" got introduced ([serial] Use new UART).

https://git.ipxe.org/ipxe.git/commitdiff/2a696ab963fe71296d9495caed1b748f6f7d8971

 

Reproducable with this (after downloading/unpacking latest version of ipxe):

_________________________________________

# add support for "comboot" by removing comments //

vim config/general.h

 

make bin/ipxe.pxe

 

# move ipxe image file to tftpserver and boot

# hit ctrl+b

 

# cannot type in console

_________________________________________

 

If I download the "tar" from this commit, it is one commit before the one above ([gdb] Use new UART):

https://git.ipxe.org/ipxe.git/commitdiff/5e622dc085d461d21e0db8f8d9773863ebc1468f

 

And redo the steps, I can type in the console again, with comboot support enabled…

 

--Torgeir



CONFIDENTIALITY
This e-mail and any attachment contain KONGSBERG information which may be proprietary, confidential or subject to export regulations, and is only meant for the intended recipient(s). Any disclosure, copying, distribution or use is prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in error, please delete it immediately from your system and notify the sender properly.
<div>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi!<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">Don't know if this is a bug, or something that is not supposed to work&hellip;<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US">I also did find out that I actually don't need comboot support, but anyway, I'd guess it still should work?<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">Commitdiff, where "error" got introduced ([serial] Use new UART).<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="https://git.ipxe.org/ipxe.git/commitdiff/2a696ab963fe71296d9495caed1b748f6f7d8971">https://git.ipxe.org/ipxe.git/commitdiff/2a696ab963fe71296d9495caed1b748f6f7d8971</a><p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">Reproducable with this (after downloading/unpacking latest version of ipxe):<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US">_________________________________________<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"># add support for "comboot" by removing comments //<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US">vim config/general.h<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">make bin/ipxe.pxe<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US"># move ipxe image file to tftpserver and boot<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"># hit ctrl+b<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US"># cannot type in console<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US">_________________________________________<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">If I download the "tar" from this commit, it is one commit before the one above ([gdb] Use new UART):<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="https://git.ipxe.org/ipxe.git/commitdiff/5e622dc085d461d21e0db8f8d9773863ebc1468f">https://git.ipxe.org/ipxe.git/commitdiff/5e622dc085d461d21e0db8f8d9773863ebc1468f</a><p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">And redo the steps, I can type in the console again, with comboot support enabled&hellip;<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">--Torgeir<p></p></span></p>
</div>
<br><br>
CONFIDENTIALITY<br>
This e-mail and any attachment contain KONGSBERG information which may be proprietary, confidential or subject to export regulations, and is only meant for the intended recipient(s). Any disclosure, copying, distribution or use is prohibited, if not otherwise
 explicitly agreed with KONGSBERG. If received in error, please delete it immediately from your system and notify the sender properly.<br>
</div>
Torgeir.Wulfsberg | 29 Jul 10:53 2015

tftp booting a 32bit rhel 5 kernel/initrd (pxeboot images) and iPXE will just "reboot/crash"...

Hi!

 

I recently noticed that iPXE as of the latest commit to this day (built on my rhel 6/7 client and Ubuntu 15), cannot boot a 32bit rhel 5 pxeboot kernel/initrd image (I have tested 5u3, 5u8, 5u11 images).

iPXE will just "crash/reboot". Funnily enough my 32bit rhel 6 images works fine.

 

Going back in time to the last good known state (I had downloaded in June 2014), then going back and forth (some months/commits) A LOT, I managed to locate where it would stop working, so I could reproduce this behavior.

 

This is the commit it would crash/reboot (Makefile.housekeeping - "AR sort BLIB_OBJS"):

https://git.ipxe.org/ipxe.git/commitdiff/335a7ddcd4e2d0faaee6d5b1edf0307dfba3d0e5

 

To reproduce (tested on rhel6/7 and Ubuntu 15):

________________________________________________________________

# get ipxe, build ipxe.pxe image

cd ~

git clone git://ipxe.org/ipxe.git

cd ipxe

cd src

make bin/ipxe.pxe

 

# move ipxe image files to tftp server

# tftp boot the ipxe image file we just made

# pressed CTRL+B

 

# dhcp, so we can fetch file from our tftp/http server

dhcp net0

 

# download/boot rhel 5 kernel/initrd files from the "images/pxeboot" folder on the DVD)

kernel tftp://192.168.2.102/vmlinuz_rhel5u3_x86

initrd tftp://192.168.2.102/initrd_rhel5u3_x86.img

boot

 

# and ipxe will just reboot (or crash)

________________________________________________________________

 

Building the latest ipxe version available from git, and reverting "Makefile.housekeeping - AR sort BLIB_OBJS" (https://git.ipxe.org/ipxe.git/commitdiff/335a7ddcd4e2d0faaee6d5b1edf0307dfba3d0e5), resulted in an iPXE version that works for my rhel 5 32 bit pxeboot images.

Maybe I am the only one still in need of pxebooting 32bits rhel5 images…

 

--Torgeir



CONFIDENTIALITY
This e-mail and any attachment contain KONGSBERG information which may be proprietary, confidential or subject to export regulations, and is only meant for the intended recipient(s). Any disclosure, copying, distribution or use is prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in error, please delete it immediately from your system and notify the sender properly.
<div>
<div class="WordSection1">
<p class="MsoPlainText"><span lang="EN-US">Hi!<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoPlainText"><span lang="EN-US">I recently noticed that iPXE as of the latest commit to this day (built on my rhel 6/7 client and Ubuntu 15), cannot boot a 32bit rhel 5 pxeboot kernel/initrd image (I have tested 5u3, 5u8, 5u11 images).<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US">iPXE will just "crash/reboot". Funnily enough my 32bit rhel 6 images works fine.<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Going back in time to the last good known state (I had downloaded in June 2014), then going back and forth (some months/commits) A LOT, I managed to locate where it would stop working, so I could reproduce this behavior.<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoPlainText"><span lang="EN-US">This is the commit it would crash/reboot (Makefile.housekeeping - "AR sort BLIB_OBJS"):<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><a href="https://git.ipxe.org/ipxe.git/commitdiff/335a7ddcd4e2d0faaee6d5b1edf0307dfba3d0e5">https://git.ipxe.org/ipxe.git/commitdiff/335a7ddcd4e2d0faaee6d5b1edf0307dfba3d0e5</a><p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoPlainText"><span lang="EN-US">To reproduce (tested on rhel6/7 and Ubuntu 15):<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US">________________________________________________________________<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"># get ipxe, build ipxe.pxe image<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US">cd ~<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US">git clone git://ipxe.org/ipxe.git<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US">cd ipxe<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US">cd src<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US">make bin/ipxe.pxe<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoPlainText"><span lang="EN-US"># move ipxe image files to tftp server<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"># tftp boot the ipxe image file we just made<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"># pressed CTRL+B<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoPlainText"><span lang="EN-US"># dhcp, so we can fetch file from our tftp/http server<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US">dhcp net0<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoPlainText"><span lang="EN-US"># download/boot rhel 5 kernel/initrd files from the "images/pxeboot" folder on the DVD)<p></p></span></p>
<p class="MsoPlainText">kernel tftp://192.168.2.102/vmlinuz_rhel5u3_x86<p></p></p>
<p class="MsoPlainText">initrd tftp://192.168.2.102/initrd_rhel5u3_x86.img<p></p></p>
<p class="MsoPlainText"><span lang="EN-US">boot<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoPlainText"><span lang="EN-US"># and ipxe will just reboot (or crash)<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US">________________________________________________________________<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Building the latest ipxe version available from git, and reverting "Makefile.housekeeping - AR sort BLIB_OBJS" (<a href="https://git.ipxe.org/ipxe.git/commitdiff/335a7ddcd4e2d0faaee6d5b1edf0307dfba3d0e5">https://git.ipxe.org/ipxe.git/commitdiff/335a7ddcd4e2d0faaee6d5b1edf0307dfba3d0e5</a>),
 resulted in an iPXE version that works for my rhel 5 32 bit pxeboot images.<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Maybe I am the only one still in need of pxebooting 32bits rhel5 images&hellip;<p></p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">--Torgeir</span><span lang="EN-US"><p></p></span></p>
</div>
<br><br>
CONFIDENTIALITY<br>
This e-mail and any attachment contain KONGSBERG information which may be proprietary, confidential or subject to export regulations, and is only meant for the intended recipient(s). Any disclosure, copying, distribution or use is prohibited, if not otherwise
 explicitly agreed with KONGSBERG. If received in error, please delete it immediately from your system and notify the sender properly.<br>
</div>
Matthew Helton | 26 Jul 01:56 2015
Picon

Problems with Compiling: Commit 2b15ae55073dfbaf66dbbb41ebe804a16cf47f1e

When making:

$ make
  [DEPS] core/xferbuf.c
  [BUILD] bin/xferbuf.o
cc1: warnings being treated as errors
core/xferbuf.c: In function ‘xfer_buffer’:
core/xferbuf.c:312: error: value computed is not used
make: *** [bin/xferbuf.o] Error 1
$

System GCC: gcc.x86_64                          4.4.7-11.el6

Looks like a simple issue, but I'm not sure of the syntax;  

Best,

Matt


<div><div dir="ltr">
<div>When making:</div>
<div><br></div>
<div>$ make<br>&nbsp; [DEPS] core/xferbuf.c<br>&nbsp; [BUILD] bin/xferbuf.o<br>cc1: warnings being treated as errors<br>core/xferbuf.c: In function &lsquo;xfer_buffer&rsquo;:<br>core/xferbuf.c:312: error: value computed is not used<br>make: *** [bin/xferbuf.o] Error 1<br>$</div>
<div><br></div>
<div>System GCC: gcc.x86_64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4.4.7-11.el6</div>
<div><br></div>
<div>Looks like a simple issue, but I'm not sure of the syntax; &nbsp;</div>
<div><br></div>
<div>Best,</div>
<div><br></div>
<div>Matt</div>
<div><div><br></div></div>
<div class="gmail_signature"><br></div>
</div></div>
John Clark | 24 Jul 19:59 2015

[ipxe] simple uefi usability fix (#38)

short term fix until keyboard subs can be fixed

You can view, comment on, or merge this pull request online at:

  https://github.com/ipxe/ipxe/pull/38

Commit Summary

  • Update settings_ui.c
  • Update efi_init.c

File Changes

Patch Links:


Reply to this email directly or view it on GitHub.

<div>
<p>short term fix until keyboard subs can be fixed</p>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href="https://github.com/ipxe/ipxe/pull/38">https://github.com/ipxe/ipxe/pull/38</a></p>

<h4>Commit Summary</h4>
<ul>
<li>Update settings_ui.c</li>
  <li>Update efi_init.c</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
    M
    <a href="https://github.com/ipxe/ipxe/pull/38/files#diff-0">src/hci/tui/settings_ui.c</a>
    (12)
  </li>
  <li>
    M
    <a href="https://github.com/ipxe/ipxe/pull/38/files#diff-1">src/interface/efi/efi_init.c</a>
    (5)
  </li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href="https://github.com/ipxe/ipxe/pull/38.patch">https://github.com/ipxe/ipxe/pull/38.patch</a></li>
  <li><a href="https://github.com/ipxe/ipxe/pull/38.diff">https://github.com/ipxe/ipxe/pull/38.diff</a></li>
</ul>
<p>&mdash;<br>Reply to this email directly or <a href="https://github.com/ipxe/ipxe/pull/38">view it on GitHub</a>.</p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    </div>
  </div>
</div>
Matthew Helton | 24 Jul 10:37 2015
Picon

Compile Warning/ Error: core/xferbuf.c:312: error value computed is not used make: *** [bin/xferbuf.o] Error 1

Commit: 2b15ae55073dfbaf66dbbb41ebe804a16cf47f1e

cc1: warning being treated as errors
core/xferbuf.c: In function 'xfer_buffer': 
core/xferbuf.c:312: error: value computed is not used
make: *** [bin/xferbuf.o] Error 1


--
There is never time enough to do it right, but there always seems to be enough time to do it again.
<div><div dir="ltr">
<div>Commit: 2b15ae55073dfbaf66dbbb41ebe804a16cf47f1e</div>
<div><br></div>
<div>cc1: warning being treated as errors</div>
<div>core/xferbuf.c: In function 'xfer_buffer':&nbsp;</div>
<div>core/xferbuf.c:312: error: value computed is not used </div>
<div>make: *** [bin/xferbuf.o] Error 1</div>
<div>
<br clear="all"><br>-- <br>
</div>
<div class="gmail_signature">There is never time enough to do it right, but there always seems to be enough time to do it again.<br>
</div>
</div></div>
Виктор Юрков | 23 Jul 01:49 2015
Picon

rom_o_matic FAIL


Hello!
https://rom-o-matic.eu/  give a error even for Standard, for most common use .iso generating.

Can you fix it?

---------
Victor
Torgeir.Wulfsberg | 22 Jul 11:45 2015

- uuid mangle does not show correctly for my hp elitebook 8440p

Hi!

I have an HP Elitebook 8440p, where iPXE does not display the correct UUID for this machine. Searching
through the ipxe git repo, I've located this commit.
https://git.ipxe.org/ipxe.git/commitdiff/9e896d0eeaa07d47b2bed4c92072fd638ce3eb55

Anything before this commit, and iPXE does show the correct UUID for my 8440p.

Correct UUID from BIOS:
00112233-4455-6677-8899-aabbccddeeff

iPXE displays it like this:
33221100-5544-7766-8899-aabbccddeeff

It seems to be correctly on some other laptops I have here at work (nc6400, 8540w, 8470p), both older and
newer than my 8440p.

Anything I can do to help debug what cause this problem (I have tried iPXE from the newest available commit,
to this date)?

--Torgeir

-----Original Message-----
From: ipxe-devel-bounces@...
[mailto:ipxe-devel-bounces@...] On Behalf Of ipxe-devel-request@...
Sent: 20. juli 2015 13:00
To: ipxe-devel@...
Subject: ipxe-devel Digest, Vol 62, Issue 11

Send ipxe-devel mailing list submissions to
        ipxe-devel@...

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
or, via email, send a message with subject or body 'help' to
        ipxe-devel-request@...

You can reach the person managing the list at
        ipxe-devel-owner@...

When replying, please edit your Subject line so it is more specific than "Re: Contents of ipxe-devel digest..."

Today's Topics:

   1. [PATCH] IPv6 checksum invalid for UDP packets
      (Yoshinobu Takenaga (takenaga))

----------------------------------------------------------------------

Message: 1
Date: Sun, 19 Jul 2015 22:08:52 +0000
From: "Yoshinobu Takenaga (takenaga)" <takenaga@...>
To: "ipxe-devel@..." <ipxe-devel@...>
Subject: [ipxe-devel] [PATCH] IPv6 checksum invalid for UDP packets
Message-ID: <80B139A1-E7F1-4AE8-A0E6-D700BCCFB66B@...>
Content-Type: text/plain; charset="utf-8"

Hi,

We found a bug in IPv6 code. Issue was realized when TFTP download stopped while chsum value was being rolled over.

Problem is in IPv6/UDP cksum calculation logic.
Made it compliant to RFC2460 fixed the issue.

Signed-off-by: TAKENAGA Yoshinobu <takenaga@...>
---
src/net/ipv6.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/src/net/ipv6.c b/src/net/ipv6.c index c5bead1..5fc61df 100644
--- a/src/net/ipv6.c
+++ b/src/net/ipv6.c
 <at>  <at>  -523,6 +523,9  <at>  <at>  static int ipv6_tx ( struct io_buffer *iobuf,
                *trans_csum = ipv6_pshdr_chksum ( iphdr, len,
                                                  tcpip_protocol->tcpip_proto,
                                                  *trans_csum );
+               /* RFC 2460 8.1: IPV6/UDP csum can't be zero */
+               if ( *trans_csum == 0 && tcpip_protocol->tcpip_proto == IP_UDP )
+                       *trans_csum = 0xFFFF;
        }

        /* Print IPv6 header for debugging */
--
1.9.1

// Thanks,
// Takenaga

------------------------------

_______________________________________________
ipxe-devel mailing list
ipxe-devel@...
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

End of ipxe-devel Digest, Vol 62, Issue 11
******************************************

________________________________

CONFIDENTIALITY
This e-mail and any attachment contain KONGSBERG information which may be proprietary, confidential or
subject to export regulations, and is only meant for the intended recipient(s). Any disclosure,
copying, distribution or use is prohibited, if not otherwise explicitly agreed with KONGSBERG. If
received in error, please delete it immediately from your system and notify the sender properly.
Sven Dreyer | 21 Jul 18:46 2015
Picon

login/menu commands and serial console?

Hi list,

I normally use iPXE on a VGA screen (BIOS mode). But I also own some PC 
Engines ALIX / APU boards. Those do not have a VGA part, so I need to 
use the serial port.

When using "login" command, it looks a bit weird, because everytime I 
type a character, the whole line is repeated. Typing my username "sven" 
would result in

s  sv  sve   sven

The "menu" command behaves the same way, if I have four entries, it 
looks like

FirstEntry   SecondEntry   ThirdEntry

When moving the cursor to the second entry, it changes to

FirstEntry   SecondEntry   ThirdEntry   SecondEntry

I saw this with PuTTY, screen and minicom.

Is this normal behaviour or do I need to set a specific terminal 
emulation on the PC I have connected to the other end of the serial cable?

Thanks!
Sven
Picon

[PATCH] IPv6 checksum invalid for UDP packets

Hi,

We found a bug in IPv6 code. Issue was realized when TFTP
download stopped while chsum value was being rolled over.

Problem is in IPv6/UDP cksum calculation logic.
Made it compliant to RFC2460 fixed the issue.

Signed-off-by: TAKENAGA Yoshinobu <takenaga@...>
---
src/net/ipv6.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/src/net/ipv6.c b/src/net/ipv6.c
index c5bead1..5fc61df 100644
--- a/src/net/ipv6.c
+++ b/src/net/ipv6.c
 <at>  <at>  -523,6 +523,9  <at>  <at>  static int ipv6_tx ( struct io_buffer *iobuf,
                *trans_csum = ipv6_pshdr_chksum ( iphdr, len,
                                                  tcpip_protocol->tcpip_proto,
                                                  *trans_csum );
+               /* RFC 2460 8.1: IPV6/UDP csum can't be zero */
+               if ( *trans_csum == 0 && tcpip_protocol->tcpip_proto == IP_UDP )
+                       *trans_csum = 0xFFFF;
        }

        /* Print IPv6 header for debugging */
--
1.9.1

// Thanks,
// Takenaga


Gmane