Client hostname in clients.conf instead of IP address
Hello, Can anyone help me with this question? I have added the following configuration to raddb/modules/attr_rewrite, which allows me to get Client IP address. attr_rewrite addclientip { attribute = Client-IP-Address searchin = packet searchfor = "^$" replacewith = "%{Client-IP-Address}" maxmatches = 1 new_attribute = yes } Is there anyway for me to retrieve the Client hostname as configured in raddb/clients.conf shown in the example below. client www.abc.com { secret = password } Any help will be greatly appreciated. Thanks :) Alex -- View this message in context: http://freeradius.1045715.n5.nabble.com/Client-hostname-in-clients-conf-inst... Sent from the FreeRadius - User mailing list archive at Nabble.com.
participants (2)
-
Fajar A. Nugraha -
tohaikmeng