[gPXE] Fwd: Re:Re: why?username and password is right , but can't boot?

Michael Brown mbrown at fensystems.co.uk
Wed Mar 17 06:51:19 EDT 2010


On Wednesday 17 Mar 2010 10:08:00 Kevin Tran wrote:
> Current code only handles challenge response that is string of hex numbers
>  that started with either “0x”.  The challenge sent back by this target is
>  in base64 format.  I think we need to add base64 (per RFC 3720) format
>  support  in order to solve this problem.

Exactly what I was going to say.  gPXE does not currently support base64-
encoded CHAP challenges (or responses).

We have base64 encoding support in core/base64.c, but no decoding support.

Someone will need to add base64_decode() base64_decoded_len() functions, and 
modify iscsi.c to be able to use them; this is probably best done by 
abstracting out the two places that currently process large hex strings into a 
single iscsi_decode_large_binary() function.

Michael


More information about the gPXE mailing list