[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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rad_recv: \
Access-Request packet from host 58.11.86.127 port 2052, id=102, \
length=309<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ChilliSpot-Version = \
"1.2.7-svn"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Name = \
"12345678901234567890"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Password = \
"1234567890123456"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service-Type = \
Login-User<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Session-Id = \
"535e42cc00000001"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Framed-IP-Address = \
10.1.0.6<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-Port-Type = \
Wireless-802.11<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-Port = \
1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-Port-Id = \
"00000001"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Calling-Station-Id = \
"A0-ED-CD-BD-3D-7F"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Called-Station-Id = \
"C8-B3-73-0D-7E-74"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-IP-Address = \
192.168.1.2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-Identifier = \
"test_nas"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WISPr-Location-ID = \
"isocc=,cc=,ac=,network=Coova,coova1_Coova"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
WISPr-Location-Name = "My_HotSpot"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
WISPr-Logoff-URL = "http://10.1.0.1:3360/logoff"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Message-Authenticator = \
0x7a97e329f7d8a2cf008b2a0400c5470d<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # \
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>&gt; From: Adam.Bishop@ja.net<br>&gt; To: \
freeradius-users@lists.freeradius.org<br>&gt; Subject: Re: size limit for username \
and password<br>&gt; Date: Mon, 28 Apr 2014 09:24:02 +0000<br>&gt; <br>&gt; On 28 Apr \
2014, at 09:27, Benoit &lt;goony@hotmail.fr&gt; wrote:<br>&gt; &gt; <br>&gt; &gt; Is \
there any easy way to allow bigger passwords?<br>&gt; <br>&gt; Have you tried making \
the column wider?<br>&gt; <br>&gt; &gt; 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>&gt; \
<br>&gt; <br>&gt; 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>&gt; <br>&gt; A debug log showing \
success and failure is required to help any further.<br>&gt; <br>&gt; \
Regards,<br>&gt; <br>&gt; Adam Bishop<br>&gt; <br>&gt;   gpg: 0x6609D460<br>&gt; \
<br>&gt; Janet, the UK's research and education network.<br>&gt; <br>&gt; <br>&gt; \
Janet(UK) is a trading name of Jisc Collections and Janet Limited, a <br>&gt; \
not-for-profit company which is registered in England under No. 2881024 <br>&gt; and \
whose Registered Office is at Lumen House, Library Avenue,<br>&gt; Harwell Oxford, \
Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238<br>&gt; <br>&gt; -<br>&gt; 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