Install Squidguard On Windows

Contribute to diladele/squid-windows development by creating an account on. Have a look at the tutorial describing How to Install Squid 3.5 on Windows. Cloud based URL re-writer for Squid for Windows (like commonly used SquidGuard. Dec 16, 2014 - In previous posts we discussed how to install Squid + squidGuard and how to configure squid to properly handle or restrict access requests.

I change accumulation scarred this article to sound and zynga calculate intended for remark. I not to mention my pals were actually digesting the good tips and tricks found on your web page and immediately I had an awful feeling I had not thanked you for them. Itle insanin sikismesi. The people ended up absolutely glad to learn them and already have unquestionably been taking advantage of these things. Anyway realize it either way! I appreciate you for simply being considerably considerate and for considering these kinds of high-quality subjects most people are really eager to understand about.

Contents • • • • • • • • • • • • • • • • • • • • • • • • Does Squid run on Windows? Squid can compile and run on Windows as a system service using the emulation environment, or can be compiled in Windows native mode using the + MSYS development environment. Windows NT 4 SP4 and later are supported. On Windows 2000 and later the service is configured to use the Windows Service Recovery option restarting automatically after 60 seconds. • The original development code name of the 2.5 project port was SquidNT, but after the 2.6.STABLE4 release, this project was complete. So when speaking about Squid on Windows, people should always refer to Squid, instead to the old SquidNT name.

Known Limitations • Squid features not operational: • DISKD: still needs to be ported • Transparent Proxy: missing Windows non commercial interception driver • WCCP: these features have not been ported. Without transparent proxy support there is no need or use. • SMP support: Windows equivalent of UDS sockets has not been implemented • Some code sections can make blocking calls.

• Some external helpers may not work. • File Descriptors number hard-limited to 2048 when building with MinGW. • Squid-3.x of all formal releases have major build issues. Pre-Built Binary Packages Packages available for Squid on multiple environments. Squid-3.5 Maintainer: Rafael Akchurin, Bug Reporting: (about the installer only) MSI installer packages for Windows are at: • 64-bit: Squid-3.3 Bug Reporting: see Binary packages for the Cygwin environment on Windows are at: • 32-bit: • 64-bit: Squid-2.7 Maintainer: of Bug Reports: Binary packages built using the Microsoft toolchain for Windows NT/2000/XP/2003 are at Installing Squid Service Some new command line options were added for the Windows service support: • -n switch to specify the Windows Service Name. Multiple Squid service instances are allowed. Squid is the default when the switch is not used.

All service control operations use this switch to identify the destination instance being targeted. • -i switch to install the Windows service. It's possible to use -f switch at the same time to specify a different squid.conf file for the Squid Service that will be stored on the Windows Registry.

To install the service, the syntax is: squid -i [-f file] [-n service-name] • -r switch will uninstall the Windows service. Use the appropriate -n switch to determine which service instance is being removed.

Install

To uninstall the service, the syntax is: squid -r [-n service-name] • -k switch is not new, but requires the use of -n to target the service instance. The syntax is: squid -k command [-f file] [-n service-name] Command Line To use the Squid original command line, the new -O switch must be used ONCE, the syntax is: squid -O cmdline [-n service-name] If multiple service command line options must be specified, use quote. The -n switch is needed only when a non default service name is in use. • Don't use the 'Start parameters' in the Windows 2000/XP/2003 Service applet. They are specific to Windows services functionality and Squid is not able to interpret and use them. In the following example the command line of the 'squidsvc' Squid service is set to '-D -u 3130': squid -O '-u 3130' -n squidsvc Cache Manager CGI on Windows On Windows, can be used with Microsoft IIS or Apache.

Some specific configuration could be needed: • IIS 6 (Windows 2003): • On IIS 6.0 all CGI extensions are denied by default for security reason, so the following configuration is needed: • Create a cgi-bin Directory • Define the cgi-bin IIS Virtual Directory with read and CGI execute IIS permissions, ASP scripts are not needed. Squid will by default, install into /usr/local/squid. If you wish to install somewhere else, see the --prefix option for configure. Now, add a new Cygwin user - see the Cygwin user guide - and map it to SYSTEM, or create a new NT user, and a matching Cygwin user and they become the squid runas users. Read the squid FAQ on permissions if you are using CYGWIN=ntsec. When that has completed run: squid -z If that succeeds, try: squid -N -D -d1 Squid should start. Check that there are no errors.