News: This forum is now permanently frozen.
Pages: [1]
Topic: voucher and radius re-authentication bug  (Read 3840 times)
« on: July 13, 2009, 20:39:41 »
butteryak *
Posts: 16

Not sure if anyone else has run into this issue.  but I have a login page with both voucher authentication as well as the standard username/password authentication.    I use radius for my user/pass authentication,  when is set to re-authenticate the user at regular intervals.   

Here is what I run into, when a user is logged in via a voucher.   They get bumped off by the radius reauthentication for some reason, even though the voucher system has nothing to do with it.  It's not a big deal, as re-authentication is not a big need right now, I can simply turn it off, and things work ok.

but it may be somthing I or somebody might need in the future, so I thought I would share what I has found.
« Reply #1 on: August 04, 2009, 05:14:44 »
banaba *
Posts: 5

Hellow Butteryak,

i'm currently designing the same concept onto m0n0wall to have a login page with username and password, but have difficulties authenticating to internet.

Request your assistance if you could send your last login page that have username and password so m0n0wall can send on it's captive portal to RADIUS server to allow authenticate to internet.

Looking forward to your supportive response.

Thanks,

Banaba.
« Reply #2 on: August 13, 2009, 00:44:39 »
butteryak *
Posts: 16

Heres' my captive portal page php.  It's saved as a txt file. 

hope this helps, I can also sen you monowall settings for captive portal page.

* services_captiveportal.txt (1.47 KB - downloaded 317 times.)
« Reply #3 on: October 04, 2009, 08:24:19 »
knightmb ****
Posts: 341

Not sure if anyone else has run into this issue.  but I have a login page with both voucher authentication as well as the standard username/password authentication.    I use radius for my user/pass authentication,  when is set to re-authenticate the user at regular intervals.   

Here is what I run into, when a user is logged in via a voucher.   They get bumped off by the radius reauthentication for some reason, even though the voucher system has nothing to do with it.  It's not a big deal, as re-authentication is not a big need right now, I can simply turn it off, and things work ok.

but it may be somthing I or somebody might need in the future, so I thought I would share what I has found.
This is similar to the MAC pass through settings. When you use MAC pass through, you get an "unauthenticated" user show up in the list and every minute, m0n0wall will boot it.

The fix for that was to create a username in the Radius for "unauthenticated" with no password and the problem was solved.

This might be a similar issue, when you login with a voucher, check to see what username shows up in the captive portal list. I think they may all be the same, just create a username like that in your radius server so when it verifies the username it won't bump it out.

Radius Service for m0n0wall Captive Portal - http://amaranthinetech.com
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines