diff options
author | Gabriel Jeanneau <gabriel.jeanneau@6wind.com> | 2022-01-21 13:59:49 +0100 |
---|---|---|
committer | Stéphane Gonauer <stephane.gonauer@6wind.com> | 2022-03-08 13:55:36 +0100 |
commit | 39a9eb807ade35cf60edc6f2e209ed74ba1d262f (patch) | |
tree | ee9cb6d8abf9634cd6d180df1dcf1e09840b74b3 /accel-pppd/ctrl/ipoe/ipoe.h | |
parent | c66678018c1f111bb361c8f2069c67c725ec9e1c (diff) | |
download | accel-ppp-39a9eb807ade35cf60edc6f2e209ed74ba1d262f.tar.gz accel-ppp-39a9eb807ade35cf60edc6f2e209ed74ba1d262f.zip |
auth: fix CHAP challenge with ixia
here is the structure of CHAP challenge message for PPP:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Code | Identifier | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value-Size | Value ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Name ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
When sending a CHAP challenge, accel-ppp set NAME to NULL. According to
RFC 1994 (PPP CHAP), this field should neither be NULL nor be equal to
CR/LF. As ixia does not recognize AUthentication packet when this field
is NULL, we set it to "accel-ppp" by default.
In MS-CHAPv1 and MS-CHAPv2, authenticator does not provide information
in Name field.
Signed-off-by: Gabriel Jeanneau <gabriel.jeanneau@6wind.com>
Diffstat (limited to 'accel-pppd/ctrl/ipoe/ipoe.h')
0 files changed, 0 insertions, 0 deletions