[ previous ] [ next ] [ threads ]
 From:  Vittore Zen <drzen at gamebox dot net>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  captive portal and md5
 Date:  Fri, 14 Jul 2006 13:08:21 +0200

I have a m0n0wall (1.22) with captive portal. The radius server is a 
Multitech radius (free).
I use a syntax like:
username, auth-local, password="6576533e2652e287"
where password is a md5 from a script (a grabber from moodle elearning 

I do a captive portal page like this:

function passmd5() {
//    alert (document.login.auth_pass.value);
    return true;

<form method="post" action="$PORTAL_ACTION$" name="login">
                <input name="auth_user" type="text">
                <input name="pwd" type="password">
                <input type="hidden" name="auth_pass">
                  <input name="accept" type="submit" value="Accedi" 

the script calcs the md5 function (the alert says a correct value, the 
same stored in Users file of radius server).
But I get captive portal username/password wrong's page.

May you help me?

Thanks in advance.