Sorry for jumping in but system can know if squid is running or not. Maybe when rc init script is running it will not but system definitely known if the software runs. This is since it was designed to follow the software when it runs. I can suggest an alternative squid.service for systemd that will replace the rc init scrtipt. Eliezer ---- Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: eliezer@xxxxxxxxxxxx -----Original Message----- From: squid-users [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Amos Jeffries Sent: Wednesday, November 23, 2016 14:39 To: squid-users@xxxxxxxxxxxxxxxxxxxxx Subject: Re: Squid3.4 on Debian Jessie x64 - config problem On 23/11/2016 2:06 a.m., Marcin Jakóbik wrote: > Hello, > > I have a testing lab ( VBox ) with 2 VMs : 1st one with NICs in > bridged mode, and in host-only mode, 2nd VM is also in bridged mode. > > On 1st machine i have successfully set up Squid, but my config file > sometimes works, sometimes no, f.eg. it sometimes blocks youtube, but > a few secs later, just shows a few website elements. Moreover, if i > choose to use proxy on windows machine, when it blocks sites - i can > see that in logs, but in webbrowser i can see only white site. Nothing > more. Same goes if I use default config file. The default config from Debian disables access through the proxy. You have to enable the localnet ACL for anything to work. Start by deciding what you want the proxy to do. Then tell us that. > > *STATUS :* > "sudo /etc/init.d/squid3 status > ● squid3.service - LSB: Squid HTTP Proxy version 3.x > Loaded: loaded (/etc/init.d/squid3) > Active: active (running)(...)" > systemd lies. It cannot tell whether Squid-3 is runnign or not. If Squid was ever started systemd will say "active (running)" even if Squid aborted. Which brings us to the config ... > > *CONFIG : * > The pastebin config is missing http_port for receiving traffic. So any proxy asked to run it will abort on startup. No traffic going through there. Amos _______________________________________________ squid-users mailing list mailto:squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users