https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162010-09-01T15:35:39ZpfSense bugtrackerpfSense Packages - Bug #868: transparent Squid breaks captive portalhttps://redmine.pfsense.org/issues/868?journal_id=31022010-09-01T15:35:39ZErik Fonnesbeck
<ul></ul><p>The issue is likely that the two are competing for trying to redirect connections going to port 80 and the squid package is the one that gets the redirect.</p>
<p>It may need a redirect in ipfw that catches attempts to access squid by systems that are not logged into the captive portal.</p> pfSense Packages - Bug #868: transparent Squid breaks captive portalhttps://redmine.pfsense.org/issues/868?journal_id=31032010-09-01T15:37:26ZChris Buechlercbuechler@gmail.com
<ul></ul><p>The ipfw fwd gets hit, but I believe after that it gets hit by the pf rdr for Squid. A 'no rdr' for traffic destined to the interface IP (even manually entered as a user rule if the ordering suffices) would probably fix.</p> pfSense Packages - Bug #868: transparent Squid breaks captive portalhttps://redmine.pfsense.org/issues/868?journal_id=31532010-09-07T07:49:39ZBurkart Orlowskib.orlowski@onlinehelp24.net
<ul></ul><p>I had the same problem and found a workaround.</p>
<p>Edit the following line in /usr/local/captiveportal/index.php<br />$ourhostname = „{$ifip}:8000“; ändern in $ourhostname = „<IP pfsense>:8000“;</p>
<p>Then it should work fine again.</p> pfSense Packages - Bug #868: transparent Squid breaks captive portalhttps://redmine.pfsense.org/issues/868?journal_id=31542010-09-07T07:50:20ZBurkart Orlowskib.orlowski@onlinehelp24.net
<ul></ul><p>Burkart Orlowski wrote:</p>
<blockquote>
<p>I had the same problem and found a workaround.</p>
<p>Edit the following line in /usr/local/captiveportal/index.php<br />$ourhostname = „{$ifip}:8000“; and change it to</p>
</blockquote>
$ourhostname = „<IP pfsense>:8000“;
<blockquote>
<p>Then it should work fine again.</p>
</blockquote> pfSense Packages - Bug #868: transparent Squid breaks captive portalhttps://redmine.pfsense.org/issues/868?journal_id=33552010-10-08T10:03:02Zchudy fernandezchudy_fernandez@yahoo.com
<ul></ul><p>add <strong>header("Connection: close");</strong> in /usr/local/captiveportal/index.php will fix the issue</p>
<p>header("Expires: 0");<br />header("Cache-Control: no-store, no-cache, must-revalidate");<br />header("Cache-Control: post-check=0, pre-check=0", false);<br />header("Pragma: no-cache");<br /><strong>header("Connection: close");</strong></p> pfSense Packages - Bug #868: transparent Squid breaks captive portalhttps://redmine.pfsense.org/issues/868?journal_id=33652010-10-11T05:00:10ZTahar GUEBLIguebli_t@yahoo.fr
<ul></ul><p>With adding :header("Connection: close"), Portal Captive work fine even squid is installed.</p>
<p>Thanks</p> pfSense Packages - Bug #868: transparent Squid breaks captive portalhttps://redmine.pfsense.org/issues/868?journal_id=34232010-10-18T05:55:55ZErmal Luçieri@pfsense.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul> pfSense Packages - Bug #868: transparent Squid breaks captive portalhttps://redmine.pfsense.org/issues/868?journal_id=93792012-07-05T16:54:05ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>