On Mon, Dec 15, 2003 at 09:12:59AM +0800, Bruce Cook wrote:
> Hmm, don't see it in the current version I'm running, I'll suck the
> latest CVS and
> have a look at that.
>
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ?/RAD_REQUEST:
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ? Calling-Station-Id =
> wpp212100900202
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ? NAS-Port = 1627979978
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ? CHAP-Password =
> 0x5293ce878311839de112b3bc95946d7566
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ? Service-Type = Framed-User
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ? NAS-Identifier =
> N9028384K-WPP2
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ? Acct-Session-Id = 18afe90b
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ? User-Name = kz032
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ? Framed-Protocol = PPP
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ? NAS-IP-Address = 172.31.22.192
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ?/RAD_REPLY:
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ?/RAD_CHECK:
> Mon Dec 1 23:20:53 2003 : Info: rlm_perl: ?/RAD_CONFIG:
>
> Bruce
>
You have to use preprocess module for Client-IP-Address
from radiusd.conf authorize section.
--//--
# It also adds a Client-IP-Address attribute to the request.
preprocess
--//--
>
>
> Boian Jordanov wrote:
>
> >On Fri, Dec 12, 2003 at 06:01:53PM +0800, Bruce Cook wrote:
> >
> >
> >>Is there any way to access Client-IP-Address within a perl script under
> >>rlm_perl.
> >>
> >>I can't seem to find any direct reference to it.
> >>
> >>
> >>
> >
> >$RAD_REQUEST{'Client-IP-Address'}
> >
> >
> >
> >>Bruce Cook
> >>
> >>
> >>
> >>-
> >>List info/subscribe/unsubscribe? See
> >>http://www.freeradius.org/list/users.html
> >>
> >>
> >>
> >
> >-
> >List info/subscribe/unsubscribe? See
> >http://www.freeradius.org/list/users.html
> >
> >
> >
> >
>
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html