hi all!!!

I am having ADSL connections and giving the users a vtty.
The router is sending a very big number for the NAS-Port, eventually the
radiator is not able to accept it and takes the NAS-Port to be 0.
Though the user is eventually authenticated.
But when a second user logs in the radiator eventaually deletes the entry of
the first user from the RADONLINE table because the NAS-Port is 0.

This results in allowing of multiple entries.
NOTE: I am attaching a trace 4 debug file snapshot.
Any suggestions
Regards
Hakim


==============================================================
Wed Jan 31 15:27:46 2001: INFO: Server started: Radiator 2.16
Wed Jan 31 15:27:55 2001: DEBUG: Packet dump:
*** Received from 192.168.166.68 port 1645 ....
Code:       Access-Request
Identifier: 30
Authentic:  <228>^<170><175><206><245><155><1>L<184>G<206>)|<6><19>
Attributes:
        NAS-IP-Address = 192.168.166.68
        NAS-Port = 0
        NAS-Port-Type = Virtual
        User-Name = "universe"
        CHAP-Password =
"<15><132><188>j<175>"<192><27><213>#<225><223><255>:<231><210>J"
        Service-Type = Framed
        Framed-Protocol = PPP

Wed Jan 31 15:27:55 2001: DEBUG: Rewrote user name to universe
Wed Jan 31 15:27:55 2001: DEBUG: Check if Handler Realm=k should be used to
handle this request
Wed Jan 31 15:27:55 2001: DEBUG: Check if Handler NAS-Address-Port-List =
%D/routerlist.txt should be used to h
andle this request
Wed Jan 31 15:27:55 2001: DEBUG: NAS-Address-Port-List: reading
/extra1/u/boshab/Radius/Radiator-2.16/routerlis
t.txt
Wed Jan 31 15:27:55 2001: DEBUG: Check if Handler NAS-Address-Port-List =
%D/routerlist2.txt should be used to
handle this request
Wed Jan 31 15:27:55 2001: DEBUG: NAS-Address-Port-List: reading
/extra1/u/boshab/Radius/Radiator-2.16/routerlis
t2.txt
Wed Jan 31 15:27:55 2001: DEBUG: Check if Handler NAS-Address-Port-List =
%D/routerlist3.txt should be used to
handle this request
Wed Jan 31 15:27:55 2001: DEBUG: NAS-Address-Port-List: reading
/extra1/u/boshab/Radius/Radiator-2.16/routerlis
t3.txt
Wed Jan 31 15:27:55 2001: DEBUG: Check if Handler NAS-Address-Port-List =
%D/routerlist4.txt should be used to
handle this request
Wed Jan 31 15:27:55 2001: DEBUG: NAS-Address-Port-List: reading
/extra1/u/boshab/Radius/Radiator-2.16/routerlis
t4.txt
Wed Jan 31 15:27:55 2001: DEBUG: Handling request with Handler
'NAS-Address-Port-List = %D/routerlist4.txt'
Wed Jan 31 15:27:55 2001: DEBUG: dusers Deleting session for universe,
192.168.166.68, 0
Wed Jan 31 15:27:55 2001: DEBUG: do query is: delete from RADONLINE where
NASIDENTIFIER='192.168.166.68' and NA
SPORT=00

Wed Jan 31 15:27:55 2001: DEBUG: Query is: select NASIDENTIFIER, NASPORT,
ACCTSESSIONID, FRAMEDIPADDRESS from R
ADONLINE where USERNAME='universe'

Wed Jan 31 15:27:55 2001: DEBUG: Handling with Radius::AuthSQL

Wed Jan 31 15:27:56 2001: DEBUG: Handling with Radius::AuthSQL
Wed Jan 31 15:27:56 2001: DEBUG: Query is: select
password,((((((to_char(expiry_date,'yyyy') - to_char(sysdate,
'yyyy')) * 12) + (to_char(expiry_date,'mm') - to_char(sysdate,'mm'))) * 30)
+ (to_char(expiry_date,'dd') - to_c
har(sysdate,'dd'))) * 24 * 3600) + ((24-to_char(sysdate,'hh24')) * 3600) +
((0-to_char(sysdate,'mi'))*60) + (0-
to_char(sysdate,'ss')) as balancetime from AUTHENTICATIONTABLE where
(USERNAME='universe' and AUTHENTICATIONTAB
LE.BALANCETIME > 0 and AUTHENTICATIONTABLE.START_DATE <= SYSDATE and
AUTHENTICATIONTABLE.STATUS = 1 AND AUTHENT
ICATIONTABLE.EXPIRY_DATE >= (SYSDATE - 1) AND
authenticationtable.accounttype='UADSL')

Wed Jan 31 15:27:56 2001: DEBUG: Radius::AuthSQL looks for match with
universe
Wed Jan 31 15:27:56 2001: DEBUG: Radius::AuthSQL ACCEPT:
Wed Jan 31 15:27:56 2001: DEBUG: Access accepted for universe
Wed Jan 31 15:27:56 2001: DEBUG: Packet dump:
*** Sending to 192.168.166.68 port 1645 ....
Code:       Access-Accept
Identifier: 30
Authentic:  <228>^<170><175><206><245><155><1>L<184>G<206>)|<6><19>
Attributes:
        Session-Timeout = 2363524
        Service-Type = Framed
        Framed-Protocol = PPP

Wed Jan 31 15:27:56 2001: DEBUG: Packet dump:
*** Received from 192.168.166.68 port 1646 ....
Code:       Accounting-Request
Identifier: 31
Authentic:  <14>_Q<142><13>S<225><30>!<184><153><19>`<21><181><222>
Attributes:
        NAS-IP-Address = 192.168.166.68
        NAS-Port = 0
        NAS-Port-Type = Virtual
        User-Name = "universe"
        Acct-Status-Type = Start
        Acct-Authentic = RADIUS
        Service-Type = Framed
        Acct-Session-Id = "00000007"
        Framed-Protocol = PPP
        Acct-Delay-Time = 0

Wed Jan 31 15:27:56 2001: DEBUG: Rewrote user name to universe
Wed Jan 31 15:27:56 2001: DEBUG: Check if Handler Realm=k should be used to
handle this request
Wed Jan 31 15:27:56 2001: DEBUG: Check if Handler NAS-Address-Port-List =
%D/routerlist.txt should be used to h
andle this request

Wed Jan 31 15:27:56 2001: DEBUG: Check if Handler NAS-Address-Port-List =
%D/routerlist2.txt should be used to
handle this request
Wed Jan 31 15:27:56 2001: DEBUG: Check if Handler NAS-Address-Port-List =
%D/routerlist3.txt should be used to
handle this request
Wed Jan 31 15:27:56 2001: DEBUG: Check if Handler NAS-Address-Port-List =
%D/routerlist4.txt should be used to
handle this request
Wed Jan 31 15:27:56 2001: DEBUG: Handling request with Handler
'NAS-Address-Port-List = %D/routerlist4.txt'
Wed Jan 31 15:27:56 2001: DEBUG: dusers Adding session for universe,
192.168.166.68, 0
Wed Jan 31 15:27:56 2001: DEBUG: do query is: delete from RADONLINE where
NASIDENTIFIER='192.168.166.68' and NA
SPORT=00

Wed Jan 31 15:27:56 2001: DEBUG: do query is: insert into RADONLINE
(USERNAME, NASIDENTIFIER, NASPORT, ACCTSESS
IONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values
('universe', '192.168.166.68', 0, '0000000
7', 980972876, '', 'Virtual', 'Framed')

Wed Jan 31 15:27:56 2001: DEBUG: Handling with Radius::AuthSQL
Wed Jan 31 15:27:56 2001: DEBUG: Handling accounting with Radius::AuthSQL
Wed Jan 31 15:27:56 2001: DEBUG: Accounting accepted
Wed Jan 31 15:27:56 2001: DEBUG: Packet dump:
*** Sending to 192.168.166.68 port 1646 ....
Code:       Accounting-Response
Identifier: 31
Authentic:  <14>_Q<142><13>S<225><30>!<184><153><19>`<21><181><222>
Attributes:

Wed Jan 31 15:31:18 2001: DEBUG: Packet dump:
*** Received from 192.168.166.68 port 1645 ....
Code:       Access-Request
Identifier: 32
Authentic:  <220>Tx<177>0<1><133><216>L<184>G<206><239><130><202><212>
Attributes:
        NAS-IP-Address = 192.168.166.68
        NAS-Port = 0
        NAS-Port-Type = Virtual
        User-Name = "kems"
        CHAP-Password =
"<13><231>j<2><184><240>E<26>:<24><201>)<210>x<157><199><15>"
        Service-Type = Framed
        Framed-Protocol = PPP


===
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.

Reply via email to