Can Erkin Acar | 17 Jul 20:48
Picon

Re: ifconfig(8) errx pasto.

On Thu, Jul 17, 2008 at 12:53 AM, Stuart Henderson <stu <at> spacehopper.org> wrote:
> Obvious pasto. Ok?

ok canacar@

> Prompted by http://permalink.gmane.org/gmane.os.openbsd.misc/146066
> - I'm also wondering if AUTHKEYLEN in sys/net/if_sppp.h might be a
> little on the low side.

Yes, the present AUTHKEYLEN (16 characters) is a bit low. The
specification allows up to 255 characters (not explicitly but size is
a byte field). However, If we just increase it, we will break the ABI
again, and mbalmer@ will have the same upgrade problems :)

One alternative is merging 'secret and challenge' fields when sending
the password. This will increase the password size from 15 to 31
characters without changing the size of the structure.


Gmane