trying for the first time to get SNMP working, and I have come to a point 
where I'm really startled why stuff doesn't work.

I've configured FreeRADIUS 1.1.6 with SNMP, and it's printing out that it is 
starting up the SMUX connection. Then the snmpd refuses the SMUX connection.

This would usually mean I screwed up the shared secret, but I'm very sure I 
haven't. I even verified with tcpdump that FR sends the correct secret on the 
loopback "wire".

So the problem would appear to be that Net-SNMP is confused wrt the secret. 
But I configured it with the line

smuxpeer . verysecret

(also without the leading dot, in my desperation, didn't help). The password 
*is* verysecret on the FR side.

Debug output says:

Module: Instantiated detail (nas_reply_log)
 main: smux_password = "verysecret"
 main: snmp_write_access = no
SMUX connect try 1
SMUX open oid:
SMUX open progname: radiusd
SMUX open password: verysecret
SMUX register oid:
SMUX register priority: -1
SMUX register operation: 1
SMUX register oid:
SMUX register priority: -1
SMUX register operation: 1
SMUX register message send failed: Broken pipe
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.

The broken pipe is because Net-SNMP closes the connection, it's log says:

[smux_accept] accepted fd 9 from
refused smux peer: oid SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd

and tcpdump reveals that the reason for refusing is authenticationFailure.

Anyone else running a similar config? It's the version of Net-SNMP that came 
as RPM on SUSE 10.1. FR compiled freshly.


Stefan Winter


Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de 
la Recherche
Ingenieur Forschung & Entwicklung

6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
E-Mail: [EMAIL PROTECTED]     Tel.:     +352 424409-1
http://www.restena.lu                Fax:      +352 422473

Attachment: pgp1J8vSgotq0.pgp
Description: PGP signature

List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to