diff options
author | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2021-03-10 10:51:11 +0000 |
---|---|---|
committer | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2021-03-10 10:51:11 +0000 |
commit | c1c8f894ded16b3ae8390a69da0c30329716984f (patch) | |
tree | fcf34b7fe8e0607db05e82bf82af87627ba6659e /usr.sbin/npppd | |
parent | 20548f60a5abcc908ebeb4debb07eef0815bc4a0 (diff) |
Expand the maximum length for CHAP challenge to 96 octets. npppd
couldn't handle ICCN message which has a ProxyAuthenChallenge AVP
longer than 24 octets. Juniper actually send such challenges.
Reported and tested by Ryan Freeman.
Diffstat (limited to 'usr.sbin/npppd')
-rw-r--r-- | usr.sbin/npppd/npppd/ppp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/npppd/npppd/ppp.h b/usr.sbin/npppd/npppd/ppp.h index 1bb8bfc6cf3..937b7d5f1dc 100644 --- a/usr.sbin/npppd/npppd/ppp.h +++ b/usr.sbin/npppd/npppd/ppp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ppp.h,v 1.21 2017/08/12 11:20:34 goda Exp $ */ +/* $OpenBSD: ppp.h,v 1.22 2021/03/10 10:51:10 yasuoka Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -82,7 +82,7 @@ #define MAX_USERNAME_LENGTH 256 #define MAX_PASSWORD_LENGTH 256 -#define MAX_CHALLENGE_LENGTH 24 +#define MAX_CHALLENGE_LENGTH 96 #define INADDR_IPCP_OBEY_REMOTE_REQ 0x00000000L |