Greetings, I am running freeradius-server-2.1.8-0 on CentOS 5.6 and am setting up some new NAS, Nomadix AG3100. Every so often, when running in debug, the server reports "Invalid packet code 4 sent to authentication port from client AG3100 port 1032 : IGNORED". After searching past threads, I understand there is no way to know what is being sent short of sniffing the packets. As I'm not doing much with accounting, I'm not terribly concerned, but it did prompt me to take a look at the dictionaries in /usr/share/freeradius. Sure enough, there is a Nomadix dictionary file, but it lists only 13 attributes (content below), while the vendor supplied list includes 6 additional VSA's. I read in the dictionary man page that "The dictionaries in /usr/local/share SHOULD NOT be edited", while "If you need to add new attributes, please edit the /etc/raddb/dictionary file". So, the question is, will the following entry in /etc/raddb/dictionary correctly add the "new" attributes? I have not entered the types yet, waiting on the OEM for some clarification. #ATTRIBUTE name number type [vendor|options] ATTRIBUTE Nomadix-Qos-Policy 14 [type] Nomadix ATTRIBUTE Nomadix-SMTP-Redirect 17 [type] Nomadix ATTRIBUTE Nomadix-Centralized-Mgmt 18 [type] Nomadix ATTRIBUTE Nomadix-Group-Bw-Policy-ID 19 [type] Nomadix ATTRIBUTE Nomadix-Group-Max-up 20 [type] Nomadix ATTRIBUTE Nomadix-Group-Max-Down 21 [type] Nomadix Thank you for any help. - Andrew Long Here is the existing dictionary... # FILE: /usr/share/freeradius/dictionary.nomadix # -*- text -*- # # Version: $Id$ # VENDOR Nomadix 3309 # BEGIN-VENDOR Nomadix ATTRIBUTE Nomadix-Bw-Up 1 integer ATTRIBUTE Nomadix-Bw-Down 2 integer ATTRIBUTE Nomadix-URL-Redirection 3 string ATTRIBUTE Nomadix-IP-Upsell 4 integer ATTRIBUTE Nomadix-Expiration 5 string ATTRIBUTE Nomadix-Subnet 6 string ATTRIBUTE Nomadix-MaxBytesUp 7 integer ATTRIBUTE Nomadix-MaxBytesDown 8 integer ATTRIBUTE Nomadix-EndofSession 9 integer ATTRIBUTE Nomadix-Logoff-URL 10 string ATTRIBUTE Nomadix-Net-VLAN 11 integer ATTRIBUTE Nomadix-Config-URL 12 string ATTRIBUTE Nomadix-Goodbye-URL 13 string VALUE Nomadix-IP-Upsell PrivatePool 0 VALUE Nomadix-IP-Upsell PublicPool 1 END-VENDOR Nomadix ############# END FILE #############
So, the question is, will the following entry in /etc/raddb/dictionary correctly add the "new" attributes? I have not entered the types yet, waiting on the OEM for some clarification.
Developer at OEM reported perfectly safe to add the attributes to the existing site-wide dictionary.nomadix file so long as formatting is followed and we don't make typos!
On Mon, Dec 19, 2011 at 09:46:33PM -0500, Andrew Long wrote:
So, the question is, will the following entry in /etc/raddb/dictionary correctly add the "new" attributes? I have not entered the types yet, waiting on the OEM for some clarification.
Developer at OEM reported perfectly safe to add the attributes to the existing site-wide dictionary.nomadix file so long as formatting is followed and we don't make typos!
...and as long as you check when you next upgrade FreeRADIUS that the dictionary.nomadix file in the new version also has the new attributes, of course, or remember to add them again yourself. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Architect (UNIX and Networks), Network Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
participants (2)
-
Andrew Long -
Matthew Newton