/freebsd/usr.sbin/ppp/ |
H A D | chap.c | 256 chap_StartChild(struct chap *chap, char *prog, const char *name) in chap_StartChild() argument 263 if (chap->child.fd != -1) { in chap_StartChild() 281 switch ((chap->child.pid = fork())) { in chap_StartChild() 288 chap->child.pid = 0; in chap_StartChild() 320 chap->auth.physical->dl->bundle, 0, pid); in chap_StartChild() 328 chap->child.fd = out[0]; in chap_StartChild() 329 chap->child.buf.len = 0; in chap_StartChild() 330 write(in[1], chap->auth.in.name, strlen(chap->auth.in.name)); in chap_StartChild() 332 write(in[1], chap->challenge.peer + 1, *chap->challenge.peer); in chap_StartChild() 342 chap_Cleanup(struct chap *chap, int sig) in chap_Cleanup() argument [all …]
|
H A D | chap.h | 39 struct chap { struct 62 ((d)->type == CHAP_DESCRIPTOR ? (struct chap *)(d) : NULL) argument 64 ((struct chap *)((char *)a - (uintptr_t)&((struct chap *)0)->auth)) 73 extern void chap_Init(struct chap *, struct physical *); 74 extern void chap_ReInit(struct chap *);
|
H A D | datalink.c | 407 result = descriptor_UpdateSet(&dl->chap.desc, r, w, e, n) + in datalink_UpdateSet() 441 return descriptor_IsSet(&dl->chap.desc, fdset) ? 1 : in datalink_IsSet() 469 if (descriptor_IsSet(&dl->chap.desc, fdset)) in datalink_Read() 470 descriptor_Read(&dl->chap.desc, bundle, fdset); in datalink_Read() 504 if (descriptor_IsSet(&dl->chap.desc, fdset)) in datalink_Write() 505 switch (descriptor_Write(&dl->chap.desc, bundle, fdset)) { in datalink_Write() 589 auth_StartReq(&dl->chap.auth); in datalink_LayerUp() 600 auth_StopTimer(&dl->chap.auth); in datalink_AuthReInit() 601 chap_ReInit(&dl->chap); in datalink_AuthReInit() 770 timer_Stop(&dl->chap.auth.authtimer); in datalink_LayerDown() [all …]
|
H A D | datalink.h | 117 struct chap chap; /* Authentication using chap */ member
|
H A D | auth.c | 90 static char chap[10]; in Auth2Nam() local 96 snprintf(chap, sizeof chap, "CHAP 0x%02x", type); in Auth2Nam() 97 return chap; in Auth2Nam()
|
H A D | Makefile | 6 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
|
/freebsd/lib/libiscsiutil/ |
H A D | chap.c | 227 struct chap * 230 struct chap *chap; in chap_new() local 232 chap = calloc(1, sizeof(*chap)); in chap_new() 233 if (chap == NULL) in chap_new() 239 arc4random_buf(chap->chap_challenge, sizeof(chap->chap_challenge)); in chap_new() 240 arc4random_buf(&chap->chap_id, sizeof(chap->chap_id)); in chap_new() 242 return (chap); in chap_new() 246 chap_get_id(const struct chap *chap) in chap_get_id() argument 251 ret = asprintf(&chap_i, "%d", chap->chap_id); in chap_get_id() 259 chap_get_challenge(const struct chap *chap) in chap_get_challenge() argument [all …]
|
H A D | libiscsiutil.h | 85 struct chap { struct 98 struct chap *chap_new(void); 99 char *chap_get_id(const struct chap *chap); 100 char *chap_get_challenge(const struct chap *chap); 101 int chap_receive(struct chap *chap, const char *response); 102 int chap_authenticate(struct chap *chap, 104 void chap_delete(struct chap *chap);
|
H A D | Makefile | 7 SRCS= chap.c connection.c keys.c log.c pdu.c text.c utils.c
|
/freebsd/usr.sbin/ctld/ |
H A D | login.c | 315 login_send_chap_c(struct pdu *request, struct chap *chap) in login_send_chap_c() argument 321 chap_c = chap_get_challenge(chap); in login_send_chap_c() 322 chap_i = chap_get_id(chap); in login_send_chap_c() 339 struct chap *chap, const struct auth **authp) in login_receive_chap_r() argument 361 error = chap_receive(chap, chap_r); in login_receive_chap_r() 382 error = chap_authenticate(chap, auth->a_secret); in login_receive_chap_r() 465 struct chap *chap; in login_chap() local 477 chap = chap_new(); in login_chap() 483 sizeof(chap->chap_challenge)); in login_chap() 484 login_send_chap_c(request, chap); in login_chap() [all …]
|
H A D | token.l | 55 chap { return CHAP; } 56 chap-mutual { return CHAP_MUTUAL; }
|
H A D | ctld.h | 245 struct chap *conn_chap;
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | digest.asn1 | 13 chap-md5(4), 14 ms-chap-v2(5) 18 type UTF8String, -- http, sasl, chap, cram-md5 -- 23 hostname [1] UTF8String OPTIONAL -- for chap/cram-md5 34 type UTF8String, -- http, sasl-md5, chap, cram-md5 --
|
/freebsd/contrib/netbsd-tests/ |
H A D | FREEBSD-upgrade | 11 http://www.netbsd.org/docs/guide/en/chap-fetch.html#chap-fetch-cvs
|
/freebsd/usr.sbin/iscsid/ |
H A D | iscsid.h | 54 struct chap *conn_mutual_chap;
|
/freebsd/usr.bin/ee/nls/fr_FR.ISO8859-1/ |
H A D | ee.msg | 66 57 "^[ (�chap.) menu ^e rechercher... ^y efface ligne ^u haut ^p page pr�c." 76 67 " pressez sur �chap. (^[) pour le menu" 114 105 "pressez sur �chap. pour annuler" 163 154 "^[ (�chap.) menu ^y rechercher... ^k efface ligne ^p ligne pr�c ^g page pr�c"
|
/freebsd/contrib/wpa/src/eap_common/ |
H A D | Makefile | 2 chap.o \
|
/freebsd/usr.sbin/wpa/src/eap_common/ |
H A D | Makefile | 12 SRCS= chap.c \
|
/freebsd/tools/regression/iscsi/ |
H A D | ctl.conf | 2 chap user secretsecret
|
/freebsd/contrib/netbsd-tests/net/if_pppoe/ |
H A D | t_pppoe.sh | 256 run_test chap 402 run_test6 chap
|
/freebsd/share/examples/ppp/ |
H A D | ppp.conf.span-isp.working | 93 enable chap
|
H A D | ppp.conf.sample | 418 # Note: Chap80 and chap81 are Microsoft variations of standard chap (05). 443 enable chap chap80 chap81 pap passwdauth 701 # prompt to a known user. The ``chap-auth'' program is supplied 706 set authkey !/usr/share/examples/ppp/chap-auth 748 enable chap pap passwdauth # Force client authentication
|
H A D | ppp.conf.span-isp | 191 enable chap
|
/freebsd/share/examples/ |
H A D | Makefile | 240 chap-auth \
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | nmake.mak | 88 $(OBJDIR)\chap.obj \
|