help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] Help needed


From: Sergey Poznyakoff
Subject: Re: [Help-gnu-radius] Help needed
Date: Fri, 13 Jun 2003 19:42:37 +0300

> I guess, that mpd can set IPCP (IP addresses and Mask), CCP (compression)
> and MTU according to RADIUS response. So, what should I put into "attrib"
> in order to achive that ?

Suppose you want to set IP address to 10.10.10.1, MTU to 259 and enable
Van Jacobson compression for user `ilia'. To do so:

insert into attrib values('ilia','Framed-IP-Addresss','10.10.10.1',NULL);
insert into attrib values('ilia','Framed-IP-Netmask','255.255.255.255',NULL);
insert into attrib values('ilia','Framed-MTU','259',NULL);
insert into attrib
values('ilia','Framed-Compression','Van-Jacobson-TCP-IP',NULL);

See documentation for the meaning of the fields (especially the last one).

> Also, how can I prevent some users from multiple logins ?

insert into attrib values('ilia','Simultaneous-Use','1','=')

> And how can I
> restrict users on "time"/"bytes"/"time of the day" basis ?

Login-Time restricts allowed time/day/weekday (see docs). To restrict the
number of transferred bytes you will need to write an extension.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]