Questions tagged [squid]

Squid is a proxy server and web cache daemon.

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

Want to block downloading files like .doc, .dat, .mp3, .wav, .avi .rar, .exe using squid Proxy in Ubuntu 22.04

I want to block downloading files like .doc, .dat, .mp3, .wav, .avi .rar, .exe using squid Proxy in Ubuntu 22.04 but unable to do already tried many option with urlpath_regex parameter. Examples are ...
Kundan Singh's user avatar
0 votes
0 answers
21 views

How to manage squid proxy

I have set up a squid proxy, which is working fine. However I want to know how to manage the squid proxy. Monitoring things like which hosts uses the proxy the most, amount of traffic, that kind of ...
Tom's user avatar
  • 1
0 votes
0 answers
95 views

Fix Squid: Your cache is running out of filedescriptors error

Running Ubuntu 20.04 with the latest version of Squid Proxy I followed this article: When building a proxy server on ubuntu, please tell me about the parameters that need to be tuned in relation to ...
bacjac38's user avatar
0 votes
1 answer
36 views

Unable to access archive/ or security.ubuntu.com

Our squid proxy server can no longer access the internet in AWS. When trying to apt-get update: root@ip-172-31-76-59:/home/ubuntu# apt-get update Err:1 http://security.ubuntu.com/ubuntu bionic-...
bacjac38's user avatar
0 votes
0 answers
83 views

squid url_regex not working

I'm using squid on our Citrix Servers as Proxy Server and only some domains are allowed. But now I want only the URL https://ec.europa.eu/taxation_customs/dds2/seed/seed_consultation.jsp?Lang=fr to ...
viglu's user avatar
  • 1
1 vote
1 answer
2k views

Squid Proxy and Certificate problem

Recently i installed squid proxy on Ubuntu 18.04 and it was working fine for the http requests , but i faced a problem with some applications that require https connection , so i downloaded the source ...
sam's user avatar
  • 11
1 vote
0 answers
58 views

SQUID on Ubuntu 20.04 Server - Swap Directory - Permission denies

I am just setting up a new proxy server and struggle to get the swap directory pointing to another point rather than the original one. The system is configured to run all latest updates from Ubuntu ...
Dirk Weihrauch's user avatar
1 vote
0 answers
509 views

Usable squid version for Ubuntu Server 22.04.2 LTS

I use Ubuntu Server 22.04.2 LTS with latest patch level. The server ist used as a squid - proxy server. Squid version is 5.2-1ubuntu4.3 https://launchpad.net/ubuntu/+source/squid/5.2-1ubuntu4.3 Even ...
Hans Hart's user avatar
0 votes
1 answer
567 views

When building a proxy server on ubuntu, please tell me about the parameters that need to be tuned in relation to the OS system

When building a proxy server on ubuntu, please tell me about the parameters that need to be tuned in relation to the OS system. I am migrating squid running on redhat linux to ubuntu. The settings set ...
shige's user avatar
  • 1
1 vote
0 answers
95 views

Trying to route proxy connection through squid and then anonsurf

I am trying to route my proxy connection from squid through anonsurf on Ubuntu 18.04 LTS . It does not work when I enable anonsurf anymore. (I have squid and anonsurf both running on my Ubuntu 18.04 ...
UBUNTU-NOOB 's user avatar
1 vote
1 answer
903 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-...
michaels2408's user avatar
0 votes
0 answers
1k 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 ...
HannesS's user avatar
  • 113
0 votes
2 answers
74 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 ...
Ruyaz's user avatar
  • 13
1 vote
1 answer
910 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: "......
Thomas P's user avatar
  • 108
1 vote
1 answer
1k 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 ...
Ido Segal's user avatar
  • 141
-1 votes
1 answer
157 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 ...
Massimiliano's user avatar
0 votes
0 answers
163 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 ...
Baron_Ba3ba3's user avatar
1 vote
0 answers
264 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 ...
Nicholas Yoannou's user avatar
0 votes
1 answer
2k 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 ...
SeAlGhz's user avatar
  • 43
0 votes
1 answer
109 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 ...
HCSF's user avatar
  • 151
0 votes
0 answers
982 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 ...
Anton's user avatar
  • 1
1 vote
0 answers
52 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 ...
bbt78's user avatar
  • 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 ...
codlord's user avatar
  • 2,486
1 vote
1 answer
4k 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/...
AliMahdavi's user avatar
1 vote
0 answers
223 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 ...
thomas5's user avatar
  • 101
2 votes
1 answer
694 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
0 votes
1 answer
2k 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 ...
simsim2020's user avatar
0 votes
0 answers
812 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 ...
Kokizzu's user avatar
  • 499
1 vote
0 answers
1k 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 ...
CaptainCodeman's user avatar
0 votes
0 answers
357 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 ...
Hanes's user avatar
  • 1
1 vote
1 answer
1k 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 ...
NK_'s user avatar
  • 317
0 votes
1 answer
208 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 ...
Jaime Roman's user avatar
0 votes
1 answer
122 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....
Дмитрий Стародубцев's user avatar
0 votes
1 answer
9k 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 # ) # ...
Korenron's user avatar
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
0 votes
1 answer
261 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 ...
Chris's user avatar
  • 15
1 vote
1 answer
5k views

Error upon starting Squid Proxy Server using the command "sudo squid -z"

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 ...
alyssaeliyah's user avatar
1 vote
0 answers
96 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, ...
shiu'sho's user avatar
  • 427
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
0 votes
1 answer
55 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 ...
Bar's user avatar
  • 33
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) ...
sibaz's user avatar
  • 783
1 vote
1 answer
699 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 ...
Kunal Shah's user avatar
0 votes
1 answer
11k 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 ...
zo_av's user avatar
  • 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 ?
S.Ferdous's user avatar
1 vote
0 answers
475 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 ...
Toi Lee's user avatar
  • 11
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,983
0 votes
0 answers
630 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 ...
Max M.'s user avatar
  • 1
0 votes
0 answers
658 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 ...
user871199's user avatar
0 votes
1 answer
169 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 ...
Ahmed Nawaz Khan's user avatar
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 ...
tango.zopo's user avatar