On Tue, Mar 28, 2000 at 10:22:01AM +0200, Thierry Coutelier wrote:
> Eventualy is someone else working on a radius module for pppd.
> If not I will do it as I need one in the next 15 days. Anyone is
> welcome to help me.
You can use PAM, but I believe this is the current situation:
There is a RADIUS module at www.freeradius.org which I believe provides
authentication and there's one with PAM that can do accounting. You can get
both to work together by stacking them in the config file.
There is one problem though. The accounting RADIUS module in PAM doesn't
log Input and Output Octets. If you want to hack on it, it's in the pwdb
library. At the moment radius_acct_send() takes user, server, session_time
and sense (Is it a stop or start packet) arguments. I suggest you design a
struct which contains all this information and pass a pointer to it around.
Another thing: radius_acct_stop() and radius_acct_start() are defined in
public.h using #define.
Then, pppd... You can use a pppd plugin to do a pam_set_env() for the input
and output octets which you then extract again in the radius module. Not
sure where the extraction code should be though.
> (No I wont use portslave which is not working with newer Kernels)
Portslave 1.2 worked fine over here.
HTH
--
------------------
Sarel Botha
[EMAIL PROTECTED]
------------------
99 little bugs in the code, 99 bugs in the code,
fix one bug, compile it again...
101 little bugs in the code....
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]