Hi everybody,
I am trying to define the ip pool on Radiator instead of on the Cisco for
more flexibility. Even if Radiator is returning a Framed-IP-Adress in the
Access-Accept packet, the Cisco is not sending it in the Start Accounting
packet but is sending another IP address (defined in a local pool) in the
Alive Accounting packet ! Any idea about how to solve that problem ?
Note : I could not find any information in mailing list archives that could
help me.
BTW, I have other problems :
- do I have dictionary.cisco instead of dictionary for use with Radiator ? I
found that with the first one I have a the following errors but since my RAS
is a Cisco...
Fri Sep 1 18:17:35 2000: WARNING: There is no attribute named Server-Config
in file '/usr/local/etc/radiator/dictionary.cisco' before line 413 Ignored
Fri Sep 1 18:17:35 2000: WARNING: There is no attribute named Server-Config
in file '/usr/local/etc/radiator/dictionary.cisco' before line 414 Ignored
- furthermore, I would like to define IP pools on Radiator but without SQL
databases. Is it possible since with FramedGroup and FramedGroupBaseAddress,
I can't defined the end of the pool.
- another problem : I defined a "<Handler Called-Station-Id = 6642>" and
call with other Caller-Id are processed by it and not by <Handler>
directives. Below is the configuration file :
<Handler Called-Station-Id = 6642>
SessionDatabase SDBSQL
<AuthBy FILE>
Filename %D/users.6642
</AuthBy>
</Handler>
<Handler>
AcctLogFileName %L/%Y%m/account-%Y%m%d
PasswordLogFileName %L/%Y%m/passwd-%Y%m%d
AuthByPolicy ContinueWhileReject
<AuthBy FILE>
Filename %D/wap
FramedGroup 0
Nocache
</AuthBy>
<AuthBy FILE>
Filename %D/kit
Nocache
</AuthBy>
</Handler>
# Base de donnees des sessions ouvertes
<SessionDatabase SQL>
Identifier SDBSQL
DBSource dbi:mysql:radius
DBUsername radiator
DBAuth ra1diator
</SessionDatabase>
However I can see in logs :
Code: Access-Request
Identifier: 187
Authentic: aR<165>|P6<200>Fc<158><170><149><156><213>A7
Attributes:
NAS-IP-Address = 10.69.1.1
NAS-Port = 7
NAS-Port-Type = Async
User-Name = "Carrefour"
Called-Station-Id = "6641"
Calling-Station-Id = "670487956"
User-Password =
"V<183><199><31><128><171><179>+<11>!-<155>[<11>W<239>"
Service-Type = Framed-User
Framed-Protocol = PPP
Fri Sep 1 12:20:47 2000: DEBUG: Check if Handler Called-Station-Id = 6642
should be used
to handle this request
Fri Sep 1 12:20:47 2000: DEBUG: Check if Handler should be used to handle
this request
Fri Sep 1 12:20:47 2000: DEBUG: Handling request with Handler ''
Fri Sep 1 12:20:47 2000: DEBUG: SDBSQL Deleting session for Carrefour,
10.69.1.1, 7
Here is my user profile :
=======================
fluxus Password = "****"
Framed-Group = 0,
Framed-Protocol = PPP
Here is my Cisco configuration :
==============================
version 12.0
boot system flash c5300-i-mz.120-4.XI1.bin
aaa new-model
aaa authentication ppp wap group radius
aaa accounting update newinfo
aaa accounting network default start-stop group radius
resource-pool disable
interface Group-Async0
ip unnumbered Ethernet0
no ip directed-broadcast
encapsulation ppp
async dynamic address
async mode interactive
peer default ip address pool default
ppp authentication pap wap
group-range 1 60
hold-queue 10 in
!
ip local pool default 10.69.1.10 10.69.1.24
no ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 Ethernet0 10.69.1.254
!
dialer-list 1 protocol ip permit
radius-server host 10.69.2.4 auth-port 1645 acct-port 1646 key beurk
Below is the trace of the radius log which shows the first what I explained
above :
============================================================================
======
Fri Sep 1 17:58:23 2000: DEBUG: Packet dump:
*** Received from 10.69.1.1 port 1645 ....
Code: Access-Request
Identifier: 209
Authentic: <157>*7B<208><156>bB<132><216>%<139>.<241><243><236>
Attributes:
NAS-IP-Address = 10.69.1.1
NAS-Port = 45
NAS-Port-Type = Async
User-Name = "fluxus"
Called-Station-Id = "6642"
Calling-Station-Id = "672085196"
User-Password =
"<145><7>N0q<1><134><146><215><144><150>e<232><25>>9"
Service-Type = Framed
Framed-Protocol = PPP
Fri Sep 1 17:58:23 2000: DEBUG: Check if Handler Called-Station-Id = 6642
should be used to handle this request
Fri Sep 1 17:58:23 2000: DEBUG: Handling request with Handler
'Called-Station-Id = 6642'
Fri Sep 1 17:58:23 2000: DEBUG: SDBSQL Deleting session for fluxus,
10.69.1.1, 45
Fri Sep 1 17:58:23 2000: DEBUG: do query is: delete from RADONLINE where
NASIDENTIFIER='10.69.1.1' and NASPORT=45
Fri Sep 1 17:58:23 2000: DEBUG: Handling with Radius::AuthFILE
Fri Sep 1 17:58:23 2000: DEBUG: Radius::AuthFILE looks for match with
fluxus
Fri Sep 1 17:58:23 2000: DEBUG: Radius::AuthFILE ACCEPT:
Fri Sep 1 17:58:23 2000: DEBUG: FramedGroup 0 address is being assigned
Fri Sep 1 17:58:23 2000: DEBUG: Access accepted for fluxus
Fri Sep 1 17:58:23 2000: DEBUG: Packet dump:
*** Sending to 10.69.1.1 port 1645 ....
Code: Access-Accept
Identifier: 209
Authentic: <157>*7B<208><156>bB<132><216>%<139>.<241><243><236>
Attributes:
Framed-IP-Address = 10.69.1.75
Framed-Protocol = PPP
Fri Sep 1 17:58:23 2000: DEBUG: Packet dump:
*** Received from 10.69.1.1 port 1646 ....
Code: Accounting-Request
Identifier: 210
Authentic: <136>f%<203><177><137>M<168><240><219>+{<232><195><226>+
Attributes:
NAS-IP-Address = 10.69.1.1
NAS-Port = 45
NAS-Port-Type = Async
User-Name = "fluxus"
Called-Station-Id = "6642"
Calling-Station-Id = "672085196"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Framed
Acct-Session-Id = "00000043"
Framed-Protocol = PPP
Acct-Delay-Time = 0
Fri Sep 1 17:58:23 2000: DEBUG: Check if Handler Called-Station-Id = 6642
should be used to handle this request
Fri Sep 1 17:58:23 2000: DEBUG: Handling request with Handler
'Called-Station-Id = 6642'
Fri Sep 1 17:58:23 2000: DEBUG: SDBSQL Adding session for fluxus,
10.69.1.1, 45
Fri Sep 1 17:58:23 2000: DEBUG: do query is: delete from RADONLINE where
NASIDENTIFIER='10.69.1.1' and NASPORT=45
Fri Sep 1 17:58:23 2000: DEBUG: do query is: insert into RADONLINE
(USERNAME, NASIDENTIFIER, NASPORT, ACCTSESSIONID, TIME_STAMP, FR
AMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values ('fluxus', '10.69.1.1', 45,
'00000043', 967823903, '', 'Async', 'Framed')
Fri Sep 1 17:58:23 2000: DEBUG: Handling with Radius::AuthFILE
Fri Sep 1 17:58:23 2000: DEBUG: Accounting accepted
Fri Sep 1 17:58:23 2000: DEBUG: Packet dump:
*** Sending to 10.69.1.1 port 1646 ....
Code: Accounting-Response
Identifier: 210
Authentic: <136>f%<203><177><137>M<168><240><219>+{<232><195><226>+
Attributes:
Fri Sep 1 17:58:25 2000: DEBUG: Packet dump:
*** Received from 10.69.1.1 port 1646 ....
Code: Accounting-Request
Identifier: 211
Authentic: dD<177>y<160><168><246><202><206>P<241>H;<219><173>]
Attributes:
NAS-IP-Address = 10.69.1.1
NAS-Port = 45
NAS-Port-Type = Async
User-Name = "fluxus"
Called-Station-Id = "6642"
Calling-Station-Id = "672085196"
Acct-Status-Type = Alive
Acct-Authentic = RADIUS
Service-Type = Framed
Acct-Session-Id = "00000043"
Framed-Protocol = PPP
Framed-IP-Address = 10.69.1.23
Acct-Delay-Time = 0
Fri Sep 1 17:58:25 2000: DEBUG: Check if Handler Called-Station-Id = 6642
should be used to handle this request
Fri Sep 1 17:58:25 2000: DEBUG: Handling request with Handler
'Called-Station-Id = 6642'
Fri Sep 1 17:58:25 2000: DEBUG: SDBSQL Adding session for fluxus,
10.69.1.1, 45
Fri Sep 1 17:58:25 2000: DEBUG: do query is: delete from RADONLINE where
NASIDENTIFIER='10.69.1.1' and NASPORT=45
Fri Sep 1 17:58:25 2000: DEBUG: do query is: insert into RADONLINE
(USERNAME, NASIDENTIFIER, NASPORT, ACCTSESSIONID, TIME_STAMP, FR
AMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values ('fluxus', '10.69.1.1', 45,
'00000043', 967823905, '10.69.1.23', 'Async', 'Framed')
Fri Sep 1 17:58:25 2000: DEBUG: Handling with Radius::AuthFILE
Fri Sep 1 17:58:25 2000: DEBUG: Accounting accepted
Fri Sep 1 17:58:25 2000: DEBUG: Packet dump:
*** Sending to 10.69.1.1 port 1646 ....
Code: Accounting-Response
Identifier: 211
Authentic: dD<177>y<160><168><246><202><206>P<241>H;<219><173>]
Attributes:
Fri Sep 1 17:59:11 2000: DEBUG: Packet dump:
*** Received from 10.69.1.1 port 1646 ....
Code: Accounting-Request
Identifier: 212
Authentic: <29><143><195><13><142><144><165><132>vA<171><8>l<237><161><230>
Attributes:
NAS-IP-Address = 10.69.1.1
NAS-Port = 45
NAS-Port-Type = Async
User-Name = "fluxus"
Called-Station-Id = "6642"
Calling-Station-Id = "672085196"
Acct-Status-Type = Stop
Acct-Authentic = RADIUS
Service-Type = Framed
Acct-Session-Id = "00000043"
Framed-Protocol = PPP
Framed-IP-Address = 10.69.1.23
Acct-Terminate-Cause = Lost-Carrier
Acct-Input-Octets = 321
Acct-Output-Octets = 453
Acct-Input-Packets = 10
Acct-Output-Packets = 8
Acct-Session-Time = 47
Acct-Delay-Time = 0
Fri Sep 1 17:59:11 2000: DEBUG: Check if Handler Called-Station-Id = 6642
should be used to handle this request
Fri Sep 1 17:59:11 2000: DEBUG: Handling request with Handler
'Called-Station-Id = 6642'
Fri Sep 1 17:59:11 2000: DEBUG: SDBSQL Deleting session for fluxus,
10.69.1.1, 45
Fri Sep 1 17:59:11 2000: DEBUG: do query is: delete from RADONLINE where
NASIDENTIFIER='10.69.1.1' and NASPORT=45
Fri Sep 1 17:59:11 2000: DEBUG: Handling with Radius::AuthFILE
Fri Sep 1 17:59:11 2000: DEBUG: Accounting accepted
Fri Sep 1 17:59:11 2000: DEBUG: Packet dump:
*** Sending to 10.69.1.1 port 1646 ....
Code: Accounting-Response
Identifier: 212
Authentic: <29><143><195><13><142><144><165><132>vA<171><8>l<237><161><230>
Attributes:
Thanks in advance for your help. Gildas.
---
Gildas PERROT, [EMAIL PROTECTED]
Fluxus, 37 avenue du Colonel Pierre Avia, 75015 Paris __o
http://www.fluxus.net ---_`\<,_
"En 2000, FranceNet change de nom et devient Fluxus" ----- (_)/ (_)
===
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.