rlm_python: Access Request source IP Address is missing from authorize(p) function argument

Gleb Lisikh in4bit.general at gmail.com
Sun May 31 18:09:32 CEST 2020


I might need source MAC

Gleb



On Sat, May 30, 2020 at 11:16 AM Alan DeKok <aland at deployingradius.com>
wrote:

> On May 30, 2020, at 10:41 AM, Gleb Lisikh <in4bit.general at gmail.com>
> wrote:
> >
> > Awesome, thanks! This seems like exactly what I need, even though it is
> indeed a bit weird.
> >
> > Where would you suggest to insert this 'update request' piece of code?
>
>   Anywhere before you run the "python" module.
>
> > Would you be able to point me to the doc's describing how to work with
> the UDP/IP packet data? I might need to get more from the headers than just
> IP address.
>
>   You can get Packet-Src-IP-Address, Packet-Src-Port,
> Packet-Dst-IP-Address, and Packet-Dst-Port
>
>   I'm not sure what other fields you'd need.
>
>   Alan DeKok.
>
>


More information about the Freeradius-Users mailing list