/openbsd-current/usr.sbin/radiusd/ |
H A D | eap2mschap_local.h | 52 struct chap { struct 62 struct chap chap; member in struct:eap_chap 68 struct chap chap; member in struct:eap_mschap_challenge 75 static_assert(offsetof(struct eap_mschap_challenge, chap) == 5, ""); 82 struct chap chap; member in struct:eap_mschap_response 92 static_assert(offsetof(struct eap_mschap_response, chap) == 5, "");
|
H A D | radiusd_eap2mschap.c | 114 if (strcmp(name, "chap-name") == 0) { 116 "specify 1 argument for `chap-name'"); 120 "chap-name is too long"); 371 chall->chap.code = CHAP_CHALLENGE; 372 chall->chap.id = ++req->chap_id; 373 chall->chap.length = htons(msgsiz - 374 offsetof(struct eap_mschap_challenge, chap)); 456 RADIUS_PACKET *pkt, struct eap_chap *chap) 463 eapsiz = ntohs(chap->eap.length); 464 switch (chap 455 eap_recv_mschap(struct eap2mschap *self, struct access_req *req, RADIUS_PACKET *pkt, struct eap_chap *chap) argument 628 struct eap_chap chap; member in struct:__anon59 [all...] |
/openbsd-current/usr.sbin/npppd/npppd/ |
H A D | chap.c | 1 /* $OpenBSD: chap.c,v 1.20 2024/07/14 10:52:50 yasuoka Exp $ */ 39 /* $Id: chap.c,v 1.20 2024/07/14 10:52:50 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.21 2024/08/09 05:16:13 deraadt 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 117 chap_state *cstate = &chap[unit]; 136 chap_state *cstate = &chap[unit]; 163 chap_state *cstate = &chap[unit]; 249 chap_state *cstate = &chap[unit]; 274 chap_state *cstate = &chap[unit]; 297 chap_state *cstate = &chap[uni [all...] |
H A D | options.c | 74 #include "chap.h" 293 {"require-chap", 0, reqchap}, /* Require CHAP authentication from peer */ 294 {"+chap", 0, reqchap}, /* Require CHAP authentication from peer */ 295 {"refuse-chap", 0, nochap}, /* Don't agree to auth to peer with CHAP */ 296 {"-chap", 0, nochap}, /* Don't allow CHAP authentication with peer */ 359 {"chap-restart", 1, setchaptimeout}, /* Set timeout for CHAP */ 360 {"chap-max-challenge", 1, setchapchal}, /* Set max #xmits for challenge */ 361 {"chap-interval", 1, setchapintv}, /* Set interval for rechallenge */ 1946 return int_option(*argv, &chap[0].timeouttime); 1952 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.
|