Project

General

Profile

Bug #836

Captive portal logout popup windows doesn't disconnect the user

Added by Francesco Acchiappati almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
08/21/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

When a user clicks on the logout button,the user is not actually disconnected and can still surf the web

Associated revisions

Revision 6991e1a6 (diff)
Added by Erik Fonnesbeck almost 9 years ago

Fix the contents of the captive portal logout popup. Fixes #836

Revision 532cb894 (diff)
Added by Ermal Luçi over 8 years ago

Ticket #836 Ticket #1194 and http://forum.pfsense.org/index.php/topic,32175.msg166263.html#msg166263 suggest that now that CP actions are quite fast its better to send the logout data before actually disconnecting the client.

History

#1 Updated by Ermal Luçi almost 9 years ago

Can you please give proper information about this!
Otherwise this will be closed.

#2 Updated by Francesco Acchiappati almost 9 years ago

I try to be more clear.

in PFsense captive portal configuration page there is a flag that says "enable logout popup window"
when this option is enabled and a user performs the login, the popup window with the logout button appears.

if the user clicks on that button it should be logged out and if trying to point to any url (like www.google.com) it should be requested to autenticate again against the captive portal.

this doesn't happen.
even if the user, by pressing the logout button in the popup window wants to force the logout and terminate the session, that session is not terminated.

Also in the Captive portal status, under the "active users" the user appears to be still logged in.

Sorry for my bad english

#3 Updated by Ermal Luçi almost 9 years ago

  • Priority changed from High to Normal

#4 Updated by Ermal Luçi almost 9 years ago

  • Status changed from New to Feedback

Can you please try with the latest snapshot and see if you can replicate.
Also please paste the srouce code of the logout window.(Right click on the window and choose 'view source' in any browser)

#5 Updated by Dimitri Roschkowski almost 9 years ago

I can confirm the problem with the logout button. Currently I'm using the latest BETA4-2g-20100911-1644-nanobsd Image I started from scratch. Sorry, but I can't help you out with the source code of the logout page, when I tried to view the source, I get "nothing".

I recorded a video for you, that shows the problem:
http://screencast.com/t/MGY4MzY2NDI

-- Dimitri

#6 Updated by Erik Fonnesbeck almost 9 years ago

  • % Done changed from 0 to 100

#7 Updated by L J over 8 years ago

Does NOT work actually. The user still remains at the logged in overview!

#8 Updated by Erik Fonnesbeck over 8 years ago

Could you explain what you mean in more detail? In particular, which page do you mean when you say "the logged in overview" ?

#9 Updated by L J over 8 years ago

Status -> Captive portal

There the user who are currently logged in are shown and a user who loggs out via button does not disappear there.

#11 Updated by Ermal Luçi over 8 years ago

Patch committed please test.

#12 Updated by rancor rancor over 8 years ago

Ermal Luçi wrote:

Patch committed please test.

I can verify pfSense 2.0 beta 5

When I first start to surf from a "new" MAC then I am being redirected to the portal. If I log in with correct username and password then I can surf without any problem but then I click on the log out button of the pop up windows I'm not longer allowed to surf and I'm being redirected to the log in page of the portal.

I believe it's working as expected now.

#13 Updated by Chris Buechler over 8 years ago

  • Status changed from Feedback to Resolved

thanks. I also confirmed this a few days ago

#14 Updated by Mark Dammer over 8 years ago

I am still having this issue with 2.0RC1 snapshots (latest update 23.03.2011).

Also available in: Atom PDF