EFW Support

Support => EFW SMTP, HTTP, SIP, FTP Proxy Support => Topic started by: Xipher on Monday 22 December 2008, 09:59:13 am



Title: My fix for website auth issues.
Post by: Xipher on Monday 22 December 2008, 09:59:13 am
I just started using Endian 2.2.rc3 to replace a moderately modified Smoothwall 3.0 SP4 box but noticed an issue...

I was unable to log into web pages that used the "popup" username/password request much like .htaccess, I figured that incase someone is having issues with this that I would make a post here and see if it helps anyone.  Here is a messy here and there bit of documentation on the fix for lack of sleep :)

------------------------------------------

The Issue:  Using Endian Firewall Community Edition 2.2.rc3, users are unable to log into websites requiring user/pass authentication such as ".httaccess" style logins. 

Actual test case was as follows:  Windows XP x64bit System accessing website hosted on IIS7.0 server requesting user name and password via a popup box in firefox 3.0.5, Clamav enabled, content filter enabled, proxy transparent on green interface with cache enabled.

The fix, and related notes:  Fix required is to modify the following file /etc/squid/squid.conf.tmp which modifies /etc/squid/squid.conf when the script /usr/local/bin/restartsquid is invoked.  The modification needed is to change line 56/878 from "server_persistent_connections off" to "server_persistent_connections on" and then invoke the script /usr/local/bin/restartsquid.

Note:  The official website for the product Squid lists the directive as on by default at http://www.squid-cache.org/Doc/config/server_persistent_connections/

-----------------------------------------

I've seen no ill effects from this fix, it did the job and now I've got a box on the same hardware with more capability, and a MUCH lower load average even though its doing a whole heck of a lot more than the Smoothwall was doing. :D