/openbsd-current/usr.sbin/npppd/npppd/ |
H A D | chap.c | 1 /* $OpenBSD: chap.c,v 1.18 2024/02/26 08:47:28 yasuoka Exp $ */ 39 /* $Id: chap.c,v 1.18 2024/02/26 08:47:28 yasuoka Exp $ */ 112 static void chap_authenticate(chap *_this, u_char *, int); 113 static void chap_failure(chap *, const char *, int); 114 static void chap_response (chap *, int, u_char *, int); 115 static void chap_create_challenge (chap *); 116 static void chap_send_error (chap *, const char *); 117 static void md5chap_authenticate (chap *, int, char *, u_char *, int, u_char *); 118 static void mschapv2_send_error (chap *, int, int); 119 static void mschapv2_authenticate (chap *, in [all...] |
H A D | ppp.h | 239 uint8_t chap; member in struct:_lcp::_opt 300 int type; /* chap type */ 306 } chap; typedef in typeref:struct:_chap 483 chap chap; /** chap */ member in struct:_npppd_ppp 801 void chap_init (chap *, npppd_ppp *); 802 void chap_stop (chap *); 803 void chap_start (chap *); 804 void chap_input (chap *, u_cha [all...] |
H A D | lcp.c | 105 (!psm_opt_is_enabled(lcp, chap) || psm_opt_is_rejected(lcp, chap)) && \ 203 else if (psm_opt_is_accepted(_this, chap)) 328 if (psm_opt_is_rejected(_this, chap)) 334 psm_opt_set_requested(_this, chap, 1); 596 LCP_OPT_ACCEPTED(chap); 684 psm_opt_set_rejected(_this, chap, 1); 709 if (psm_opt_is_requested(_this, chap)) 711 chap, 1); 712 peer_auth = "chap"; [all...] |
H A D | Makefile | 10 SRCS= ccp.c chap.c chap_ms.c fsm.c ipcp.c lcp.c mppe.c pap.c ppp.c
|
H A D | ppp.c | 166 chap_init(&_this->chap, _this); 279 chap_stop(&_this->chap); 435 chap_stop(&_this->chap); 485 chap_start(&_this->chap); 546 case PPP_PROTO_CHAP: return "chap"; 895 chap_input(&_this->chap, inp, lpkt - (inp - pkt));
|
/openbsd-current/usr.sbin/pppd/ |
H A D | chap.h | 1 /* $OpenBSD: chap.h,v 1.8 2002/09/13 00:12:10 deraadt Exp $ */ 4 * chap.h - Challenge Handshake Authentication Protocol definitions. 79 * Each interface is described by a chap structure. 132 extern chap_state chap[];
|
H A D | Makefile | 6 SRCS= auth.c cbcp.c ccp.c chap.c demand.c fsm.c ipcp.c \
|
H A D | chap.c | 1 /* $OpenBSD: chap.c,v 1.20 2023/03/08 04:43:14 guenther Exp $ */ 4 * chap.c - Challenge Handshake Authentication Protocol. 67 #include "chap.h" 97 chap_state chap[NUM_PPP]; /* CHAP state; one for each unit */ variable 118 chap_state *cstate = &chap[unit]; 140 chap_state *cstate = &chap[unit]; 170 chap_state *cstate = &chap[unit]; 260 chap_state *cstate = &chap[unit]; 286 chap_state *cstate = &chap[unit]; 310 chap_state *cstate = &chap[uni [all...] |
H A D | options.c | 72 #include "chap.h" 291 {"require-chap", 0, reqchap}, /* Require CHAP authentication from peer */ 292 {"+chap", 0, reqchap}, /* Require CHAP authentication from peer */ 293 {"refuse-chap", 0, nochap}, /* Don't agree to auth to peer with CHAP */ 294 {"-chap", 0, nochap}, /* Don't allow CHAP authentication with peer */ 357 {"chap-restart", 1, setchaptimeout}, /* Set timeout for CHAP */ 358 {"chap-max-challenge", 1, setchapchal}, /* Set max #xmits for challenge */ 359 {"chap-interval", 1, setchapintv}, /* Set interval for rechallenge */ 2041 return int_option(*argv, &chap[0].timeouttime); 2048 return int_option(*argv, &chap[ [all...] |
/openbsd-current/sys/net/ |
H A D | if_spppsubr.c | 92 * being one of "lcp", "ipcp", "chap", "pap", etc. 391 static const struct cp chap = { variable in typeref:struct:cp 392 PPP_CHAP, IDX_CHAP, CP_AUTH, "chap", 404 &chap, /* IDX_CHAP */ 1795 addlog("[invalid chap len] "); 1906 addlog("[chap not MD5] "); 2192 char opt[6 /* magicnum */ + 4 /* mru */ + 5 /* chap */]; 3287 * RCA+: received reply (pap-req, chap-response), acceptable 3288 * RCN: received reply (pap-req, chap-response), not acceptable 3293 * scr: send request packet (none for PAP, chap [all...] |
/openbsd-current/etc/ |
H A D | Makefile | 147 ${INSTALL} -c -o root -g wheel -m 600 chap-secrets \
|
/openbsd-current/gnu/gcc/gcc/doc/include/ |
H A D | texinfo.tex | 1345 \advancenumber{chap\thischapnum}% 1378 \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% 1687 \def\lsize{chap}\def\lllsize{subsec}% 1695 \def\curfontsize{chap}% 4566 % arguments for the \{chap,sec,...}entry macros which will eventually 6743 % Remember to reset this floatno at the next chap.
|
/openbsd-current/gnu/usr.bin/texinfo/doc/ |
H A D | texinfo.tex | 1250 \advancenumber{chap\thischapnum}% 1283 \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% 1621 \def\lsize{chap}\def\lllsize{subsec}% 1629 \def\curfontsize{chap}% 4464 % arguments for the \{chap,sec,...}entry macros which will eventually 6614 % Remember to reset this floatno at the next chap.
|
/openbsd-current/gnu/usr.bin/binutils-2.17/texinfo/ |
H A D | texinfo.tex | 1242 \advancenumber{chap\thischapnum}% 1275 \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% 1605 \def\lsize{chap}\def\lllsize{subsec}% 4322 % arguments for the \{chap,sec,...}entry macros which will eventually 6459 % Remember to reset this floatno at the next chap.
|