Questions tagged [squid]

Squid is a proxy server and web cache daemon.

Filter by
Sorted by
Tagged with
13 votes
1 answer
96k views

How to know if Squid Proxy is doing the Cache correctly

I wanted to test if the Clients attached to a Squid Server are actually using the Cache data instead of going directly to the internet and retrieving the data. I have configured all clients browsers ...
Luis Alvarado's user avatar
11 votes
1 answer
32k views

Squid TCP_DENIED/403 4037 GET http://detectportal.firefox.com/success.txt - HIER_NONE/- text/html

I've just installed Squid 3.5.27 on Ubuntu Server 18.04 user@ubuntu:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04 LTS Release: 18.04 ...
Sabrina's user avatar
  • 1,993
11 votes
3 answers
2k views

How to add packages to a squid-deb-proxy cache?

To save bandwidth and data on my Internet plan, I have installed squid-deb-proxy on a desktop, and the client on it and a few other machines I've got. However, based on the post that put me onto this ,...
zpletan's user avatar
  • 3,373
9 votes
5 answers
8k views

Stopping daemons from loading at boot time

I want to stop some daemons from loading at boot time, specially squid3. What is the best way of doing this?
nixnotwin's user avatar
  • 5,023
8 votes
2 answers
37k views

How do I block & unblock websites in Ubuntu 14.04?

I'm using Ubuntu 14.04 LTS desktop edition. In that, I need to block the sites like torrents and Facebook, YouTube etc. Can you please help me to block and unblock the sites. If it is possible to do ...
vijayaragavan's user avatar
8 votes
2 answers
15k views

start/stop taking too much time

On my ubuntu machine, I have squid3 as a daemon which starts at boot. The problem is that squid3 takes a long time to start and stop (more than 30 seconds) and it has also slowed down my OS startup/...
nixnotwin's user avatar
  • 5,023
8 votes
1 answer
20k views

How can I see the size of the Squid cache?

Anyone know how to see the space on squid? I mean the cache space on the squid that is being used, like the available space and used space of the cache itself, thanks!
santosamaru's user avatar
7 votes
1 answer
27k views

iptables doesn't redirect http traffic to my Squid proxy!

I arranged a transparent Squid proxy which listens to port 3128 on localhost, to block some web sites. I've tested the proxy using Firefox, and it works. Then I ran this, hoping to redirect all the ...
Naveen's user avatar
  • 9,365
7 votes
3 answers
21k views

Simple and easy way to bypass blocked sites

My ISP blocks a lot of websites so I need an easy way to bypass it. I use a proxy to bypass it. What if I use my own squid server will it bypass my ISP block sites? I need an easy and simple way to ...
One Zero's user avatar
  • 27.1k
6 votes
2 answers
11k views

Slack desktop client on 16.04 behind proxy server

I am trying to use the Slack desktop client for Ubuntu 16.04 behind a Websense Content Gateway (WCG) proxy. It will not connect. Notes: Windows workstations work with Slack client for Windows ...
James's user avatar
  • 1,083
6 votes
2 answers
3k views

Skipping acquire of configured file 'xxxx' as repository 'xxxx xenial InRelease' doesn't support architecture 'i386'"

Needing to upgrade Squid 3.5.12 on Ubuntu 16.04.3 LTS to a more recently patched version (Squid 3.5.23) I found some instructions here: https://github.com/diladele/squid-ubuntu Entered the first 3 ...
dfinz's user avatar
  • 141
6 votes
4 answers
4k views

How to install squid-deb-proxy-client via preseed/early_command

Using Lucid, installing from the Lucid mini.iso. Both AMD64. In the following I've tried as \, all of apt-get, apt-install, anna-install, dpkg: d-i preseed/early_command string <cmd+opt> ...
hedgehog's user avatar
  • 167
5 votes
1 answer
3k views

Benefits of using Squid proxy in Ubuntu Server

What are some of the benefits of installing Squid Proxy in an Ubuntu Server that is sharing its Internet connection to a group of PCs in a LAN.
Luis Alvarado's user avatar
5 votes
1 answer
4k views

squid3 PAM_Auth authentication not working

I'm attempting to run a squid3 proxy server with authentication for any user that has a login to the server. I've followed these instructions, and I am prompted for a username and password when I ...
BOMEz's user avatar
  • 115
5 votes
1 answer
7k views

Squid or Polipo

Currently I am using Squid3 on my netbook, which has an Atom N450 processor and 1 GB of RAM running ubuntu. The proxy is used to share the internet connection with a small group of PC's (3 machines) ...
nixnotwin's user avatar
  • 5,023
4 votes
3 answers
28k views

Problems with permissions with squid3

I have been trying to get squid to work. I have a configuration for the cache to be created in the directory /var/cache/squid3/. However, I get this error when running squid with the "-z" tag (It is ...
John K's user avatar
  • 455
4 votes
1 answer
2k views

Unable to connect to freenode because of open proxy

When I connect to freenode, I am getting the following error. You are banned from this server- Your host is an open proxy (HTTP GET (3128)). Email [email protected] ...
karthick87's user avatar
  • 81.9k
4 votes
1 answer
6k views

Squid 3 Installation error

I am trying to install squid using command sudo apt-get install squid but I am getting following error -- betgbs@proxy-server:~$ sudo apt-get install squid Reading package lists... Done Building ...
Chetan's user avatar
  • 41
4 votes
1 answer
1k views

How do I restrict access to certain web sites?

I have installed elinks and squid and I need to restrict access to yahoo.com(including subdomains. for example, fr.yahoo.com). How do I permanently configure elinks(or squid) to forbid access to yahoo....
johnny's user avatar
  • 451
4 votes
0 answers
1k views

Can't use at_step in squid config

I'm trying to configure Squid to work as a Telegram Messenger proxy using this guide. My Squid complains about their proposed config options (output of squid -k parse): 2019/05/22 11:17:20| ...
Artem Pelenitsyn's user avatar
4 votes
0 answers
388 views

How to get Docker images to use my transparent/intercept squid on the host without touching Docker images?

I have a squid instance running on my server which is connected to 192.168.178.0/24 through eth0 with 192.168.178.26 and serves as gateway for the LAN 192.168.179.0/24 through p18p1 with 192.168.179.1....
Kalle Richter's user avatar
4 votes
1 answer
3k views

Docker Transparent Squid Proxy

I am trying to run a squid3 transparent proxy in a docker image, on my laptop. Then on the same laptop I want to use the transparent proxy. The reason for the proxy is to abstract a corporate proxy ...
ex0b1t's user avatar
  • 41
3 votes
3 answers
10k views

Squid proxy with ncsa_auth

I'm trying to setup a squid proxy with ncsa_auth but I cant find ncsa_auth on my system I installed squid with apt-get install squid As i understand it it should be installed with squid, anyone know ...
Kempe's user avatar
  • 2,745
3 votes
1 answer
12k views

Squid3 ncsa basic auth always fails

I'm trying to make Squid3 to use basic authentication. But while i'm providing correct username/password authentication fails! my ACL and http_access in squid.conf is: acl manager proto ...
Ariyan's user avatar
  • 494
3 votes
1 answer
5k views

How do I get Squid to run as an anonymous proxy?

I have just installed Squid to make an anonymous proxy. I wasn't able to connect to it, so I used the following commands in this exact order. start squid, the response: squid start/running, process ...
Jeremy Boyd's user avatar
3 votes
1 answer
492 views

Squid has "sum hash mismatch" errors with bz2 files

I've been experiencing problems with my squid3 recently, I am using 10.04.3 LTS. Configured squid as always have been configuring since 8.04.04, but its not working as it should be. I've been ...
ProfeDiego's user avatar
3 votes
1 answer
659 views

How do I pre-populate a squid proxy with a Ubuntu installation?

I have an installation service in a central data centre and proxies in other data centres and need to pre-populate those proxies with the contents of the installation. What's the best way to do this? ...
TREllis's user avatar
  • 393
3 votes
0 answers
873 views

Ubuntu server 16.10 running squid as a transparant bridget proxy

I realy hope that some of you can be so kind to use some time to help me. We are bunch of people (110-170) who share a low bandwidht satellite connection to the internet. To optimize the user ...
Wilm's user avatar
  • 31
2 votes
4 answers
41k views

missing squid in /etc/init.d

I installed squid v3 on ubuntu 13. Running squid3 -v responds with version 3.3.8 (yet I cannot find any squid script in /etc/init.d). I am able to run service squid3 restart (process shows as ...
ali haider's user avatar
2 votes
3 answers
9k views

Any idea how to use tail -f in Squid to see logging and processing on localhost?

Squid is good one, also webmin. I am still new to this, can someone helping how to see the Squid progress in terminal or in webmin? I mean when we open some site its going also on squid and showing ...
santosamaru's user avatar
2 votes
1 answer
24k views

squid TAG_NONE/503 0 CONNECT when high load

I am running Ubuntu 16.04 with a Squid on cloud server. Squid is used for my Android application to access few web sites. In general everything worked fine until 3 days ago during the highest load ...
Vladyslav Matviienko's user avatar
2 votes
1 answer
5k views

Issue installing Squid

When I install Squid using sudo apt-get install squid this message came: Reading package lists... Done Building dependency tree Reading state information... Done Package squid is not available,...
user288055's user avatar
2 votes
1 answer
6k views

How to tell if squid-deb-proxy is working?

I've got squid-deb-proxy, avahi-tools, and squid-deb-proxy-client installed on a gateway VM running 12.04 Server, and squid-deb-proxy-client installed on two client VMs running Lubuntu and Xubuntu 12....
memilanuk's user avatar
  • 533
2 votes
1 answer
20k views

re-installing Squid proxy

I have installed squid proxy in my Ubuntu system. Something went wrong in the configuration file. So i need to re-install squid. What is the command to remove squid ? What is the command to install ...
surendar's user avatar
  • 243
2 votes
1 answer
3k views

Squid logs retention

I have Ubuntu Server 12.04 LTS installed. Squid keeps only last 3 days logs. Does anybody know how to increase this duration? I use cron to rotate them on daily basis.
Suleman Hasib's user avatar
2 votes
3 answers
3k views

Possible to configure (Squid) proxy so a browser can bypass a VPN?

I want to do the following (if it's possible): Have 1 browser (say Firefox) as normal - all traffic uses my VPN. Have another browser (say Chrome) where all traffic bypasses the VPN. I have already ...
codlord's user avatar
  • 2,496
2 votes
1 answer
6k views

connect to another proxy through squid

i have an HTTPS proxy outside which uses username/password for authentication and i want to configure squid on ubuntu 12.10 to direct all connections which are not in it's cache to that proxy. how can ...
Hojat Taheri's user avatar
  • 5,409
2 votes
1 answer
12k views

Squid is not caching

I have been trying to install Squid version 3.1.20 on Ubuntu version 12.10 by entering sudo apt-get install squid, but the problem is the squid I installed it is not caching. I tried to browse to the ...
Surapong Termphantunun's user avatar
2 votes
1 answer
1k views

squid on ubuntu server stops working in specific time period for specific websites

I have newly set up a proxy server for about 210 users. It runs ubuntu server 2012 and squid3. The problem is just after 1:30 am, if the users try to open google.com, youtube.com, facebook.com or ...
Partha Ghosh's user avatar
2 votes
1 answer
702 views

How to modify config file from a separate file. Not symlink

I want to setup squid proxy. Would like to breakup the squid.conf file into two files. acl.conf rules.conf because squid.conf is so large and also easy to make mistake. I want to have these two files ...
bhaliti's user avatar
  • 21
2 votes
2 answers
7k views

Squid3 - Cannot write log file

Have trouble starting a newly installed squid (Squid 3.5.27 on Linux ubuntu-server 4.13.0-36-generic). Keep getting: $ squid WARNING: Cannot write log file: /var/log/squid/cache.log /var/log/squid/...
ElToro1966's user avatar
2 votes
1 answer
8k views

Squid Proxy Server self compiled installation - ssl_crtd helpers are crashing

I am trying to setup Squid-Proxy Server 3.5.26 from squid-cache.org with SSL-Dump configuration. Using the standard apt-get approach to installing Squid-Proxy did not include OpenSSL modules that are ...
maxhap's user avatar
  • 71
2 votes
1 answer
1k views

Restricting access to sites

I'm having some problems configuring my local proxy server so that it would restrict access to certain websites. The proxy server I'm using is Squid; I edited its configuration file found in /etc/...
Paul's user avatar
  • 1,165
2 votes
1 answer
5k views

Squid proxy won't cache anything (tcp_tunnel)

Squid on 18.04 server won't cache anything and the majority is tcp_tunnel/200 when I tail the access log and the cache log shows that nothing is cached. How can I get it to cache websites? Squid ...
Manzy's user avatar
  • 21
2 votes
3 answers
727 views

Adult content filtering / dansguardian / scripting language / without decrypting ssl

From reading lots and lots of web pages I've come to the conclusion that: to filter adult content (not block it completely) from https sites like Twitter I would need to setup something like ...
bananaman's user avatar
2 votes
1 answer
1k views

Apt proxy settings are not transmitting username/password

On a 12.04 server machine, I've got Apt configured to use a proxy to grab its packages. To wit, in /etc/apt.conf.d/80proxy, I have the two following lines: Acquire::http::Proxy "http://user:password@...
Mikey T.K.'s user avatar
2 votes
1 answer
781 views

how to remove squid to work as nat that already configured in ubuntu?

I'm running squid3 in my Ubuntu 14.04 and tried remote proxy use for study purposes . When I try remote access with another computer in the University LAN, I encounter empty cache log. So I have tried ...
NIMISHAN's user avatar
  • 1,575
2 votes
2 answers
5k views

How do I remove a site from squidGuard blacklist?

I have just installed squidguard in my server to restrict porn or adult site. I followed these instruction. It's working great. Problem is squiguard list(blacklist) youtube.com as porn site. I want ...
shantanu's user avatar
  • 8,589
2 votes
0 answers
2k views

squid : org.freedesktop.PolicyKit1 > was not provided by any .service

I tried to install squid but when try to restart squid I have the following error Failed to restart squid.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files See ...
Kevin's user avatar
  • 165
2 votes
2 answers
8k views

Squid3 Proxy Server ssl-bump blocking Web Socket connections

I have just set up Squid Server 3.5.26 on Ubuntu 16.04.2 LTS configured with SSL-bump. HTTP and HTTPS are working fine but any web service that requires Web Sockets fails, for example, a speed test. I ...
maxhap's user avatar
  • 71