| /openbsd-src/usr.sbin/radiusd/ |
| H A D | radiusd_eap2mschap.c | 114 if (strcmp(name, "chap-name") == 0) { in eap2mschap_config_set() 116 "specify 1 argument for `chap-name'"); in eap2mschap_config_set() 120 "chap-name is too long"); in eap2mschap_config_set() 371 chall->chap.code = CHAP_CHALLENGE; in eap_recv() 372 chall->chap.id = ++req->chap_id; in eap_recv() 373 chall->chap.length = htons(msgsiz - in eap_recv() 374 offsetof(struct eap_mschap_challenge, chap)); in eap_recv() 455 RADIUS_PACKET *pkt, struct eap_chap *chap) in eap_recv_mschap() 462 eapsiz = ntohs(chap->eap.length); in eap_recv_mschap() 463 switch (chap in eap_recv_mschap() 443 eap_recv_mschap(struct eap2mschap * self,struct access_req * req,RADIUS_PACKET * pkt,struct eap_chap * chap) eap_recv_mschap() argument 615 struct eap_chap chap; eap_resp_mschap() member [all...] |
| H A D | eap2mschap_local.h | 52 struct chap { struct 62 struct chap chap; member 68 struct chap chap; member 75 static_assert(offsetof(struct eap_mschap_challenge, chap) == 5, ""); 82 struct chap chap; member 92 static_assert(offsetof(struct eap_mschap_response, chap) == 5, "");
|
| /openbsd-src/usr.sbin/npppd/npppd/ |
| H A D | chap.c | 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 *, int, char *, u_char *, int, u_char *); 121 static void chap_radius_authenticate (chap *, int, char *, u_char *, int, u_char *); 125 static void chap_log (chap *, uint32_t, const char *, ...) __printflike(3,4); [all …]
|
| H A D | ppp.h | 239 uint8_t chap; member 306 } chap; typedef 483 chap chap; /** chap */ member 801 void chap_init (chap *, npppd_ppp *); 802 void chap_stop (chap *); 803 void chap_start (chap *); 804 void chap_input (chap *, u_char *, int); 805 int chap_proxy_authen_prepare (chap *, dialin_proxy_info *);
|
| 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)) in lcp_open() 328 if (psm_opt_is_rejected(_this, chap)) in lcp_add_auth() 334 psm_opt_set_requested(_this, chap, 1); in lcp_add_auth() 596 LCP_OPT_ACCEPTED(chap); in lcp_ackci() 684 psm_opt_set_rejected(_this, chap, 1); in lcp_nakci() 709 if (psm_opt_is_requested(_this, chap)) in lcp_nakci() 711 chap, 1); in lcp_nakci() 832 LCP_OPT_REJECTED(chap); in lcp_rejci() 1068 psm_opt_set_enabled(_this, chap, 1); in lcp_load_authconfig() [all …]
|
| H A D | ppp.c | 166 chap_init(&_this->chap, _this); in ppp_init() 279 chap_stop(&_this->chap); in ppp_down_others() 435 chap_stop(&_this->chap); in ppp_destroy() 485 chap_start(&_this->chap); in ppp_lcp_up() 895 chap_input(&_this->chap, inp, lpkt - (inp - pkt));
|
| 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
|
| /openbsd-src/usr.sbin/pppd/ |
| 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]; in ChapAuthWithPeer() 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 | Makefile | 6 SRCS= auth.c cbcp.c ccp.c chap.c demand.c fsm.c ipcp.c \
|
| H A D | chap.h | 132 extern chap_state chap[];
|
| 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[ in setlcpechofails() [all...] |
| /openbsd-src/etc/ppp/ |
| H A D | chap-secrets | 1 # $OpenBSD: chap-secrets,v 1.3 2002/06/09 06:15:15 todd Exp $
|
| /openbsd-src/sys/net/ |
| H A D | if_spppsubr.c | 92 * being one of "lcp", "ipcp", "chap", "pap", etc. 391 static const struct cp chap = { variable 392 PPP_CHAP, IDX_CHAP, CP_AUTH, "chap", 404 &chap, /* IDX_CHAP */ 1819 addlog("[invalid chap len] "); in sppp_lcp_RCR() 1930 addlog("[chap not MD5] "); in sppp_lcp_RCR() 2216 char opt[6 /* magicnum */ + 4 /* mru */ + 5 /* chap */]; in sppp_lcp_scr() 3311 * RCA+: received reply (pap-req, chap-response), acceptable 3312 * RCN: received reply (pap-req, chap-response), not acceptable 3317 * scr: send request packet (none for PAP, chap [all...] |
| /openbsd-src/distrib/sets/lists/etc/ |
| H A D | mi | 26 ./etc/ppp/chap-secrets
|
| /openbsd-src/games/fortune/datfiles/ |
| H A D | limerick | 119 A chap down in Oklahoma 955 To a chap of whom damsels have sung: 1590 When a chap took a crap 2503 There was a young chap in Arabia 3539 She replied to the chap, 4203 Propelled the poor chap to the Moon.
|
| H A D | fortunes2-o | 2438 A bisexual chap name of Lunt 2565 A chap down in Oklahoma 9529 My travel agent's an Oxford chap 13330 This charming old chap had a sister as well :
|
| H A D | fortunes | 11982 It gives a chap the belly-ache.
|
| H A D | fortunes2 | 43274 A clean upstanding chap like you?
|
| /openbsd-src/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-src/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-src/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.
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/doc/include/ |
| H A D | texinfo.tex | 1108 \def\secentry ##1##2##3##4{\advancenumber{chap##2}} 1118 \pdfoutline goto name{\pdfmkpgn{##3}}count-\expnumber{chap##2}{##1}} 3834 \writetocentry{chap}{#1}{{\the\chapno}} 4204 % Usage: \writetocentry{chap}{The Name of The Game}{{\the\chapno}}
|
| /openbsd-src/gnu/usr.bin/cvs/doc/ |
| H A D | texinfo.tex | 955 \def\secentry ##1##2##3##4{\advancenumber{chap##2}} 963 \pdfoutline goto name{\pdfmkpgn{##3}}count-\expnumber{chap##2}{##1}}
|
| /openbsd-src/gnu/usr.bin/texinfo/ |
| H A D | ChangeLog.46 | 11453 (\short{chap,unnumbered}entry,\do{chap,sec,subsec,subsubsec}entry): 12277 * texinfo.tex (\chapentryfonts): Try using \rm for chap title.
|
| /openbsd-src/share/dict/ |
| H A D | web2 | 33634 chap
|