mirror of
https://github.com/openbsd/src.git
synced 2025-01-03 06:45:37 -08:00
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.
This commit is contained in:
parent
78249cc795
commit
7d6028364c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user