Hello I need to query freeradius by snmp. Badly I'm not very firendly with SMUX protcol, and the documentation of this part is really little. Let me show you what I did . My platform is RedHat Linux 9 and my Freeradius release is 0.8 I checked the configure file, and check a line "with-snmp" . it seems freeradius configure adds -with-snmp by default when you start configuring. But according to snmp documents, I added -with-snmp to my configure line. ( configure -with-snmp --prefix=something) After compliation is completed: In radiusd.conf,checked that snmp.conf included. In snmp.conf added "smux_password=secret" In my net-snmp.conf I added " smuxpeer .1.3.6.1.4.1.3317.1.3.1 secret" The GNOME-PRODUCT-RADIUSD-MIB.mib downloaded (.1.3.6.1.4.1.3317.1.3.1) and copied in my GETIF (snmp viewer) directory When I query with getif it I didne see any SMUX query in my SNMP log. And nothing reach to freeradius. What should I do ? What is the MIB directory in freeradius package ? there are AUTH , ACCT mib files for MIB2. I think freeradus doesn't support them and just has 1 OID which is .1.3.6.1.4.1.3317.1.3.1 . If this is true , can anyone say what is this OID ? Regards Reza
freeRADIUS, especially a version as old as 0.8 doesn't support net-snmp without patches. If you search back a few months on the freeRADIUS Users list you should find the patches.However the patches were for freeRADIUS 1.0.x. Unless you've got a specific reason for running 0.8, I would think you really should upgrade to 1.0.4. cheers, Mike _____ From: freeradius-devel-bounces@lists.freeradius.org [mailto:freeradius-devel-bounces@lists.freeradius.org] On Behalf Of Reza Toghraee Sent: Wednesday, 29 June 2005 4:13 PM To: freeradius-devel@lists.freeradius.org Subject: SMUX - SNMP Hello I need to query freeradius by snmp. Badly I'm not very firendly with SMUX protcol, and the documentation of this part is really little. Let me show you what I did . My platform is RedHat Linux 9 and my Freeradius release is 0.8 I checked the configure file, and check a line "with-snmp" . it seems freeradius configure adds -with-snmp by default when you start configuring. But according to snmp documents, I added -with-snmp to my configure line. ( configure -with-snmp --prefix=something) After compliation is completed: In radiusd.conf,checked that snmp.conf included. In snmp.conf added "smux_password=secret" In my net-snmp.conf I added " smuxpeer .1.3.6.1.4.1.3317.1.3.1 secret" The GNOME-PRODUCT-RADIUSD-MIB.mib downloaded (.1.3.6.1.4.1.3317.1.3.1) and copied in my GETIF (snmp viewer) directory When I query with getif it I didne see any SMUX query in my SNMP log. And nothing reach to freeradius. What should I do ? What is the MIB directory in freeradius package ? there are AUTH , ACCT mib files for MIB2. I think freeradus doesn't support them and just has 1 OID which is .1.3.6.1.4.1.3317.1.3.1 . If this is true , can anyone say what is this OID ? Regards Reza
What about OIDs ? How many OIDs does 1.0.4 support ? just 1.3.6.1.4.1.3317.1.3.1 ? I did many changes on freeradius 0.8 source in xlat.c, it's a little difficault to upgrade t 1.0.4 If it just support an OID , I think snmp support can be ignored. I need information like total requests, . Does GNOME-PRODUCT-RADIUSD-MIB connects to RADIUS-AUTH-SERVER-MIB ??? Reza _____ From: freeradius-devel-bounces@lists.freeradius.org [mailto:freeradius-devel-bounces@lists.freeradius.org] On Behalf Of Mike Mitchell Sent: Wednesday, June 29, 2005 8:59 AM To: 'FreeRadius developers mailing list' Subject: RE: SMUX - SNMP freeRADIUS, especially a version as old as 0.8 doesn't support net-snmp without patches. If you search back a few months on the freeRADIUS Users list you should find the patches.However the patches were for freeRADIUS 1.0.x. Unless you've got a specific reason for running 0.8, I would think you really should upgrade to 1.0.4. cheers, Mike _____ From: freeradius-devel-bounces@lists.freeradius.org [mailto:freeradius-devel-bounces@lists.freeradius.org] On Behalf Of Reza Toghraee Sent: Wednesday, 29 June 2005 4:13 PM To: freeradius-devel@lists.freeradius.org Subject: SMUX - SNMP Hello I need to query freeradius by snmp. Badly I'm not very firendly with SMUX protcol, and the documentation of this part is really little. Let me show you what I did . My platform is RedHat Linux 9 and my Freeradius release is 0.8 I checked the configure file, and check a line "with-snmp" . it seems freeradius configure adds -with-snmp by default when you start configuring. But according to snmp documents, I added -with-snmp to my configure line. ( configure -with-snmp --prefix=something) After compliation is completed: In radiusd.conf,checked that snmp.conf included. In snmp.conf added "smux_password=secret" In my net-snmp.conf I added " smuxpeer .1.3.6.1.4.1.3317.1.3.1 secret" The GNOME-PRODUCT-RADIUSD-MIB.mib downloaded (.1.3.6.1.4.1.3317.1.3.1) and copied in my GETIF (snmp viewer) directory When I query with getif it I didne see any SMUX query in my SNMP log. And nothing reach to freeradius. What should I do ? What is the MIB directory in freeradius package ? there are AUTH , ACCT mib files for MIB2. I think freeradus doesn't support them and just has 1 OID which is .1.3.6.1.4.1.3317.1.3.1 . If this is true , can anyone say what is this OID ? Regards Reza
On Wednesday 29 June 2005 13:09, Reza wrote:
What about OIDs ?
The OID we use to get info on the number of Access-Accept packets is mib-2.67.1.1.1.1.8.0. If you installed the RADIUS MIBs, you could also use RADIUS-AUTH-SERVER-MIB::radiusAuthServTotalAccessAccepts.0
I did many changes on freeradius 0.8 source in xlat.c, it's a little difficault to upgrade t 1.0.4
Are there any changes to xlat.c that might be useful to apply to the CVS version? Run in debug mode to see what is happening. Is it even trying to register with the smux server? Kevin Bonner
participants (4)
-
Kevin Bonner -
Mike Mitchell -
Reza -
Reza Toghraee