Lines Matching full:radius
26 * $FreeBSD: src/usr.sbin/ppp/radius.c,v 1.54.14.1 2010/12/21 17:10:29 kensmith Exp $
87 #include "radius.h"
148 demangle(struct radius *r, const void *mangled, size_t mlen,
167 /* We need the RADIUS Request-Authenticator */
169 log_Printf(LogWARN, "Cannot obtain the RADIUS request authenticator\n");
178 S = rad_server_secret(r->cx.rad); /* We need the RADIUS secret */
248 radius_Process(struct radius *r, int got)
271 "Radius(%s): ACCEPT received\n", stype);
280 "Radius(%s): REJECT received\n", stype);
290 "Radius: CHALLENGE received (can't handle yet)\n");
303 log_Printf(LogRADIUS, "Radius(%s): Accounting response received\n",
314 "radius(%s): %s\n", stype, rad_strerror(r->cx.rad));
407 log_Printf(LogWARN, "radius: %s: Syntax error\n",
410 log_Printf(LogWARN, "radius: %s: Invalid route\n",
415 log_Printf(LogWARN, "radius: %s %s: Invalid route\n",
491 log_Printf(LogWARN, "radius: %s: Syntax error\n",
494 log_Printf(LogWARN, "radius: %s: Invalid route\n",
499 log_Printf(LogWARN, "radius: %s %s: Invalid route\n",
620 "RADIUS attribute %d\n", res);
626 log_Printf(LogDEBUG, "Dropping vendor %lu RADIUS attribute %d\n",
633 log_Printf(LogDEBUG, "Dropping RADIUS attribute %d\n", res);
655 radius_Continue(struct radius *r, int sel)
663 "Radius: Request re-sent\n");
678 radius_Continue((struct radius *)v, 0);
695 radius_Flush(struct radius *r)
717 struct radius *rad = descriptor2radius(d);
723 log_Printf(LogTIMER, "Radius: fdset(r) %d\n", rad->cx.fd);
736 struct radius *r = descriptor2radius(d);
757 radius_Init(struct radius *r)
788 log_Printf(LogDEBUG, "Radius: radius_Init\n");
795 radius_Destroy(struct radius *r)
798 log_Printf(LogDEBUG, "Radius: radius_Destroy\n");
829 radius_put_physical_details(struct radius *rad, struct physical *p)
890 * Start an authentication request to the RADIUS server.
893 radius_Authenticate(struct radius *r, struct authinfo *authp, const char *name,
916 * and just continue to wait for the RADIUS server(s).
1053 log_Printf(LogRADIUS, "Radius(auth): %s data sent for %s\n", what, name);
1060 "Radius: Request sent\n");
1064 r->cx.timer.name = "radius auth";
1093 * Send an accounting request to the RADIUS server
1096 radius_Account(struct radius *r, struct radacct *ac, struct datalink *dl,
1112 * and just continue to wait for the RADIUS server(s).
1142 ac->authentic = 2; /* Assume RADIUS verified auth data */
1280 log_Printf(level, "Radius(acct): %s data sent\n", what);
1290 r->cx.timer.name = "radius acct";
1300 radius_Show(struct radius *r, struct prompt *p)
1302 prompt_Printf(p, " Radius config: %s",
1336 timer_Stop(&bundle->radius.alive.timer);
1337 bundle->radius.alive.timer.load = bundle->radius.alive.interval * SECTICKS;
1338 if (bundle->radius.alive.timer.load) {
1339 radius_Account(&bundle->radius, &bundle->radacct,
1341 timer_Start(&bundle->radius.alive.timer);
1348 if (bundle->radius.cfg.file && bundle->radius.alive.interval) {
1349 bundle->radius.alive.timer.func = radius_alive;
1350 bundle->radius.alive.timer.name = "radius alive";
1351 bundle->radius.alive.timer.load = bundle->radius.alive.interval * SECTICKS;
1352 bundle->radius.alive.timer.arg = bundle;
1358 radius_StopTimer(struct radius *r)