|
||||||||
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): --------------------------- <HTML> <HEAD><TITLE>Redirecting...</TITLE></HEAD> <BODY> <SPAN STYLE="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"> <B>Redirecting to <A HREF="http://[deleted]">[deleted]</A>...</B> </SPAN> <SCRIPT LANGUAGE="JavaScript"> <!-- LogoutWin = window.open('', 'Logout', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=256,height=64'); if (LogoutWin) { LogoutWin.document.write('<HTML>'); 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" ACTION="[deleted]:8000/index.php">'); LogoutWin.document.write('<INPUT NAME="logout_id" TYPE="hidden" VALUE="[deleted]">'); LogoutWin.document.write('<INPUT NAME="logout" TYPE="submit" VALUE="Logout">'); LogoutWin.document.write('</FORM>'); LogoutWin.document.write('</DIV></BODY>'); LogoutWin.document.write('</HTML>'); LogoutWin.document.close(); } document.location.href="[deleted]" --------------------------- ...then the TCP connection is closed before the following, which is supposed to be part of the page, can be sent: --------------------------- ; --> </SCRIPT> </BODY> </HTML> --------------------------- (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. |