|
Hi,
We are implementing radius with Cisco and Lucent
NAS. We have defined IP address pool on Radiator and its assigning IP's to dial
in users. But there is some problem that any user can assign any IP to himself
and can override the IP assigned by radiator.
I think there is some thing wrong with
authorization. I am sending the config file and trace 4 debug.
Please help in this regard.
Arslan.
(telenet).
|
# advisp.cfg
#Radiator configuration file for Advanced ISP Billing System
#
# Example Radiator configuration file that allows you to
# authenticate from an SQL database.
# With Radiator you can interface with almost any databse schema,
# and there are many more configurable parameters that allow you
# to control database fallback, select statements, column names
# and arrangements etc etc etc.
# See the reference manual for more details.
Foreground
LogStdout
AuthPort 1645
AcctPort 1646
LogDir .
DbDir .
########################################################################
#Optional Parameters used from default
SnmpgetProg /usr/bin/snmpget
########################################################################
# You will probably want to change this to suit your site.
<Client 203.135.3.243>
#<Client 127.0.0.1>
Secret xxxxx
DupInterval 3
# DefaultRealm AdvISP
IgnoreAcctSignature
NasType Cisco
SNMPCommunity public
FramedGroupBaseAddress 216.252.185.64
FramedGroupMaxPortsPerClassC 192
</Client>
<Client 203.135.3.248>
Secret xxxxxxx
DupInterval 3
# DefaultRealm AdvISP
IgnoreAcctSignature
NasType Ascend
SNMPCommunity public
FramedGroupBaseAddress 216.252.185.195
FramedGroupMaxPortsPerClassC 224
</Client>
#<Client DEFAULT>
# Secret mysecret
# DupInterval 0
#</Client>
# You can put client details in a database table
# and get their details from there with something like this:
#<ClientListSQL>
# DBSource DBI:mysql:telenet:203.135.3.246:3306
# DBUsername xxxx
# DBAuth xxxx
#</ClientListSQL>
# This will authenticate users from table SUBSCRIBERS
<Realm DEFAULT>
RewriteUsername s/^([^@]+).*/$1/
RejectHasReason
<AuthBy SQL>
# FramedGroup 0
# Adjust DBSource, DBUsername, DBAuth to suit your DB
DBSource DBI:mysql:telenet:203.135.3.246:3306
DBUsername xxxx
DBAuth xxxx
# For Authenication from Solaris encrypted password
# AuthByPolicy ContinueWhileAccept
AuthSelect select PASSWORD,CallingStationId,ServiceType,FramedProtocol,F
ramedIPNetmask,NASPortType,SimultaneousUse,FramedIPAddress,SessionTimeout,TimeDu
ration from SUBSCRIBERS where Active=1 and USERNAME='%n'
AuthColumnDef 0, Encrypted-Password, check
AuthColumnDef 1, GENERIC, check
AuthColumnDef 2, Service-Type, check
AuthColumnDef 3, Framed-Protocol, reply
AuthColumnDef 4, Framed-IP-Netmask, reply
AuthColumnDef 5, NAS-Port-Type, check
AuthColumnDef 6, Simultaneous-Use, check
AuthColumnDef 7, GENERIC, reply
AuthColumnDef 8, GENERIC, reply
AuthColumnDef 9, GENERIC, check
# You may want to tailor these for your ACCOUNTING table
AccountingTable TblTransaction
AccountingStopsOnly
AcctColumnDef LoginName,User-Name
AcctColumnDef TimeClose,Timestamp,formatted-date,'%Y-%m-%d %H:%M:%S'
AcctColumnDef RecordType,Acct-Status-Type
#AcctColumnDef AcctDelayTime,Acct-Delay-Time,integer
AcctColumnDef BytesIn,Acct-Input-Octets,integer
AcctColumnDef BytesOut,Acct-Output-Octets,integer
AcctColumnDef SessionId,Acct-Session-Id
AcctColumnDef Duration,Acct-Session-Time,integer
AcctColumnDef TerminationCause,Acct-Terminate-Cause
AcctColumnDef NASIdentifier,NAS-Identifier
AcctColumnDef NASIPAddress,NAS-IP-Address
AcctColumnDef NASPort,NAS-Port,integer
AcctColumnDef FramedIPAddress,Framed-IP-Address
AcctColumnDef CLI,Calling-Station-Id
AcctColumnDef DelayTime,Acct-Delay-Time,integer
</AuthBy>
</Realm>
<SessionDatabase SQL>
# Specify the SQL database to connect to is similar to AuthSQL
# You can specify multiple databases as fallbacks etc. See
# the reference manual for more details
DBSource DBI:mysql:telenet:203.135.3.246:3306
DBUsername xxxx
DBAuth xxxx
# You can alter the SQL statements used to add, delete and count
# sessions with AddQuery, DeleteQuery, ClearNasQuery and
# CountQuery. That means you can accomodate many different
# SQL Session Database schemas. The defaults for these parameters
# are suitable for the example RADONLINE table in the example SQL
# scripts in the goodies directory.
# See the reference manual for more details
AddQuery insert into TblActiveSessions (LoginName, SessionId,TimeStart,N
ASIPAddress,FramedIPAddress,NASPort,NASPortType,CLI,NASIdentifier) values \
('%n','%{Acct-Session-Id}',now(),'%{NAS-IP-Address}','%a','%{NAS-Port}',
'%{NAS-Port-Type}','%{Calling-Station-Id}','%N')
DeleteQuery delete from TblActiveSessions where LoginName='%n' and \
NASPort=%{NAS-Port} and \
NASIdentifier='%N'
ClearNasQuery delete from TblActiveSessions where NASIdentifier='%N'
CountQuery select NASIdentifier, NASPort, SessionId from TblActiveSessio
ns where LoginName='%n'
# Optional identifier. Its just a name
# Identifier SDB1
</SessionDatabase>
<Log SQL>
DBSource DBI:mysql:telenet:203.135.3.246:3306
DBUsername xxxx
DBAuth xxxx
Table TblRadiusLogs
</Log>
[root@jaguar Radiator-2.15]# radiusd -config_file adv.cfg -trace 4
Mon Oct 30 11:27:15 2000: INFO: Server started: Radiator 2.15
Mon Oct 30 11:27:20 2000: DEBUG: Packet dump:
*** Received from 203.135.3.243 port 1645 ....
Code: Access-Request
Identifier: 18
Authentic: Yr<157><189><177><255><211><200><140><163><202><230><183><147>'<232>
Attributes:
NAS-IP-Address = 203.135.3.243
NAS-Port = 112
NAS-Port-Type = Async
User-Name = "abbas85"
Called-Station-Id = ""
Calling-Station-Id = "0426840132"
User-Password = " >[<243><5>p<25><223><199><196><226><155>7<30><248><134
>"
Service-Type = Framed-User
Framed-Protocol = PPP
Mon Oct 30 11:27:20 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Mon Oct 30 11:27:20 2000: DEBUG: Rewrote user name to abbas85
Mon Oct 30 11:27:20 2000: DEBUG: Deleting session for abbas85, 203.135.3.243, 1
12
Mon Oct 30 11:27:20 2000: DEBUG: do query is: delete from TblActiveSessions wher
e LoginName='abbas85' and NASPort=112 and NASIdentifier='203.135.3.243'
Mon Oct 30 11:27:20 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:27:20 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:27:20 2000: DEBUG: Query is: select PASSWORD,CallingStationId,Serv
iceType,FramedProtocol,FramedIPNetmask,NASPortType,SimultaneousUse,FramedIPAddre
ss,SessionTimeout,TimeDuration from SUBSCRIBERS where Active=1 and USERNAME='a
bbas85'
Mon Oct 30 11:27:20 2000: DEBUG: Radius::AuthSQL looks for match with abbas85
Mon Oct 30 11:27:20 2000: DEBUG: Query is: select PASSWORD,CallingStationId,Serv
iceType,FramedProtocol,FramedIPNetmask,NASPortType,SimultaneousUse,FramedIPAddre
ss,SessionTimeout,TimeDuration from SUBSCRIBERS where Active=1 and USERNAME='D
EFAULT'
Mon Oct 30 11:27:20 2000: INFO: Access rejected for abbas85: No such user
Mon Oct 30 11:27:20 2000: DEBUG: Packet dump:
*** Sending to 203.135.3.243 port 1645 ....
Code: Access-Reject
Identifier: 18
Authentic: Yr<157><189><177><255><211><200><140><163><202><230><183><147>'<232>
Attributes:
Reply-Message = "Request Denied"
Reply-Message = "No such user"
Mon Oct 30 11:27:20 2000: DEBUG: Packet dump:
*** Received from 203.135.3.243 port 1646 ....
Code: Accounting-Request
Identifier: 19
Authentic: <2><220><160><222><229>Q<4><201><227><177>D<0><184>+}<140>
Attributes:
NAS-IP-Address = 203.135.3.243
NAS-Port = 112
NAS-Port-Type = Async
User-Name = "abbas85"
Called-Station-Id = ""
Calling-Station-Id = "0426840132"
Acct-Status-Type = Stop
Acct-Authentic = RADIUS
Service-Type = Framed-User
Acct-Session-Id = "00001CDA"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Session-Time = 0
Acct-Delay-Time = 0
Mon Oct 30 11:27:20 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Mon Oct 30 11:27:20 2000: DEBUG: Rewrote user name to abbas85
Mon Oct 30 11:27:20 2000: DEBUG: Deleting session for abbas85, 203.135.3.243, 1
12
Mon Oct 30 11:27:20 2000: DEBUG: do query is: delete from TblActiveSessions wher
e LoginName='abbas85' and NASPort=112 and NASIdentifier='203.135.3.243'
Mon Oct 30 11:27:20 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:27:20 2000: DEBUG: Handling accounting with Radius::AuthSQL
Mon Oct 30 11:27:20 2000: DEBUG: do query is: insert into TblTransaction
(LoginName, TimeClose, RecordType, SessionId, Duration, NASIPAdd
ress, NASPort, CLI, DelayTime)
values
('abbas85', '2000-10-30 11:27:20', 'Stop', '00001CDA', 0, '203.1
35.3.243', 112, '0426840132', 0)
Mon Oct 30 11:27:20 2000: DEBUG: Accounting accepted
Mon Oct 30 11:27:20 2000: DEBUG: Packet dump:
*** Sending to 203.135.3.243 port 1646 ....
Code: Accounting-Response
Identifier: 19
Authentic: <2><220><160><222><229>Q<4><201><227><177>D<0><184>+}<140>
Attributes:
Mon Oct 30 11:28:06 2000: DEBUG: Packet dump:
*** Received from 203.135.3.243 port 1645 ....
Code: Access-Request
Identifier: 20
Authentic: <138>XW<1>:<219><167>|<182><149>cH-a!"
Attributes:
NAS-IP-Address = 203.135.3.243
NAS-Port = 112
NAS-Port-Type = Async
User-Name = "abbas85"
Called-Station-Id = ""
Calling-Station-Id = "0426840132"
User-Password = "?<252><175><129>^<230><241><151><127><133><185>/<18><23
4>#<233>"
Service-Type = Framed-User
Framed-Protocol = PPP
Mon Oct 30 11:28:06 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Mon Oct 30 11:28:06 2000: DEBUG: Rewrote user name to abbas85
Mon Oct 30 11:28:06 2000: DEBUG: Deleting session for abbas85, 203.135.3.243, 1
12
Mon Oct 30 11:28:06 2000: DEBUG: do query is: delete from TblActiveSessions wher
e LoginName='abbas85' and NASPort=112 and NASIdentifier='203.135.3.243'
Mon Oct 30 11:28:06 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:28:06 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:28:06 2000: DEBUG: Query is: select PASSWORD,CallingStationId,Serv
iceType,FramedProtocol,FramedIPNetmask,NASPortType,SimultaneousUse,FramedIPAddre
ss,SessionTimeout,TimeDuration from SUBSCRIBERS where Active=1 and USERNAME='a
bbas85'
Mon Oct 30 11:28:06 2000: DEBUG: Radius::AuthSQL looks for match with abbas85
Mon Oct 30 11:28:06 2000: DEBUG: Query is: select PASSWORD,CallingStationId,Serv
iceType,FramedProtocol,FramedIPNetmask,NASPortType,SimultaneousUse,FramedIPAddre
ss,SessionTimeout,TimeDuration from SUBSCRIBERS where Active=1 and USERNAME='D
EFAULT'
Mon Oct 30 11:28:06 2000: INFO: Access rejected for abbas85: No such user
Mon Oct 30 11:28:06 2000: DEBUG: Packet dump:
*** Sending to 203.135.3.243 port 1645 ....
Code: Access-Reject
Identifier: 20
Authentic: <138>XW<1>:<219><167>|<182><149>cH-a!"
Attributes:
Reply-Message = "Request Denied"
Reply-Message = "No such user"
Mon Oct 30 11:28:06 2000: DEBUG: Packet dump:
*** Received from 203.135.3.243 port 1646 ....
Code: Accounting-Request
Identifier: 21
Authentic: <172><215><24>3u<249><131>+<250>q7<173>?<219>v<252>
Attributes:
NAS-IP-Address = 203.135.3.243
NAS-Port = 112
NAS-Port-Type = Async
User-Name = "abbas85"
Called-Station-Id = ""
Calling-Station-Id = "0426840132"
Acct-Status-Type = Stop
Acct-Authentic = RADIUS
Service-Type = Framed-User
Acct-Session-Id = "00001CDB"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Session-Time = 0
Acct-Delay-Time = 0
Mon Oct 30 11:28:06 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Mon Oct 30 11:28:06 2000: DEBUG: Rewrote user name to abbas85
Mon Oct 30 11:28:06 2000: DEBUG: Deleting session for abbas85, 203.135.3.243, 1
12
Mon Oct 30 11:28:06 2000: DEBUG: do query is: delete from TblActiveSessions wher
e LoginName='abbas85' and NASPort=112 and NASIdentifier='203.135.3.243'
Mon Oct 30 11:28:06 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:28:06 2000: DEBUG: Handling accounting with Radius::AuthSQL
Mon Oct 30 11:28:06 2000: DEBUG: do query is: insert into TblTransaction
(LoginName, TimeClose, RecordType, SessionId, Duration, NASIPAdd
ress, NASPort, CLI, DelayTime)
values
('abbas85', '2000-10-30 11:28:06', 'Stop', '00001CDB', 0, '203.1
35.3.243', 112, '0426840132', 0)
Mon Oct 30 11:28:06 2000: DEBUG: Accounting accepted
Mon Oct 30 11:28:06 2000: DEBUG: Packet dump:
*** Sending to 203.135.3.243 port 1646 ....
Code: Accounting-Response
Identifier: 21
Authentic: <172><215><24>3u<249><131>+<250>q7<173>?<219>v<252>
Attributes:
Mon Oct 30 11:28:17 2000: DEBUG: Packet dump:
*** Received from 203.135.3.243 port 1645 ....
Code: Access-Request
Identifier: 22
Authentic: <234><129>/<210><246><158><25><188>$<25><144>W<246><172>9<127>
Attributes:
NAS-IP-Address = 203.135.3.243
NAS-Port = 112
NAS-Port-Type = Async
User-Name = "abbas85"
Called-Station-Id = ""
Calling-Station-Id = "0426840132"
User-Password = "WEt)<158>T<173><26><181><21><233><z<252><128>I"
Service-Type = Framed-User
Framed-Protocol = PPP
Mon Oct 30 11:28:17 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Mon Oct 30 11:28:17 2000: DEBUG: Rewrote user name to abbas85
Mon Oct 30 11:28:17 2000: DEBUG: Deleting session for abbas85, 203.135.3.243, 1
12
Mon Oct 30 11:28:17 2000: DEBUG: do query is: delete from TblActiveSessions wher
e LoginName='abbas85' and NASPort=112 and NASIdentifier='203.135.3.243'
Mon Oct 30 11:28:17 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:28:17 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:28:17 2000: DEBUG: Query is: select PASSWORD,CallingStationId,Serv
iceType,FramedProtocol,FramedIPNetmask,NASPortType,SimultaneousUse,FramedIPAddre
ss,SessionTimeout,TimeDuration from SUBSCRIBERS where Active=1 and USERNAME='a
bbas85'
Mon Oct 30 11:28:17 2000: DEBUG: Radius::AuthSQL looks for match with abbas85
Mon Oct 30 11:28:17 2000: DEBUG: Query is: select PASSWORD,CallingStationId,Serv
iceType,FramedProtocol,FramedIPNetmask,NASPortType,SimultaneousUse,FramedIPAddre
ss,SessionTimeout,TimeDuration from SUBSCRIBERS where Active=1 and USERNAME='D
EFAULT'
Mon Oct 30 11:28:17 2000: INFO: Access rejected for abbas85: No such user
Mon Oct 30 11:28:17 2000: DEBUG: Packet dump:
*** Sending to 203.135.3.243 port 1645 ....
Code: Access-Reject
Identifier: 22
Authentic: <234><129>/<210><246><158><25><188>$<25><144>W<246><172>9<127>
Attributes:
Reply-Message = "Request Denied"
Reply-Message = "No such user"
Mon Oct 30 11:28:17 2000: DEBUG: Packet dump:
*** Received from 203.135.3.243 port 1646 ....
Code: Accounting-Request
Identifier: 23
Authentic: <178>;<17><137><237>v<212>\g<214><142><237><252>t<219><202>
Attributes:
NAS-IP-Address = 203.135.3.243
NAS-Port = 112
NAS-Port-Type = Async
User-Name = "abbas85"
Called-Station-Id = ""
Calling-Station-Id = "0426840132"
Acct-Status-Type = Stop
Acct-Authentic = RADIUS
Service-Type = Framed-User
Acct-Session-Id = "00001CDC"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Session-Time = 0
Acct-Delay-Time = 0
Mon Oct 30 11:28:17 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Mon Oct 30 11:28:17 2000: DEBUG: Rewrote user name to abbas85
Mon Oct 30 11:28:17 2000: DEBUG: Deleting session for abbas85, 203.135.3.243, 1
12
Mon Oct 30 11:28:17 2000: DEBUG: do query is: delete from TblActiveSessions wher
e LoginName='abbas85' and NASPort=112 and NASIdentifier='203.135.3.243'
Mon Oct 30 11:28:17 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:28:17 2000: DEBUG: Handling accounting with Radius::AuthSQL
Mon Oct 30 11:28:17 2000: DEBUG: do query is: insert into TblTransaction
(LoginName, TimeClose, RecordType, SessionId, Duration, NASIPAdd
ress, NASPort, CLI, DelayTime)
values
('abbas85', '2000-10-30 11:28:17', 'Stop', '00001CDC', 0, '203.1
35.3.243', 112, '0426840132', 0)
Mon Oct 30 11:28:17 2000: DEBUG: Accounting accepted
Mon Oct 30 11:28:17 2000: DEBUG: Packet dump:
*** Sending to 203.135.3.243 port 1646 ....
Code: Accounting-Response
Identifier: 23
Authentic: <178>;<17><137><237>v<212>\g<214><142><237><252>t<219><202>
Attributes:
Mon Oct 30 11:29:05 2000: DEBUG: Packet dump:
*** Received from 203.135.3.243 port 1645 ....
Code: Access-Request
Identifier: 24
Authentic: <211>B}<31>5<27>H<175><147><227><0><176><168><225><145><200>
Attributes:
NAS-IP-Address = 203.135.3.243
NAS-Port = 19
NAS-Port-Type = Async
User-Name = "ahafeez"
Called-Station-Id = ""
Calling-Station-Id = "0425860631"
User-Password = "k<222>v<208><134>%<128>C<204><25><205><30><179><131>c<2
06>"
Service-Type = Framed-User
Framed-Protocol = PPP
Mon Oct 30 11:29:05 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Mon Oct 30 11:29:05 2000: DEBUG: Rewrote user name to ahafeez
Mon Oct 30 11:29:05 2000: DEBUG: Deleting session for ahafeez, 203.135.3.243, 1
9
Mon Oct 30 11:29:05 2000: DEBUG: do query is: delete from TblActiveSessions wher
e LoginName='ahafeez' and NASPort=19 and NASIdentifier='203.135.3.243'
Mon Oct 30 11:29:05 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:29:05 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:29:05 2000: DEBUG: Query is: select PASSWORD,CallingStationId,Serv
iceType,FramedProtocol,FramedIPNetmask,NASPortType,SimultaneousUse,FramedIPAddre
ss,SessionTimeout,TimeDuration from SUBSCRIBERS where Active=1 and USERNAME='a
hafeez'
Mon Oct 30 11:29:05 2000: DEBUG: Radius::AuthSQL looks for match with ahafeez
Mon Oct 30 11:29:05 2000: DEBUG: Query is: select NASIdentifier, NASPort, Sessio
nId from TblActiveSessions where LoginName='ahafeez'
Mon Oct 30 11:29:05 2000: DEBUG: Radius::AuthSQL ACCEPT:
Mon Oct 30 11:29:05 2000: DEBUG: FramedGroup 0 address is being assigned
Mon Oct 30 11:29:05 2000: DEBUG: Access accepted for ahafeez
Mon Oct 30 11:29:05 2000: DEBUG: Packet dump:
*** Sending to 203.135.3.243 port 1645 ....
Code: Access-Accept
Identifier: 24
Authentic: <211>B}<31>5<27>H<175><147><227><0><176><168><225><145><200>
Attributes:
Framed-Protocol = PPP
Framed-IP-Netmask = 255.255.255.0
Framed-IP-Address = 216.252.185.83
Mon Oct 30 11:29:05 2000: DEBUG: Packet dump:
*** Received from 203.135.3.243 port 1646 ....
Code: Accounting-Request
Identifier: 25
Authentic: <229><225><197>8N<23>1<226><192><199>9<209><255>z<203><156>
Attributes:
NAS-IP-Address = 203.135.3.243
NAS-Port = 19
NAS-Port-Type = Async
User-Name = "ahafeez"
Called-Station-Id = ""
Calling-Station-Id = "0425860631"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Framed-User
Acct-Session-Id = "00001CDD"
Framed-Protocol = PPP
Acct-Delay-Time = 0
Mon Oct 30 11:29:05 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Mon Oct 30 11:29:05 2000: DEBUG: Rewrote user name to ahafeez
Mon Oct 30 11:29:05 2000: DEBUG: Adding session for ahafeez, 203.135.3.243, 19
Mon Oct 30 11:29:05 2000: DEBUG: do query is: delete from TblActiveSessions wher
e LoginName='ahafeez' and NASPort=19 and NASIdentifier='203.135.3.243'
Mon Oct 30 11:29:05 2000: DEBUG: do query is: insert into TblActiveSessions (Log
inName, SessionId,TimeStart,NASIPAddress,FramedIPAddress,NASPort,NASPortType,CLI
,NASIdentifier) values ('ahafeez','00001CDD',now(),'203.135.3.243','','19','Asyn
c','0425860631','203.135.3.243')
Mon Oct 30 11:29:05 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:29:05 2000: DEBUG: Handling accounting with Radius::AuthSQL
Mon Oct 30 11:29:05 2000: DEBUG: Accounting accepted
Mon Oct 30 11:29:05 2000: DEBUG: Packet dump:
*** Sending to 203.135.3.243 port 1646 ....
Code: Accounting-Response
Identifier: 25
Authentic: <229><225><197>8N<23>1<226><192><199>9<209><255>z<203><156>
Attributes:
Mon Oct 30 11:29:05 2000: DEBUG: Packet dump:
*** Received from 203.135.3.243 port 1645 ....
Code: Access-Request
Identifier: 26
Authentic: <169><187><25><190>H8<220><141><18>dCYc<196>y<22>
Attributes:
NAS-IP-Address = 203.135.3.243
NAS-Port = 85
NAS-Port-Type = Async
User-Name = "agull"
Called-Station-Id = ""
Calling-Station-Id = "0425883762"
User-Password = "<193><195><10><246>T<202>"1<214>L<152><156>9<175><176>"
Service-Type = Framed-User
Framed-Protocol = PPP
Mon Oct 30 11:29:05 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Mon Oct 30 11:29:05 2000: DEBUG: Rewrote user name to agull
Mon Oct 30 11:29:05 2000: DEBUG: Deleting session for agull, 203.135.3.243, 85
Mon Oct 30 11:29:05 2000: DEBUG: do query is: delete from TblActiveSessions wher
e LoginName='agull' and NASPort=85 and NASIdentifier='203.135.3.243'
Mon Oct 30 11:29:05 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:29:05 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:29:05 2000: DEBUG: Query is: select PASSWORD,CallingStationId,Serv
iceType,FramedProtocol,FramedIPNetmask,NASPortType,SimultaneousUse,FramedIPAddre
ss,SessionTimeout,TimeDuration from SUBSCRIBERS where Active=1 and USERNAME='a
gull'
Mon Oct 30 11:29:05 2000: DEBUG: Radius::AuthSQL looks for match with agull
Mon Oct 30 11:29:05 2000: DEBUG: Query is: select NASIdentifier, NASPort, Sessio
nId from TblActiveSessions where LoginName='agull'
Mon Oct 30 11:29:05 2000: DEBUG: Radius::AuthSQL ACCEPT:
Mon Oct 30 11:29:05 2000: DEBUG: FramedGroup 0 address is being assigned
Mon Oct 30 11:29:05 2000: DEBUG: Access accepted for agull
Mon Oct 30 11:29:05 2000: DEBUG: Packet dump:
*** Sending to 203.135.3.243 port 1645 ....
Code: Access-Accept
Identifier: 26
Authentic: <169><187><25><190>H8<220><141><18>dCYc<196>y<22>
Attributes:
Framed-Protocol = PPP
Framed-IP-Netmask = 255.255.255.0
Framed-IP-Address = 216.252.185.149
Mon Oct 30 11:29:05 2000: DEBUG: Packet dump:
*** Received from 203.135.3.243 port 1646 ....
Code: Accounting-Request
Identifier: 27
Authentic: <139><152><145>y<229><239><6>q<31><2><18><150>cv<168>W
Attributes:
NAS-IP-Address = 203.135.3.243
NAS-Port = 85
NAS-Port-Type = Async
User-Name = "agull"
Called-Station-Id = ""
Calling-Station-Id = "0425883762"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Framed-User
Acct-Session-Id = "00001CDE"
Framed-Protocol = PPP
Acct-Delay-Time = 0
Mon Oct 30 11:29:05 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Mon Oct 30 11:29:05 2000: DEBUG: Rewrote user name to agull
Mon Oct 30 11:29:05 2000: DEBUG: Adding session for agull, 203.135.3.243, 85
Mon Oct 30 11:29:05 2000: DEBUG: do query is: delete from TblActiveSessions wher
e LoginName='agull' and NASPort=85 and NASIdentifier='203.135.3.243'
Mon Oct 30 11:29:05 2000: DEBUG: do query is: insert into TblActiveSessions (Log
inName, SessionId,TimeStart,NASIPAddress,FramedIPAddress,NASPort,NASPortType,CLI
,NASIdentifier) values ('agull','00001CDE',now(),'203.135.3.243','','85','Async'
,'0425883762','203.135.3.243')
Mon Oct 30 11:29:05 2000: DEBUG: Handling with Radius::AuthSQL
Mon Oct 30 11:29:05 2000: DEBUG: Handling accounting with Radius::AuthSQL
Mon Oct 30 11:29:05 2000: DEBUG: Accounting accepted
Mon Oct 30 11:29:05 2000: DEBUG: Packet dump:
*** Sending to 203.135.3.243 port 1646 ....
Code: Accounting-Response
Identifier: 27
Authentic: <139><152><145>y<229><239><6>q<31><2><18><150>cv<168>W
Attributes:
