(RADIATOR) Cisco session-id and Simultaneous-Use problem

Joe (Mobile) joemobil at gmail.com
Tue Jan 9 06:07:19 CST 2007


Hello,

While implementing Simultaneous-Use checking, I've noticed a strange
problem in the handling of session-id checking with our Cisco NAS.

We're using a Cisco 2850 Router (IOS Version 12.3) as a NAS. The NAS
port format is set via "nas-port format d" to be quite extensive. With
this format the Acct-Session-Id gets a format like
"slot/subslot/port/VPI.VCI_acct-session-id" (see
http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/113db/113db_9/rad_log.htm#xtocid1528910).

Unfortunately Radiator doesn't seem to recognize that format when
doing the CiscoSessionMIB snmp check, since it wrongly translates the
session into integer values. Here are the relevant lines in the
logfile showing an example:

Tue Jan  9 11:21:27 2007: DEBUG: CiscoSessionMIB: Checking
0/0/0/305_000A4C0B->192.168.x.x:305:username at testrealm
Tue Jan  9 11:21:27 2007: DEBUG: Running command `/usr/bin/snmpget -c
"xxxx" 192.168.x.x
.iso.org.dod.internet.private.enterprises.9.9.150.1.1.3.1.2.3320010394635
2>&1`
Tue Jan  9 11:21:27 2007: INFO: RADsessionDB Session for
username at testrealm at 192.168.x.x:305 has gone away

As you can see the session-id "0/0/0/305_000A4C0B" is translated into
3320010394635, while the correct value would be the integer
representation of just the "000A4C0B" part (which is 674827). Thus the
session always seems to have gone away.A namual snmpget yields "No
Such Instance currently exists at this OID" for the wrong value, while
the use of the correct value results into STRING:
"username at testrealm". I'm quite at a loss what I could do about that,
since everything else works fine and the NasType is set to
CiscoSessionMIB. Do I have misconfigured some part of my radiator
settings?

BTW, We are using version 3.9 of radiator, since everything works fine
for quite some time now and we didn't want to "touch a running
system". :)

Thanks for any advice,

Joe

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list