(RADIATOR) Defaultsimultaneoususe 1 not working

Anton Krall akrall at team.inter.net
Thu May 31 20:11:48 CDT 2001


Hello Hugh.

OK, I have no default user so I think thats not it but...

her is my config:

AuthPort        1645
AcctPort        1646

Trace   4

# Set this to the directory where your logfile and details file are to go
LogDir /var/log/radius
DbDir /usr/local/etc/raddb
DefaultSimultaneousUse 1

#Reescribir si recibimos un usuario
#  ***** MX *****
RewriteUsername         s/^(.*)\@data.net.mx$/$1\@mx.inter.net/
RewriteUsername         s/^(.*)\@psi.net.mx$/$1\@mx.inter.net/
#RewriteUsername                s/^(.*)\@internet.com.mx$/$1\@mx.inter.net/

<Realm mx.inter.net>
        RewriteUsername s/^([^@]+).*/$1/
        AuthByPolicy ContinueUntilAccept
                
        <AuthBy SQL>
                DBSource dbi:mysql:menu_mx:sql
                DBUsername radius
                DBAuth RaDiUs
                AuthSelect
                AuthColumnDef 0, Encrypted-Password, check
        
                AccountingTable ACCOUNTING
                AcctColumnDef   USERNAME,User-Name
                AcctColumnDef   TIME_STAMP,Timestamp,integer
                AcctColumnDef   ACCTSTATUSTYPE,Acct-Status-Type
                AcctColumnDef   ACCTDELAYTIME,Acct-Delay-Time,integer
                AcctColumnDef   ACCTINPUTOCTETS,Acct-Input-Octets,integer
                AcctColumnDef   ACCTOUTPUTOCTETS,Acct-Output-Octets,integer
                AcctColumnDef   ACCTSESSIONID,Acct-Session-Id
                AcctColumnDef   ACCTSESSIONTIME,Acct-Session-Time,integer
                AcctColumnDef   ACCTTERMINATECAUSE,Acct-Terminate-Cause
                AcctColumnDef   NASIDENTIFIER,NAS-Identifier
                AcctColumnDef   NASIPADDRESS,NAS-IP-Address
                AcctColumnDef   NASPORT,NAS-Port,integer
                AcctColumnDef   FRAMEDIPADDRESS,Framed-IP-Address
                AcctColumnDef   hora,Timestamp,formatted-date,'%Y%m%d %T'
                AcctColumnDef   CALLEDSTATIONID,Called-Station-Id
                AcctColumnDef   CALLINGSTATIONID,Calling-Station-Id
                #AcctSQLStatement ....
                DefaultSimultaneousUse 1
        </AuthBy>
        <AuthBy DBFILE>
                Filename %D/users-mx.inter.net
                DefaultReply Service-Type=Framed-User,Framed-Protocol=PPP
                DefaultSimultaneousUse 1
        </AuthBy>
        <AuthBy DBFILE>
                Filename %D/users-internet.com.mx
                DefaultReply Service-Type=Framed-User,Framed-Protocol=PPP
                DefaultSimultaneousUse 1
        </AuthBy>
        AcctLogFileName %L/detail
</Realm>        

Here is my debug:


        User-Name = "panel"
Thu May 31 17:20:30 2001: DEBUG: Rewrote user name to panel
Thu May 31 17:20:30 2001: DEBUG: Rewrote user name to panel
Thu May 31 17:20:30 2001: DEBUG: SDBSQLdialup Deleting session for panel, 154.17.32.22, 2140
                ('panel', 991347461, 'Stop', 0, 5248405, 49189021, '336823163', 33297, '154.17.32.22', 2140, '200.53.15.19', '20010531 18:17:41', '450')
        User-Name = "panel at mx.inter.net"
Thu May 31 17:26:17 2001: DEBUG: Rewrote user name to panel at mx.inter.net
Thu May 31 17:26:17 2001: DEBUG: Rewrote user name to panel at mx.inter.net
Thu May 31 17:26:17 2001: DEBUG: Rewrote user name to panel
Thu May 31 17:26:17 2001: DEBUG: SDBSQLdialup Deleting session for panel at mx.inter.net, 154.17.32.21, 2292
Thu May 31 17:26:17 2001: DEBUG: Radius::AuthDBFILE looks for match with panel
Thu May 31 17:26:17 2001: DEBUG: Radius::AuthDBFILE looks for match with panel
Thu May 31 17:26:17 2001: DEBUG: Query is: select NASIDENTIFIER, NASPORT, ACCTSESSIONID, FRAMEDIPADDRESS from RADONLINE where USERNAME='panel at mx.inter.net'
Thu May 31 17:26:17 2001: DEBUG: Access accepted for panel
        User-Name = "panel"
Thu May 31 17:26:18 2001: DEBUG: Rewrote user name to panel
Thu May 31 17:26:18 2001: DEBUG: Rewrote user name to panel
Thu May 31 17:26:18 2001: DEBUG: SDBSQLdialup Adding session for panel, 154.17.32.21, 2292
Thu May 31 17:26:18 2001: DEBUG: do query is: insert into RADONLINE (USERNAME, NASIDENTIFIER, NASPORT, ACCTSESSIONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values ('panel', '154.17.32.21', 02292, '331542054', 991347809, '200.53.13.207', 'Async', '')
                ('panel', 991347809, 'Start', 0, '331542054', '154.17.32.21', 2292, '200.53.13.207', '20010531 18:23:29', '450')
        User-Name = "panel"
Thu May 31 18:08:22 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:08:22 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:08:22 2001: DEBUG: SDBSQLdialup Deleting session for panel, 154.17.32.21, 2292
                ('panel', 991350334, 'Stop', 0, 320373, 6861216, '331542054', 2525, '154.17.32.21', 2292, '200.53.13.207', '20010531 19:05:34', '450')
        User-Name = "panel at mx.inter.net"
Thu May 31 18:17:57 2001: DEBUG: Rewrote user name to panel at mx.inter.net
Thu May 31 18:17:57 2001: DEBUG: Rewrote user name to panel at mx.inter.net
Thu May 31 18:17:57 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:17:57 2001: DEBUG: SDBSQLdialup Deleting session for panel at mx.inter.net, 154.17.32.21, 1055
Thu May 31 18:17:57 2001: DEBUG: Radius::AuthDBFILE looks for match with panel
Thu May 31 18:17:57 2001: DEBUG: Radius::AuthDBFILE looks for match with panel
Thu May 31 18:17:57 2001: DEBUG: Query is: select NASIDENTIFIER, NASPORT, ACCTSESSIONID, FRAMEDIPADDRESS from RADONLINE where USERNAME='panel at mx.inter.net'
Thu May 31 18:17:57 2001: DEBUG: Access accepted for panel
Thu May 31 18:18:24 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:18:24 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:18:24 2001: DEBUG: SDBSQLdialup Adding session for panel, 154.17.32.21, 1055
Thu May 31 18:18:24 2001: DEBUG: do query is: insert into RADONLINE (USERNAME, NASIDENTIFIER, NASPORT, ACCTSESSIONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values ('panel', '154.17.32.21', 01055, '331542554', 991350935, '200.53.13.56', 'Async', '')
                ('panel', 991350935, 'Start', 0, '331542554', '154.17.32.21', 1055, '200.53.13.56', '20010531 19:15:35', '450')
        User-Name = "panel"
Thu May 31 18:41:29 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:41:29 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:41:29 2001: DEBUG: SDBSQLdialup Deleting session for panel, 154.17.32.21, 1055
                ('panel', 991352320, 'Stop', 0, 233876, 510917, '331542554', 1386, '154.17.32.21', 1055, '200.53.13.56', '20010531 19:38:40', '450')
        User-Name = "panel at mx.inter.net"
Thu May 31 18:42:49 2001: DEBUG: Rewrote user name to panel at mx.inter.net
Thu May 31 18:42:49 2001: DEBUG: Rewrote user name to panel at mx.inter.net
Thu May 31 18:42:49 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:42:49 2001: DEBUG: SDBSQLdialup Deleting session for panel at mx.inter.net, 154.17.32.20, 2273
Thu May 31 18:42:49 2001: DEBUG: Radius::AuthDBFILE looks for match with panel
Thu May 31 18:42:49 2001: DEBUG: Radius::AuthDBFILE looks for match with panel
Thu May 31 18:42:49 2001: DEBUG: Query is: select NASIDENTIFIER, NASPORT, ACCTSESSIONID, FRAMEDIPADDRESS from RADONLINE where USERNAME='panel at mx.inter.net'
Thu May 31 18:42:49 2001: DEBUG: Access accepted for panel
        User-Name = "panel"
Thu May 31 18:42:51 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:42:51 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:42:51 2001: DEBUG: SDBSQLdialup Adding session for panel, 154.17.32.20, 2273
Thu May 31 18:42:51 2001: DEBUG: do query is: insert into RADONLINE (USERNAME, NASIDENTIFIER, NASPORT, ACCTSESSIONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values ('panel', '154.17.32.20', 02273, '317384197', 991352401, '200.53.11.151', 'Async', '')
                ('panel', 991352401, 'Start', 1, '317384197', '154.17.32.20', 2273, '200.53.11.151', '20010531 19:40:01', '450')
        User-Name = "panel at mx.inter.net"
Thu May 31 18:52:15 2001: DEBUG: Rewrote user name to panel at mx.inter.net
Thu May 31 18:52:15 2001: DEBUG: Rewrote user name to panel at mx.inter.net
Thu May 31 18:52:15 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:52:15 2001: DEBUG: SDBSQLdialup Deleting session for panel at mx.inter.net, 154.17.32.25, 3111
Thu May 31 18:52:15 2001: DEBUG: Radius::AuthDBFILE looks for match with panel
Thu May 31 18:52:15 2001: DEBUG: Radius::AuthDBFILE looks for match with panel
Thu May 31 18:52:15 2001: DEBUG: Query is: select NASIDENTIFIER, NASPORT, ACCTSESSIONID, FRAMEDIPADDRESS from RADONLINE where USERNAME='panel at mx.inter.net'
Thu May 31 18:52:15 2001: DEBUG: Access accepted for panel
        User-Name = "panel"
Thu May 31 18:52:15 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:52:15 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:52:15 2001: DEBUG: SDBSQLdialup Adding session for panel, 154.17.32.25, 3111
Thu May 31 18:52:15 2001: DEBUG: do query is: insert into RADONLINE (USERNAME, NASIDENTIFIER, NASPORT, ACCTSESSIONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values ('panel', '154.17.32.25', 03111, '340771559', 991352966, '200.53.10.155', 'Async', '')
                ('panel', 991352966, 'Start', 0, '340771559', '154.17.32.25', 3111, '200.53.10.155', '20010531 19:49:26', '450')
        User-Name = "panel"
Thu May 31 18:52:20 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:52:20 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:52:20 2001: DEBUG: SDBSQLdialup Adding session for panel, 154.17.32.25, 3111
Thu May 31 18:52:20 2001: DEBUG: do query is: insert into RADONLINE (USERNAME, NASIDENTIFIER, NASPORT, ACCTSESSIONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values ('panel', '154.17.32.25', 03111, '340771559', 991352966, '200.53.10.155', 'Async', '')
                ('panel', 991352966, 'Start', 0, '340771559', '154.17.32.25', 3111, '200.53.10.155', '20010531 19:49:26', '450')
        User-Name = "panel"
Thu May 31 18:52:35 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:52:35 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:52:35 2001: DEBUG: SDBSQLdialup Adding session for panel, 154.17.32.25, 3111
Thu May 31 18:52:35 2001: DEBUG: do query is: insert into RADONLINE (USERNAME, NASIDENTIFIER, NASPORT, ACCTSESSIONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values ('panel', '154.17.32.25', 03111, '340771559', 991352966, '200.53.10.155', 'Async', '')
                ('panel', 991352966, 'Start', 20, '340771559', '154.17.32.25', 3111, '200.53.10.155', '20010531 19:49:26', '450')
        User-Name = "panel"
Thu May 31 18:52:55 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:52:55 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:52:55 2001: DEBUG: SDBSQLdialup Adding session for panel, 154.17.32.25, 3111
Thu May 31 18:52:55 2001: DEBUG: do query is: insert into RADONLINE (USERNAME, NASIDENTIFIER, NASPORT, ACCTSESSIONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values ('panel', '154.17.32.25', 03111, '340771559', 991352966, '200.53.10.155', 'Async', '')
                ('panel', 991352966, 'Start', 40, '340771559', '154.17.32.25', 3111, '200.53.10.155', '20010531 19:49:26', '450')
        User-Name = "panel"
Thu May 31 18:53:15 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:53:15 2001: DEBUG: Rewrote user name to panel
Thu May 31 18:53:15 2001: DEBUG: SDBSQLdialup Adding session for panel, 154.17.32.25, 3111
Thu May 31 18:53:15 2001: DEBUG: do query is: insert into RADONLINE (USERNAME, NASIDENTIFIER, NASPORT, ACCTSESSIONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values ('panel', '154.17.32.25', 03111, '340771559', 991352966, '200.53.10.155', 'Async', '')
                ('panel', 991352966, 'Start', 60, '340771559', '154.17.32.25', 3111, '200.53.10.155', '20010531 19:49:26', '450')


the weird thing is that ther are multiple starts and just a couple of
accep accepted .

Whats can be wrong?
        





Saludos

Anton Krall
Director de Tecnologia
Inter.net Mexico
(www.mx.inter.net)
Email: akrall at team.inter.net
Directo: 5-241-7609
Conmutador: 5-241-7600
Mobile: 044-5105-5160

Outside Mexico:
Office: (525)241-7609
PBX: (525)241-7600
Mobile: (525)105-5160

______________________

Thursday, May 31, 2001, 6:21:17 PM, you wrote:


HI> Hello Anton -

HI> As usual, without a copy of the configuration file and a trace 4 debug from 
HI> Radiator showing what is going on, it is impossible to say. 

HI> Some guesses would include: incorrect spelling (if what you show below has 
HI> been cut and pasted), incorrect placement (DefaultSimultaneousUse is an 
HI> AuthBy parameter), or users including different case letters and/or domain 
HI> suffixes in their usernames. 

HI> You might also have a DEFAULT user entry that is accepting the user even if 
HI> the DefaultSimultaneousUse parameter is set, or the individiual user entry 
HI> may have a Simultaneous-Use entry set.

HI> hth

HI> Hugh

HI> On Friday 01 June 2001 02:59, Anton Krall wrote:
>> Guys.,
>>
>> I have Defaultsimultaneoususe 1 on my config but I still see some
>> users that are connection twice or even 3 times using the same login
>> and pw?
>>
>> Why is this?
>>
>> Saludos
>>
>> Anton Krall
>> Director de Tecnologia
>> Inter.net Mexico
>> (www.mx.inter.net)
>> Email: akrall at team.inter.net
>> Directo: 5-241-7609
>> Conmutador: 5-241-7600
>> Mobile: 044-5105-5160
>>
>> Outside Mexico:
>> Office: (525)241-7609
>> PBX: (525)241-7600
>> Mobile: (525)105-5160
>>
>>
>> ===
>> 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.


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