fa.openbsd.tech
[Top] [All Lists]

Re: ifconfig(8) errx pasto.

Subject: Re: ifconfig(8) errx pasto.
From: "Can Erkin Acar" <canacar@xxxxxxxxx>
Date: Thu, 17 Jul 2008 18:53:10 UTC
Newsgroups: fa.openbsd.tech

On Thu, Jul 17, 2008 at 12:53 AM, Stuart Henderson <stu@xxxxxxxxxxxxxxx> 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.


<Prev in Thread] Current Thread [Next in Thread>