Questions tagged [squid]
Squid is a proxy server and web cache daemon.
195
questions
0
votes
1
answer
26
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-...
0
votes
0
answers
59
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 ...
1
vote
1
answer
603
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 ...
1
vote
0
answers
41
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 ...
1
vote
0
answers
297
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 ...
0
votes
1
answer
221
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 ...
0
votes
0
answers
37
views
I am looking for a good domain block filter
Is there a domain block filter similar to ufdbguard?
UfdbGuard has not been updated for a long time and will not work properly on Ubuntu 22.04.
Do you have any good suggestions?
Best Regards!
1
vote
0
answers
68
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 ...
1
vote
1
answer
674
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
669
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 ...
0
votes
2
answers
73
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 ...
1
vote
1
answer
649
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
940
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 ...
-1
votes
1
answer
120
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
136
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
244
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
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 ...
0
votes
1
answer
88
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 ...
0
votes
0
answers
831
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
vote
0
answers
49
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 ...
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 ...
0
votes
1
answer
3k
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
194
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 ...
2
votes
1
answer
626
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 ...
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 ...
0
votes
0
answers
728
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
...
1
vote
0
answers
967
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
329
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
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 ...
0
votes
1
answer
181
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
118
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
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 # )
# ...
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| ...
0
votes
1
answer
241
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 ...
1
vote
1
answer
4k
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 ...
1
vote
0
answers
94
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, ...
2
votes
1
answer
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 ...
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 ...
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) ...
1
vote
1
answer
689
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
10k
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 ...
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
458
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
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
...
0
votes
0
answers
608
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 ...
0
votes
0
answers
642
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
168
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
6k
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
683
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 ...