PackeTsar / radiuid

An application to extract User-to-IP mappings from RADIUS accounting data and send them to Palo Alto firewalls for use by the User-ID function.
http://packetpushers.net/radiuid/
GNU General Public License v3.0
34 stars 10 forks source link

FreeRADIUS client deprecated format #34

Open alantamer opened 6 years ago

alantamer commented 6 years ago

Hi,

After checking "/var/log/radius/radius.log", I've noticed the warnings below:

Thu Dec 28 21:07:40 2017 : Warning: No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 10.0.1.0/24. Please fix your configuration Thu Dec 28 21:07:40 2017 : Warning: Support for old-style clients will be removed in a future release

It would be nice if RadiUID could support the new format of IPv4/IPv6 addresses, instead of the network one:

client host_v4 { ipv4addr = 10.0.1.10 secret = blahblahblah }

client host_v6 { ipv6addr = 2001:db8:1:::10 secret = blahblahblah }

PackeTsar commented 6 years ago

@alantamer Can you attach an example file for those logs?

alantamer commented 6 years ago

@PackeTsar, I've edited my /etc/raddb/clients.conf file to satisfy the new format (posted above), so there are no warnings anymore on my logs.

PackeTsar commented 6 years ago

Got it. Yea I can take care of this in the v2.5.0 release.