64-bit issues ( SNMP issues )

Edvin Seferovic edvin.seferovic at kolp.at
Sun Dec 2 20:21:34 CET 2007


Hi Alan,

thank you ! As you mentioned - net-snmp libraries do have a problem.
Although I've found a patch on their mailing list covering this problem for
net-snmp 5.3.1 ( I am attaching it ). Nevertheless I cannot get any data...
freeradius seems to register just fine :

Sun Dec  2 20:17:11 2007 : Debug: SMUX connect try 1
Sun Dec  2 20:17:11 2007 : Debug: SMUX SMUX open oid:
1.3.6.1.4.1.11344.1.1.1
Sun Dec  2 20:17:11 2007 : Debug: SMUX open progname: radiusd
Sun Dec  2 20:17:11 2007 : Debug: SMUX open password: rad
Sun Dec  2 20:17:11 2007 : Debug: SMUX SMUX register oid:
1.3.6.1.2.1.67.1.1.1.1
Sun Dec  2 20:17:11 2007 : Debug: SMUX register priority: -1
Sun Dec  2 20:17:11 2007 : Debug: SMUX register operation: 1
Sun Dec  2 20:17:11 2007 : Debug: SMUX SMUX register oid:
1.3.6.1.2.1.67.2.1.1.1
Sun Dec  2 20:17:11 2007 : Debug: SMUX register priority: -1
Sun Dec  2 20:17:11 2007 : Debug: SMUX register operation: 1
Sun Dec  2 20:17:11 2007 : Debug: Listening on authentication address
172.19.10.3 port 1812 as server mac-auth
Sun Dec  2 20:17:11 2007 : Debug: Listening on accounting address
172.19.10.3 port 1813 as server mac-auth
Sun Dec  2 20:17:11 2007 : Debug: Listening on SNMP SMUX with OID
.1.3.6.1.4.1.11344.1.1.1
Sun Dec  2 20:17:11 2007 : Debug: Ready to process requests.
Sun Dec  2 20:17:11 2007 : Debug: SMUX read start
Sun Dec  2 20:17:11 2007 : Debug: SMUX read len: 6
Sun Dec  2 20:17:11 2007 : Debug: SMUX message received type: 67 rest len: 4
Sun Dec  2 20:17:11 2007 : Debug: SMUX_RRSP
Sun Dec  2 20:17:11 2007 : Debug: SMUX_RRSP value: 0 errstat: 0
Sun Dec  2 20:17:11 2007 : Debug: Ready to process requests.
Sun Dec  2 20:17:11 2007 : Debug: SMUX read start
Sun Dec  2 20:17:11 2007 : Debug: SMUX read len: 6
Sun Dec  2 20:17:11 2007 : Debug: SMUX message received type: 67 rest len: 4
Sun Dec  2 20:17:11 2007 : Debug: SMUX_RRSP
Sun Dec  2 20:17:11 2007 : Debug: SMUX_RRSP value: 0 errstat: 0

Dec  2 20:18:50 sphinx snmpd[17853]: NET-SNMP version 5.3.1 
Dec  2 20:19:28 sphinx snmpd[17853]: Connection from UDP: [127.0.0.1]:32784 
Dec  2 20:19:41 sphinx snmpd[17853]: [smux_accept] accepted fd 10 from
127.0.0.1:60772 
Dec  2 20:19:41 sphinx snmpd[17853]: accepted smux peer: oid
SNMPv2-SMI::enterprises.11344.1.1.1, descr radiusd 
Dec  2 20:19:48 sphinx snmpd[17853]: Connection from UDP: [127.0.0.1]:32784

sphinx:~/software# snmpwalk -v 2c -m
/usr/share/snmp/mibs/RADIUS-AUTH-SERVER-MIB.txt -c public 127.0.0.1
radiusAuth
RADIUS-AUTH-SERVER-MIB::radiusAuthentication = No more variables left in
this MIB View (It is past the end of the MIB tree)

Any ideas what might go wrong ? 

TIA

Regards,
E:S

-----Original Message-----
From: Alan DeKok [mailto:aland at deployingradius.com] 
Sent: Sonntag, 02. Dezember 2007 17:44
To: Edvin Seferovic
Subject: 64-bit issues

  I don't know if the net-snmp libraries are 64-bit clean, either.

  In any case, I've cleaned up src/main/smux.c.  Please try downloading
&& building CVS head.  Maybe that will fix it...

  Alan DeKok.


__________ NOD32 2697 (20071202) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: net-snmp-5.3.1-smux-password.diff
Type: application/octet-stream
Size: 1275 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20071202/ffaf49c4/attachment.obj>


More information about the Freeradius-Users mailing list