Home | History | Annotate | Download | only in radius

Lines Matching full:radius

3 * radius.c
5 * RADIUS plugin for pppd. Performs PAP, CHAP, MS-CHAP, MS-CHAPv2
6 * authentication using RADIUS.
27 "$Id: radius.c,v 1.28 2004/11/14 10:27:57 paulus Exp $";
60 { "radius-config-file", o_string, &config_file },
63 "Set Radius NAS-Port attribute value via libradiusclient library", OPT_PRIO | 1 },
65 "Set Radius NAS-Port attribute to number as in interface name (Default)", OPT_PRIOSUB | 0 },
146 * Initializes RADIUS plugin.
170 info("RADIUS plugin initialized.");
180 * Adds an av pair to be passed on to the RADIUS server on each request.
218 * If RADIUS server has specified an IP address, it is stored in *addrp.
239 * Performs PAP authentication using RADIUS
329 * Performs CHAP, MS-CHAP and MS-CHAPv2 authentication using RADIUS.
344 /* Need the RADIUS secret and Request Authenticator to decode MPPE */
367 error("RADIUS: Challenge type %u unsupported", digest->code);
419 /* The idiots use a different field order in RADIUS than PPP */
442 /* The idiots use a different field order in RADIUS than PPP */
471 * make authentication with RADIUS server
539 * Parses attributes sent by RADIUS server and sets them in pppd.
554 /* Send RADIUS attributes to anyone else who might be interested */
561 * new IP address (RADIUS can define static IP for some users),
571 slprintf(msg, BUF_LEN, "RADIUS: wrong service type %ld for %s",
581 slprintf(msg, BUF_LEN, "RADIUS: wrong framed protocol %ld for %s",
621 slprintf(msg, BUF_LEN, "RADIUS: bad remote IP address %I for %s",
644 slprintf(msg,BUF_LEN,"RADIUS: bad MS-CHAP2-Success packet");
656 "RADIUS: bad MS-CHAP-MPPE-Keys attribute");
666 "RADIUS: bad MS-MPPE-%s-Key attribute",
721 * req_info -- radius request information used for encryption
725 * Decrypt the "key" provided by the RADIUS server for MPPE encryption.
738 error("RADIUS: Incorrect attribute length (%d) for MS-CHAP-MPPE-Keys",
775 * req_info -- radius request information used for encryption
779 * Decrypt the key provided by the RADIUS server for MPPE encryption.
797 error("RADIUS: Incorrect attribute length (%d) for MS-MPPE-%s-Key",
803 error("RADIUS: Illegal salt value for MS-MPPE-%s-Key attribute", type);
819 error("RADIUS: Incorrect key length (%d) for MS-MPPE-%s-Key attribute",
847 * Sends a "start" accounting message to the RADIUS server.
915 /* RADIUS server could be down so make this a warning */
934 * Sends a "stop" accounting message to the RADIUS server.
1061 /* RADIUS server could be down so make this a warning */
1075 * Sends an interim accounting message to the RADIUS server
1158 /* RADIUS server could be down so make this a warning */
1223 slprintf(msg, BUF_LEN, "RADIUS: Can't read config file %s",
1229 slprintf(msg, BUF_LEN, "RADIUS: Can't read dictionary file %s",
1235 slprintf(msg, BUF_LEN, "RADIUS: Can't read map file %s",
1285 /* If RADIUS server said any address is OK, then fine... */