diff options
author | brian <brian@FreeBSD.org> | 2002-06-12 00:33:17 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-06-12 00:33:17 +0000 |
commit | 64df5969679c3ad7b7f9452c2dcaee6a0621e26a (patch) | |
tree | d492060e826fff36baae2f94497a23630e59bb9e /usr.sbin/ppp/deflate.c | |
parent | 900ca326699fe7cba94c534173fd85d67cf1cef7 (diff) | |
download | FreeBSD-src-64df5969679c3ad7b7f9452c2dcaee6a0621e26a.zip FreeBSD-src-64df5969679c3ad7b7f9452c2dcaee6a0621e26a.tar.gz |
Understand the following Microsoft Vendor Specific RADIUS attributes:
RAD_MICROSOFT_MS_MPPE_ENCRYPTION_POLICY
RAD_MICROSOFT_MS_MPPE_ENCRYPTION_TYPES
RAD_MICROSOFT_MS_MPPE_RECV_KEY
RAD_MICROSOFT_MS_MPPE_SEND_KEY
These attributes may be supplied by a RADIUS server when MSCHAPv2 is
used to authenticate.
It *should* now be possible to build ppp with -DNODES and still support
CHAP/MSCHAP/MSCHAPv2/MPPE via a RADIUS server, but the code isn't yet
smart enough to do that (building with -DNODES just looses these
facilities).
Sponsored by: Monzoon
Diffstat (limited to 'usr.sbin/ppp/deflate.c')
-rw-r--r-- | usr.sbin/ppp/deflate.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/usr.sbin/ppp/deflate.c b/usr.sbin/ppp/deflate.c index f629c5b..3e6198d 100644 --- a/usr.sbin/ppp/deflate.c +++ b/usr.sbin/ppp/deflate.c @@ -440,7 +440,8 @@ DeflateDispOpts(struct fsm_opt *o) } static void -DeflateInitOptsOutput(struct fsm_opt *o, const struct ccp_config *cfg) +DeflateInitOptsOutput(struct bundle *bundle, struct fsm_opt *o, + const struct ccp_config *cfg) { o->hdr.len = 4; o->data[0] = ((cfg->deflate.out.winsize - 8) << 4) + 8; @@ -448,7 +449,8 @@ DeflateInitOptsOutput(struct fsm_opt *o, const struct ccp_config *cfg) } static int -DeflateSetOptsOutput(struct fsm_opt *o, const struct ccp_config *cfg) +DeflateSetOptsOutput(struct bundle *bundle, struct fsm_opt *o, + const struct ccp_config *cfg) { if (o->hdr.len != 4 || (o->data[0] & 15) != 8 || o->data[1] != '\0') return MODE_REJ; @@ -462,7 +464,8 @@ DeflateSetOptsOutput(struct fsm_opt *o, const struct ccp_config *cfg) } static int -DeflateSetOptsInput(struct fsm_opt *o, const struct ccp_config *cfg) +DeflateSetOptsInput(struct bundle *bundle, struct fsm_opt *o, + const struct ccp_config *cfg) { int want; @@ -483,7 +486,7 @@ DeflateSetOptsInput(struct fsm_opt *o, const struct ccp_config *cfg) } static void * -DeflateInitInput(struct fsm_opt *o) +DeflateInitInput(struct bundle *bundle, struct fsm_opt *o) { struct deflate_state *state; @@ -506,7 +509,7 @@ DeflateInitInput(struct fsm_opt *o) } static void * -DeflateInitOutput(struct fsm_opt *o) +DeflateInitOutput(struct bundle *bundle, struct fsm_opt *o) { struct deflate_state *state; |