Questions tagged [squid]

Squid is a proxy server and web cache daemon.

Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

Squid 5.2 Ubuntu 22.04 LTS keeps crashing

I am running Squid 5.2 installed using apt on Ubuntu 22.04 Jammy LTS. This is in a virtual KVM machine with 75GB drive and 6GB of RAM and dual-core AMD Epyc. This build is running on a Synology NAS DS-...
0 votes
0 answers
35 views

Squid Proxy - Error 407 - Simple Authentication NCSA

when running squid (4.10, installed from apt or 5.6 from docker ubuntu/squid:latest) and adding a simple user authentication, all requests are dropped by squid with HTTP 407. The purpose is to have a ...
  • 113
0 votes
0 answers
15 views

Squid-proxy: Automate a whitelist domains using ansible

How to set a whitelist to allow only domains in this list through ansible? PS. there is already a list of allowed domains but every time I want to add a new domain, I have to SSH on the machine and ...
0 votes
2 answers
70 views

Add directory before word contain extension .txt

I have a file named acl.txt acl test1 dstdomain web.txt acl test2 dstdom_regex domain.txt acl test3 dstdomain .facebook.com http_access deny test1 http_access deny test2 http_access deny test3 This ...
  • 13
1 vote
1 answer
337 views

Update Squid on Ubuntu Server 22.04 LTS

I installed squid (v. 5.2) on a fresh Ubuntu Server 22.04 LTS, but we see a lot of aborted downloads together with error messages in in squids log files. The info from squid mailing list was: "......
1 vote
1 answer
587 views

CURL with proxy isn't working

I have Squid proxy installed on Ubuntu 20.4 LTS. The squid is listening on port 8118. When I'm testing it with curl -x localhost:8118 https://api.ipify.org/?format=json It's getting stuck. When I'm ...
  • 141
0 votes
0 answers
418 views

Squid Transparent **HTTPS** Proxy not starting

My goal is to transparently intercept HTTP and HTTPS requests by using custom certificates and the following configuration: acl clients src 192.168.160.0/24 http_access allow localhost http_access ...
-1 votes
1 answer
73 views

Can i keep SQUID 3.5.12 of 2015 in server UBUNTU 18 ? if i upgrade from UBUNTU 16

i have a Linux UBUNTU 16 to update and possibly to upgrade and bring to UBUNTU 18.04 root@tortella1:~# cat /etc/issue Ubuntu 16.04.4 LTS root@tortella1:~# squid -v Squid Cache: Version 3.5.12 Service ...
0 votes
0 answers
92 views

SQUID Ubuntu - Can you connect to a Squid proxy from another network

I've been playing with Squid in Ubuntu to set up a proxy server I can use when I'm out of the country. I was able to set it up so that any device in the proxy's network can connect through it, but ...
1 vote
0 answers
171 views

Squid Proxy Problem

Hi Stackoverflow Community Having a little problem with Squid proxy. For some reason, it won't establish a connection from my computer to the proxy. I'm using Proxifier Portable to establish the ...
0 votes
1 answer
1k views

does ping work behind squid proxy?

I wonder if it is possible to use ping command behind a proxy? I'm really confused because this page says: how does ping work over proxy? that it is not possible to use ping command behind proxy. but ...
  • 43
0 votes
1 answer
53 views

Missing File in a Package? [duplicate]

I used to have squid installed. And I wanted to clean up to have the default config. I did: apt remove squid --auto-remove Reading package lists... Done Building dependency tree Reading state ...
  • 101
0 votes
0 answers
523 views

Cannot Start Service Squid in Ubuntu Server

Squid I'm trying to start my service in squid start but somehow it occurs like: /etc/init.d/squid 192: --pidfile : not found /etc/init.d/squid 194" --exec : not found the squid is already running ...
  • 1
1 vote
0 answers
47 views

Update Ubuntu behind proxy [duplicate]

I have a PC with Ubuntu 20.04. This PC is behind a Squid proxy. I want to update it. I tried both graphic and cli commands but it is impossible. If I add proxy parameters to Network I can browse the ...
  • 11
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 ...
  • 1,754
0 votes
1 answer
2k views

Docker Misbehaving on ubuntu 18.04 behind squid proxy

I have 3 servers behind an squid proxy. On all of them , proxy works without any problem for all sites , but, http://registry-1.docker.io , works just on one of the servers. All /etc/hosts and /etc/...
1 vote
0 answers
137 views

Squid external_acl_type configuration

Hey i am trying to implement a custom authentication for squid. I am not too sure what is wrong with the code below. It never checks with the python script and just let proxy requests through. Dont ...
  • 101
2 votes
1 answer
520 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 ...
  • 21
0 votes
1 answer
1k views

Squid on Ubuntu 20.04 installation problem, acl command not found

I'm new to Linux so please be patient with me. I am following this guide on phoenixnap.com to set up squid. Squid successfully installed & is running. However, acl localnet src 192.168.0.15, or ...
0 votes
0 answers
631 views

Squid4 does not write access.log

I'm following this guide for the installation with config for running sudo /usr/sbin/squid -YC --foreground -f /opt/conf/squid/squid.conf acl localnet src 10.0.0.0/8 acl localnet src 172.16.0.0/12 ...
  • 445
1 vote
0 answers
847 views

Configuring multiple proxies on one server

Let's say we have 3 laptops, each needing a proxy server in order to bypass a firewall restriction. We need each laptop to have a different IP when accessing 3rd party websites. One way to do this ...
0 votes
0 answers
278 views

Internet is Slow Thru squid proxy when GPO Applied to server

I have this problem when GPO applied to workstations with squid proxy on the browsers the internet is slow. I tried a sudo net.ipv6.conf.all.disable_ipv6=1 sudo net.ipv6.conf.default.disable_ipv6=1 ...
  • 1
1 vote
1 answer
974 views

Bypass ISP Restrictions - Squid Proxy on Google Cloud

My aim is to bypass ISP restrictions. In Turkey, a lot of sites are restricted (including Wikipedia). Of course there are a lot bypass methods, like buying a VPN account, using Opera with VPN, etc. I ...
  • 177
0 votes
1 answer
161 views

Squid as cache proxy

The only internet connection I have is through mobile data, although I have an unlimited use in the browsers for the cache, to optimize the bandwidth and not have to be downloading the css and js ...
0 votes
1 answer
108 views

Can't add domain to resolv.conf on Ubuntu 18.10

Im trying to setup Squid 4.8 on new server. As i understand cat /etc/resolv.conf should contain nameserver, search and domain rows. I've added nameservers and search to /etc/netplan/50-cloud-init....
0 votes
1 answer
7k views

Squid as the https proxy not working

I'm trying to run squid proxy I have tried to do as it said here : https://www.tecmint.com/install-squid-in-ubuntu/ but it isn't working. This is my squid.conf : (all other lines are # ) # ...
3 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| ...
0 votes
1 answer
201 views

New virtual hyperv ubuntu 18.04 server installed but wget command not working?

I'm trying to use the wget command to download squid server from this link http://www.squid-cache.org/Versions/...-3.5.27.tar.gz. However I'm getting this "HTTP request sent, awaiting response... 404 ...
  • 15
1 vote
1 answer
3k views

Squid Proxy Server Error : Upon Starting

I got this error upon starting Squid Proxy Server using the command sudo squid -z fatal: ipc::mem::segment::create failed to shm_open(/squid-cf__metadata.shm): 13 permission denied How shall I fix ...
1 vote
0 answers
91 views

Trying to set up VPS as a proxy servering using squid

I am completely new to Linux, just bought a VPS for a purpose of setting it as a proxy server, I am this guide to do so. I get stuck at the 3rd section where it says: "Using Squid's access control, ...
  • 397
2 votes
0 answers
4k 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 ...
  • 21
0 votes
1 answer
54 views

simulate geographic distance between servers

I want to simulate geographic distance, so I need to add delay to each receive/transfer package. I read that squid could help me find what I'm looking for, however, playing with its configuration ...
  • 23
0 votes
1 answer
1k views

How do I apt-get source squid on Xenial and rebuild the package

I've installed squid using apt-get install squid, and it's installed squid 3.x. However I need to compile --with-openssl however when I attempt apt-get source squid it redirects to the squid3 (dummy) ...
  • 783
1 vote
1 answer
653 views

how to configure squid to use ssh tunnel for external sites?

I have a setup where I have ubuntu as squid proxy server at my home. All computers and ipad at my home use that ubuntu as proxy server. Now I want squid to redirect all request to ec2 instance for ...
0 votes
1 answer
9k views

Squid Proxy - The requested URL could not be retrieved

I'm trying to redirect all of my subnet traffic to a squid proxy using iptables on the router gateway (the squid proxy is located in the LAN). The redirection works (cache & access file respond ...
  • 1
0 votes
1 answer
1k views

Squid proxy user verification

I want to setup squid on my home pc where many people uses the same pc. What can i do to verify users based on their account on the pc ?
1 vote
0 answers
432 views

Routing LAN through proxy

I need help to route LAN address back to internal network via a Squid(Proxy) box. How can I forward this traffic through SQUID with 2 interface? I need this rule go from load balancer into eth0 and ...
  • 11
10 votes
1 answer
30k 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 ...
  • 1,793
0 votes
0 answers
546 views

URL whitelist without proxy behind Squid?

Long story short, I'm searching for a tool or config that blocks all network traffic except whitelisted ones and works without a own proxy. In my institution every device that wants to connect to ...
  • 1
0 votes
0 answers
601 views

Compiling/Installing squid with SSL_BUMP

My understanding is Ubuntu repository does not contain squid configured/compiled with SSL_BUMP. So I did download the sources and compiled the sources. No issues so far. I would like to install the ...
0 votes
1 answer
167 views

What Ubuntu type to use to setup proxy server

I want to have a dedicated Proxy Server for my local network. What Ubuntu type, for example Ubuntu Server or Ubuntu Desktop should be used for this specific person. please help with some details and ...
1 vote
0 answers
1k views

Ubuntu Server 16.04 Squid Proxy authentication with 2 NIC setup

I have an Ubuntu proxy running server 16.04, squid 3.5.12 and NCSA. The server has two NICs, one connected to internet router, eno1 with IP 192.168.1.2/24 and another connected to client LAN, eno2 ...
2 votes
2 answers
5k 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/...
0 votes
1 answer
677 views

Website blocking issue in squid3 on ubuntu 12.04 [closed]

I am trying to block some websites on my ubuntu 12.04 with Squid 3.1.19. Following is a view of my ACL's.` Denying domains based on defind access list acl ym dstdomain .yahoo.com microsoft.com ...
-1 votes
1 answer
2k views

Squid3 not installing on ubuntu 17

Hi i am new to ubuntu and hear from some one that installing squid on ubuntu will improve my client computers browsing experience. Since i am new to ubuntu and not known too much about this OS, i ...
0 votes
1 answer
1k views

How to use squid 3.5 in ubuntu 16.04

I'm trying to use squid proxy server in my lab but the video that are available on the youtube are old so kindly guide me install and configure Squid Proxy 3.5 on Ubuntu 16.04 LTS. And one more thing ...
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 ...
  • 165
1 vote
1 answer
728 views

sudo apt-get install not working after deleting squid and iptables

I am facing issues with running apt-get update and apt-get install on my system. This is after deleting squid, iptables and dansguardian. I was trying to install DansGuardian, and ran the following ...
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 ...
  • 141
4 votes
0 answers
346 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....