[ previous ] [ next ] [ threads ]
 From:  Ray Cummins <r at burlco dot org>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  m0n0wall 1.2b2: Captive portal logout popup not displaying
 Date:  Fri, 29 Oct 2004 16:18:42 -0400
As I've read in other posts on this list, when logging in from the 
captive portal (i.e. clicking "Continue" on the default portal page), IE 
often shows a blank page and Mozilla shows "raw" Javascript instead of 
the redirected page. It appears as though the page that m0n0wall is 
supposed to return when a user logs in is truncated (sensitive bits have 
been deleted by me):

<SPAN STYLE="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; 
font-size: 11px;">
<B>Redirecting to <A HREF="http://[deleted]">[deleted]</A>...</B>
LogoutWin = window.open('', 'Logout', 
if (LogoutWin) {
LogoutWin.document.write('<HEAD><TITLE>Logout</TITLE></HEAD>') ;
LogoutWin.document.write('<BODY BGCOLOR="#435370">');
LogoutWin.document.write('<DIV ALIGN="center" STYLE="color: #ffffff; 
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 
11px;">') ;
LogoutWin.document.write('<B>Click the button below to disconnect</B><P>');
LogoutWin.document.write('<FORM METHOD="POST" 
LogoutWin.document.write('<INPUT NAME="logout_id" TYPE="hidden" 
LogoutWin.document.write('<INPUT NAME="logout" TYPE="submit" 


...then the TCP connection is closed before the following, which is 
supposed to be part of the page, can be sent:


(the absence of which makes a big difference). This problem doesn't seem 
to be browser-dependent, because I was able to verify the problem by 
telnetting on port 80. Please let me know if I can provide any more 
information which might help diagnose this problem.