|
|
| version 1.1.1.3, 2021/03/17 00:39:23 | version 1.1.1.3.2.1, 2023/09/27 11:08:00 |
|---|---|
| Line 113 struct authparams { | Line 113 struct authparams { |
| struct in_addr peer_dns[2]; /* DNS servers for peer to use */ | struct in_addr peer_dns[2]; /* DNS servers for peer to use */ |
| struct in_addr peer_nbns[2]; /* NBNS servers for peer to use */ | struct in_addr peer_nbns[2]; /* NBNS servers for peer to use */ |
| #ifdef USE_RADIUS | |
| char *eapmsg; /* EAP Msg for forwarding to RADIUS | char *eapmsg; /* EAP Msg for forwarding to RADIUS |
| * server */ | * server */ |
| int eapmsg_len; | int eapmsg_len; |
| Line 125 struct authparams { | Line 126 struct authparams { |
| char *filter_id; /* RADIUS Framed-Filter-Id attribute */ | char *filter_id; /* RADIUS Framed-Filter-Id attribute */ |
| #endif | |
| char action[8 + LINK_MAX_NAME]; | char action[8 + LINK_MAX_NAME]; |
| #ifdef USE_IPFW | #ifdef USE_IPFW |
| Line 204 struct authparams { | Line 206 struct authparams { |
| }; | }; |
| struct authconf { | struct authconf { |
| #ifdef USE_RADIUS | |
| struct radiusconf radius; /* RADIUS configuration */ | struct radiusconf radius; /* RADIUS configuration */ |
| #endif | |
| char authname[AUTH_MAX_AUTHNAME]; /* Configured username */ | char authname[AUTH_MAX_AUTHNAME]; /* Configured username */ |
| char password[AUTH_MAX_PASSWORD]; /* Configured password */ | char password[AUTH_MAX_PASSWORD]; /* Configured password */ |
| u_int acct_update; | u_int acct_update; |
| Line 231 struct auth { | Line 235 struct auth { |
| struct pppTimer acct_timer; /* Timer for accounting updates */ | struct pppTimer acct_timer; /* Timer for accounting updates */ |
| struct papinfo pap; /* PAP state */ | struct papinfo pap; /* PAP state */ |
| struct chapinfo chap; /* CHAP state */ | struct chapinfo chap; /* CHAP state */ |
| #ifdef USE_RADIUS | |
| struct eapinfo eap; /* EAP state */ | struct eapinfo eap; /* EAP state */ |
| #endif | |
| struct paction *thread; /* async auth thread */ | struct paction *thread; /* async auth thread */ |
| struct paction *acct_thread; /* async accounting auth thread */ | struct paction *acct_thread; /* async accounting auth thread */ |
| struct authconf conf; /* Auth backends, RADIUS, etc. */ | struct authconf conf; /* Auth backends, RADIUS, etc. */ |
| Line 253 struct authdata { | Line 259 struct authdata { |
| u_int code; /* Proto specific code */ | u_int code; /* Proto specific code */ |
| u_char acct_type; /* Accounting type, Start, Stop, | u_char acct_type; /* Accounting type, Start, Stop, |
| * Update */ | * Update */ |
| #ifdef USE_RADIUS | |
| u_char eap_radius; | u_char eap_radius; |
| #endif | |
| u_char status; | u_char status; |
| u_char why_fail; | u_char why_fail; |
| char *reply_message; /* Text wich may displayed to the user */ | char *reply_message; /* Text wich may displayed to the user */ |
| Line 261 struct authdata { | Line 269 struct authdata { |
| char *mschapv2resp; /* Response String for MSCHAPv2 */ | char *mschapv2resp; /* Response String for MSCHAPv2 */ |
| void (*finish) (Link l, struct authdata *auth); /* Finish handler */ | void (*finish) (Link l, struct authdata *auth); /* Finish handler */ |
| int drop_user; /* RAD_MPD_DROP_USER value sent by | int drop_user; /* RAD_MPD_DROP_USER value sent by |
| * RADIUS server */ | * RADIUS server or external acct script */ |
| #ifdef USE_RADIUS | |
| struct { | struct { |
| struct rad_handle *handle; /* the RADIUS handle */ | struct rad_handle *handle; /* the RADIUS handle */ |
| } radius; | } radius; |
| #endif | |
| #ifdef USE_OPIE | #ifdef USE_OPIE |
| struct { | struct { |
| struct opie data; | struct opie data; |