> How (if at all) can I access the value of "host" (10.1.4.82 in the
> example above) from within the perl-module?

Phil Mayers p.mayers at imperial.ac.uk wrote:

There is a "virtual" attribute Client-IP-Address, that you can copy to a
temporary attribute before calling the perl module e.g.

authorize {
  ...
  update request {
    Tmp-IP-Address-0 := "%{Client-IP-Address}"
  }
  myperl
  ...
}

Many thanks to Alan and especially Phil for the detailed explanation.

Best,
 Wolfgang


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to