Re: Ip address and concurrency

Thomas Kernen ( tkernen@deckpoint.ch )
Thu, 02 Jul 1998 10:42:05 +0200

Dale,

here is the debug of a user. Running Radius 2.2, SQL 6.5 and Max 4000

radrecv: Request from host c226a091 code=1, id=49, length=93
User-Name = "*****"
Challenge-Response = "\001\377\252u\232\353\212\274\204Y"
NAS-Identifier = 194.38.160.145
NAS-Port = 10115
NAS-Port-Type = Sync
User-Service = Framed-User
Framed-Protocol = PPP
State = ""
Acct-Session-Id = "267525730"
rad_authenticate_ODBC()
Challenge-Response = "\001\377\252u\232\353\212\274\204Y"

SQL Statement: Select DateAdd(Day, (ma.extension + ma.overdue),
maExpireDate),
DateAdd(Day, sa.extension, saExpireDate), sa.AccountID, sa.AccountType,
sa.Passw
ord, sa.Login, sa.Shell, sa.LoginLimit From MasterAccounts ma,
SubAccounts sa W
here (sa.Login='*****' or sa.Shell='*****') AND
ma.CustomerID=sa.CustomerID
and sa.Active<>0 and ma.Active<>0

Checking for duplicate logins.

SQL Statement: Select Count(*) from CallsOnline Where UserName='*****'
and Ac
ctStatusType=1

***** found on-line 0 time(s).

SQL Statement: Select ra.RadAttributeID, Name, Data, Value, Type From
RadConfig
s rc, RadAttributes ra Where ra.RadAttributeID=rc.RadAttributeID AND
rc.AccountI
D=678

Loading radius defaults for this type...

SQL Statement: Select ra.RadAttributeID, Name, Data, Value, Type From
RadATConf
igs rc, RadAttributes ra Where ra.RadAttributeID=rc.RadAttributeID AND
rc.Accou
ntType='PPP'

Framed-Protocol = PPP (1)
User-Service = Framed-User (2)
Session-Timeout = 900 (900)
Ascend-Idle-Limit = 900 (900)
Sending Ack of id 49 to c226a091 (saratoga.deckpoint.ch)
Framed-Protocol = PPP
User-Service = Framed-User
Session-Timeout = 900
Ascend-Idle-Limit = 900

Resp Time: 430 Auth: 104/0 -> 104 Acct: 206/0/0 -> 206
radrecv: Request from host c226a091 code=4, id=180, length=90
User-Name = "******"
NAS-Identifier = 194.38.160.145
NAS-Port = 10115
NAS-Port-Type = Sync
Acct-Status-Type = Start
Acct-Delay-Time = 0
Acct-Session-Id = "267525730"
Acct-Authentic = RADIUS
Framed-Protocol = PPP
Framed-Address = 0.0.0.0

SQL Statement: INSERT INTO Calls
(CallDate,UserName,NASIdentifier,NASPort,NASPo
rtType,AcctStatusType,AcctDelayTime,AcctSessionId,AcctAuthentic,FramedProtocol,F
ramedAddress) VALUES
(GetDate(),'*****','194.38.160.145',10115,1,1,0,'26752573
0',1,1,'0.0.0.0')

SQL Statement: UPDATE CallsOnline Set UserName='*****',
AcctStatusType=1, Cal
lDate=GetDate(), FramedAddress='0.0.0.0' WHERE
NASIdentifier='194.38.160.145' a
nd NASPort=10115

Sending Accounting Ack of id 180 to c226a091 (saratoga.deckpoint.ch)

Dale Reed wrote:
>
> Thomas Kernen wrote:
> >
> > Hello,
> >
> > I've noticed that my calls online table doesn't seem to receive the IP
> > addresses for all my users. At the NAS level it's all ok. Running
> > RadiusNT 2.2.
>
> Do you mean some have the IP and some dont? Does the -x15 debug show
> Framed-Address for all the accounting start records?
>
> > Also, using concurrency control to allow multiple connections with the
> > same user ID I noticed that only MP and MPP connections will allow
> > adding channel ie: 2 seperate users using the same ID cannot login at
> > the same time even if the account allows multiple logins.
>
> Make sure you have variable login limits enabled. Otherwise, RadiusNT
> ignores the Login Limit field and uses one for all users.
>
> --
> Dale E. Reed Jr. (daler@iea-software.com)
> _________________________________________________________________
> IEA Software, Inc. | RadiusNT, Emerald, and NT FAQs
> Internet Solutions for Today | http://www.iea-software.com