Well you can certainly use different types of NAS with Radiator, all you have
to do is specify the corresponding NasType as you already know. To manage
simultaneous use, all copies of Radiator must use the same SessionDatabase SQL,
so all three radius hosts must be configured to use the same SessionDatabase on
the SQL host.
This what we are doing.
There is another point with accounting. Cisco use NAS-IP-Address Ascend use NAS-Idetifier. We mix both of them in the same field.
What about the dictionary? Cause some fields are having same information but the label is different.
To assist us in dealing with the Cisco NAS-Port problems, it would be very
helpful if you could send us copies of the accounting requests and the
corresponding SNMP query results so we can see the differences. If you could
also tell us what version of Cisco IOS you are using that would help too.
It is ver. 12.1.1.3
You'll see trace 4 logs attached.
thanks
Hugh
Regards
Lutfi
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.
Tue May 9 15:18:58 2000: DEBUG: Packet dump:
*** Received from 213.186.128.166 port 1645 ....
Code: Access-Request
Identifier: 59
Authentic: <252><248><196>2Rl<177><205><195><169><16><166><216><4>r<149>
Attributes:
NAS-IP-Address = 213.186.128.166
NAS-Port = 192
NAS-Port-Type = Async
User-Name = "nurbeyza"
Called-Station-Id = "4055"
Calling-Station-Id = "02222171239"
User-Password = "w4o<182><215>APN<150>O<147><28><141>RhP"
Tue May 9 15:18:58 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Tue May 9 15:18:58 2000: DEBUG: Rewrote user name to nurbeyza
Tue May 9 15:18:58 2000: DEBUG: Rewrote user name to nurbeyza
Tue May 9 15:18:58 2000: DEBUG: Rewrote user name to nurbeyza
Tue May 9 15:18:58 2000: DEBUG: Deleting session for nurbeyza, 213.186.128.166, 192
Tue May 9 15:18:58 2000: DEBUG: do query is: delete from RADONLINE where
NASIDENTIFIER='213.186.128.166' and NASPORT=0192
Tue May 9 15:18:58 2000: DEBUG: Query is: select NASIDENTIFIER, NASPORT,
ACCTSESSIONID from RADONLINE where USERNAME='nurbeyza'
Tue May 9 15:18:58 2000: DEBUG: Handling with Radius::AuthSQL
Tue May 9 15:18:58 2000: DEBUG: Handling with Radius::AuthSQL
Tue May 9 15:18:58 2000: DEBUG: Query is: select PASSWORD,CHECKATTR,REPLYATTR ||
SESSIONFILTER || SESSIONFILTERVALUE || to_char(nvl(TOTALSESSION,3592000)) from
SUBSCRIBERS,SESSIONFILTERS where USERNAME='nurbeyza' AND
(to_date(to_char(EXPIREDATE,'dd.mm.yyyy'),'dd.mm.yyyy')
>=to_date(to_char(SYSDATE,'dd.mm.yyyy'),'dd.mm.yyyy') OR EXPIREDATE IS NULL) AND
subscribers.SESSIONFILTERID = sessionfilters.SESSIONFILTERID
Tue May 9 15:18:58 2000: DEBUG: Radius::AuthSQL looks for match with nurbeyza
Tue May 9 15:18:58 2000: DEBUG: Radius::AuthSQL ACCEPT:
Tue May 9 15:18:58 2000: DEBUG: Access accepted for nurbeyza
Tue May 9 15:18:58 2000: ERR: There is no value named Van-Jacobson-TCP-IP3592000 for
attribute Framed-Compression. Using 0.
Tue May 9 15:18:58 2000: DEBUG: Packet dump:
*** Sending to 213.186.128.166 port 1645 ....
Code: Access-Accept
Identifier: 59
Authentic: <252><248><196>2Rl<177><205><195><169><16><166><216><4>r<149>
Attributes:
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-IP-Netmask = 255.255.255.0
Framed-Routing = None
Framed-MTU = 1500
Framed-Compression = Van-Jacobson-TCP-IP3592000
Tue May 9 15:18:58 2000: DEBUG: Packet dump:
*** Received from 213.186.128.164 port 1646 ....
Code: Accounting-Request
Identifier: 19
Authentic: ><198><167><210>$-Ji<27>z<5><215>-<26>%<183>
Attributes:
NAS-IP-Address = 213.186.128.164
NAS-Port = 179
NAS-Port-Type = Async
User-Name = "hasanki"
Called-Station-Id = "4055"
Calling-Station-Id = "3662146450"
Acct-Status-Type = Stop
Acct-Authentic = RADIUS
Service-Type = Framed-User
Acct-Session-Id = "00000DEF"
Framed-Protocol = PPP
Framed-IP-Address = 213.186.161.96
Ascend-Disconnect-Cause = noModemLossCarrier
Ascend-Pre-Input-Octets = 166
Ascend-Pre-Output-Octets = 178
Ascend-Pre-Input-Packets = 6
Ascend-Pre-Output-Packets = 8
Acct-Input-Octets = 16987
Acct-Output-Octets = 18512
Acct-Input-Packets = 108
Acct-Output-Packets = 89
Ascend-PreSession-Time = 7
Acct-Session-Time = 159
Ascend-Data-Rate = 19200
Ascend-Xmit-Rate = 50666
Acct-Delay-Time = 0
Tue May 9 15:18:58 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Tue May 9 15:18:58 2000: DEBUG: Rewrote user name to hasanki
Tue May 9 15:18:58 2000: DEBUG: Rewrote user name to hasanki
Tue May 9 15:18:58 2000: DEBUG: Rewrote user name to hasanki
Tue May 9 15:18:58 2000: DEBUG: Deleting session for hasanki, 213.186.128.164, 179
Tue May 9 15:18:58 2000: DEBUG: do query is: delete from RADONLINE where
NASIDENTIFIER='213.186.128.164' and NASPORT=0179
Tue May 9 15:18:58 2000: DEBUG: Handling with Radius::AuthSQL
Tue May 9 15:18:58 2000: DEBUG: Handling accounting with Radius::AuthSQL
Tue May 9 15:18:58 2000: DEBUG: do query is: insert into ACCT200005 (RAD) values
('213.186.155.31')
Tue May 9 15:18:58 2000: DEBUG: do query is: insert into ACCT200005
(USERNAME, TIME_STAMP, ACCTSTATUSTYPE, ACCTDELAYTIME, ACCTINPUTOCTETS,
ACCTOUTPUTOCTETS, ACCTSESSIONID, ACCTSESSIONTIME, ACCTTERMINATECAUSE, NASIDENTIFIER,
NASPORT, FRAMEDADDRESS, CALLERID, DATARATE, XMITRATE, CLIENTDNIS, LOGDATE)
values
('hasanki', 957874738, 'Stop', 0, 16987, 18512, '00000DEF', '159', 11,
'213.186.128.164', 179, '213.186.161.96', '3662146450', 19200, 50666, '4055', 'May 9,
2000 15:18')
Tue May 9 15:18:58 2000: DEBUG: Accounting accepted
Tue May 9 15:18:58 2000: DEBUG: Packet dump:
*** Sending to 213.186.128.164 port 1646 ....
Code: Accounting-Response
Identifier: 19
Authentic: ><198><167><210>$-Ji<27>z<5><215>-<26>%<183>
Attributes:
Tue May 9 15:18:58 2000: DEBUG: Packet dump:
*** Received from 213.186.128.226 port 1646 ....
Code: Accounting-Request
Identifier: 124
Authentic: <169>o<225><219>n<28>_<205><211>G<188><204><214><21><23><16>
Attributes:
NAS-IP-Address = 213.186.128.226
NAS-Port = 127
NAS-Port-Type = Async
User-Name = "bcgkstz"
Called-Station-Id = "2323973390"
Calling-Station-Id = "2323713304"
Acct-Status-Type = Stop
Acct-Authentic = RADIUS
Service-Type = Framed-User
Acct-Session-Id = "0000132E"
Framed-Protocol = PPP
Framed-IP-Address = 213.186.178.100
Ascend-Disconnect-Cause = pppRcvTerminate
Ascend-Pre-Input-Octets = 48
Ascend-Pre-Output-Octets = 59
Ascend-Pre-Input-Packets = 2
Ascend-Pre-Output-Packets = 3
Acct-Input-Octets = 695997
Acct-Output-Octets = 4247025
Acct-Input-Packets = 9884
Acct-Output-Packets = 10723
Ascend-PreSession-Time = 1
Acct-Session-Time = 7036
Ascend-Data-Rate = 28800
Ascend-Xmit-Rate = 33600
Acct-Delay-Time = 5
