[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: RE: size limit for username and password
From: Benoit <goony () hotmail ! fr>
Date: 2014-04-28 12:08:55
Message-ID: DUB124-W10E41F13010473009EC030CA470 () phx ! gbl
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Ok I used the username and password '12345678901234567890' which is a total of 20 \
digits. I can create the entry in the radcheck table, no problem. Running freeradius \
in debug mode shows this while attempting to connect:
rad_recv: Access-Request packet from host 58.11.86.127 port 2052, id=102, \
length=309 ChilliSpot-Version = "1.2.7-svn"
User-Name = "12345678901234567890"
User-Password = "1234567890123456"
Service-Type = Login-User
Acct-Session-Id = "535e42cc00000001"
Framed-IP-Address = 10.1.0.6
NAS-Port-Type = Wireless-802.11
NAS-Port = 1
NAS-Port-Id = "00000001"
Calling-Station-Id = "A0-ED-CD-BD-3D-7F"
Called-Station-Id = "C8-B3-73-0D-7E-74"
NAS-IP-Address = 192.168.1.2
NAS-Identifier = "test_nas"
WISPr-Location-ID = "isocc=,cc=,ac=,network=Coova,coova1_Coova"
WISPr-Location-Name = "My_HotSpot"
WISPr-Logoff-URL = "http://10.1.0.1:3360/logoff"
Message-Authenticator = 0x7a97e329f7d8a2cf008b2a0400c5470d
# Executing section authorize from file /etc/freeradius/sites-enabled/default
So the problem indeed seems to come from the access point (running on coovachilli in \
this case), since we can see those 2 lines in the packet:
User-Name = "12345678901234567890"
User-Password = "1234567890123456"
The access point seems to send a maximum of 16 digits. I guess I should ask to the \
coovachilli developer then. Sorry I asked here before reading more carefully the \
logs.
Thank you for the prompt responses.
Benoit Aubert
> From: Adam.Bishop@ja.net
> To: freeradius-users@lists.freeradius.org
> Subject: Re: size limit for username and password
> Date: Mon, 28 Apr 2014 09:24:02 +0000
>
> On 28 Apr 2014, at 09:27, Benoit <goony@hotmail.fr> wrote:
> >
> > Is there any easy way to allow bigger passwords?
>
> Have you tried making the column wider?
>
> > It looks like the pasword size for a user in the radcheck table is 16 characters \
> > (if I put one more it fails to login).
>
>
> More seriously, I’ve looked at the schema for the radcheck table - values are 253 \
> wide (for mssql and mysql at least), so unkless you’ve messed with the schema, \
> column width is not your problem. Are you certain that what is in the database is \
> what you think is in the database?
> A debug log showing success and failure is required to help any further.
>
> Regards,
>
> Adam Bishop
>
> gpg: 0x6609D460
>
> Janet, the UK's research and education network.
>
>
> Janet(UK) is a trading name of Jisc Collections and Janet Limited, a
> not-for-profit company which is registered in England under No. 2881024
> and whose Registered Office is at Lumen House, Library Avenue,
> Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[Attachment #5 (text/html)]
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Ok I used the username and password \
'12345678901234567890' which is a total of 20 digits. I can create the entry in the \
radcheck table, no problem. Running freeradius in debug mode shows this while \
attempting to connect:<br><br> rad_recv: \
Access-Request packet from host 58.11.86.127 port 2052, id=102, \
length=309<br> ChilliSpot-Version = \
"1.2.7-svn"<br> User-Name = \
"12345678901234567890"<br> User-Password = \
"1234567890123456"<br> Service-Type = \
Login-User<br> Acct-Session-Id = \
"535e42cc00000001"<br> Framed-IP-Address = \
10.1.0.6<br> NAS-Port-Type = \
Wireless-802.11<br> NAS-Port = \
1<br> NAS-Port-Id = \
"00000001"<br> Calling-Station-Id = \
"A0-ED-CD-BD-3D-7F"<br> Called-Station-Id = \
"C8-B3-73-0D-7E-74"<br> NAS-IP-Address = \
192.168.1.2<br> NAS-Identifier = \
"test_nas"<br> WISPr-Location-ID = \
"isocc=,cc=,ac=,network=Coova,coova1_Coova"<br> \
WISPr-Location-Name = "My_HotSpot"<br> \
WISPr-Logoff-URL = "http://10.1.0.1:3360/logoff"<br> \
Message-Authenticator = \
0x7a97e329f7d8a2cf008b2a0400c5470d<br> # \
Executing section authorize from file /etc/freeradius/sites-enabled/default<br><br>So \
the problem indeed seems to come from the access point (running on coovachilli in \
this case), since we can see those 2 lines in the packet:<br><br>User-Name = \
"12345678901234567890"<br>User-Password = "1234567890123456"<br><br><br>The access \
point seems to send a maximum of 16 digits. I guess I should ask to the coovachilli \
developer then. Sorry I asked here before reading more carefully the \
logs.<br><br>Thank you for the prompt responses.<br><br>Benoit \
Aubert<br><br><br><div>> From: Adam.Bishop@ja.net<br>> To: \
freeradius-users@lists.freeradius.org<br>> Subject: Re: size limit for username \
and password<br>> Date: Mon, 28 Apr 2014 09:24:02 +0000<br>> <br>> On 28 Apr \
2014, at 09:27, Benoit <goony@hotmail.fr> wrote:<br>> > <br>> > Is \
there any easy way to allow bigger passwords?<br>> <br>> Have you tried making \
the column wider?<br>> <br>> > It looks like the pasword size for a user in \
the radcheck table is 16 characters (if I put one more it fails to login).<br>> \
<br>> <br>> More seriously, I’ve looked at the schema for the radcheck table - \
values are 253 wide (for mssql and mysql at least), so unkless you’ve messed with the \
schema, column width is not your problem. Are you certain that what is in the \
database is what you think is in the database?<br>> <br>> A debug log showing \
success and failure is required to help any further.<br>> <br>> \
Regards,<br>> <br>> Adam Bishop<br>> <br>> gpg: 0x6609D460<br>> \
<br>> Janet, the UK's research and education network.<br>> <br>> <br>> \
Janet(UK) is a trading name of Jisc Collections and Janet Limited, a <br>> \
not-for-profit company which is registered in England under No. 2881024 <br>> and \
whose Registered Office is at Lumen House, Library Avenue,<br>> Harwell Oxford, \
Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238<br>> <br>> -<br>> List \
info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<br></div> \
</div></body> </html>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic