rlm_python: Access Request source IP Address is missing from authorize(p) function argument
aland at deployingradius.com
Sun May 31 18:23:21 CEST 2020
> On May 31, 2020, at 12:09 PM, Gleb Lisikh <in4bit.general at gmail.com> wrote:
> I might need source MAC
That's just not available. The only way to get that is with PCAP. The standard socket APIs don't supply that.
And I'm curious why source MAC matters. If you need to see which machine sent the RADIUS packet, look at (a) source IP, or (b) NAS-Identifier.
The NAS-Identifier is supposed to identity a NAS. Source MAC tells you pretty much nothing.
More information about the Freeradius-Users