Re: Fully personalize captive portal

Jonathan De Graeve - M0n0wall <[email protected]>
Newsgroups gmane.comp.security.firewalls.m0n0wall
Message-ID <[email protected]>
I understand the reason behind this session ID and that it's very 
usefull with your own pages.

But we have to make sure that this will work in a general standardized 
way. In case the user is redirected to its correct website we do not 
want that website to know about the SessionID.

Furthermore what about url's provided by radius.

If we can come to a general concensus on how it should act I can add it, 
but as an option that people can turn on and off.

Kind Regards,

Jonathan


Giovanni Lambiase wrote:
> I fully personalized captive portal by adding simple re direction pages
>
> into login and errors html code.
>
>  
>
> Then I had the problem to personalize the logout popup window. I looked
>
> for PHP sources accessing by SSH into a pfsense installation (captive
> portal
>
> code should be the same).
>
>  
>
> Then I changed this PHP code in index.php simply adding -> . "?s=" .
> $sessionid
>
>  
>
> /* redirect user to desired destination */
>
> if ($url_redirection)
>
>         $my_redirurl = $url_redirection;
>
> else if ($config['captiveportal']['redirurl'])
>
>         $my_redirurl = $config['captiveportal']['redirurl'] . "?s=" .
> $sessionid;
>
> else
>
>         $my_redirurl = $redirurl;
>
>  
>
> So I deactivated internal popup and creating a login successful page
> which
>
> open my own popup knowing the sessionid code to create a logout form.
>
>  
>
> Can this feature be available in next release? It's so simply and it
> allows a
>
> full customization of portal pages.
>
>  
>
> Kind regards
>
> Gio
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.