Questions tagged [squid]

Squid is a FOSS package licensed under the GNU GPL and is primarily used as a web proxy server and cache.

Squid is a FOSS package licensed under the GNU GPL primarily used as a web proxy server and cache.

In addition to its primary usages for web proyying and caching, it supports FTP and has limited support for several other protocols, including TLS, SSL, HTTPS and Gopher.

It has a wide variety of uses, from speeding up a web server by caching repeated requests (reverse proxy); to caching web, DNS and other computer network lookups for a group of people sharing network resources (regular proxy); to improving security by filtering traffic (layer 7 firewall).

Squid's homepage is here, and its Wikipedia entry is here.

1363 questions
10
votes
1 answer

Squid3 not caching larger files

I try to use squid to cache rpm packages fetched from a yum repository. With the following configuration, it works well for a small rpms, but it would not cache larger ones like openjdk. From the log file (below), it seems that it does not cache…
fikovnik
  • 391
  • 2
  • 7
10
votes
2 answers

Configure Squid as an HTTPS forward proxy?

Here's some background about my problem: I have a web service running on Heroku, with a dynamic IP address. Static IPs on Heroku are not an option. I need to connect to an external web service which is behind a firewall. The people who operate the…
David
  • 163
  • 1
  • 2
  • 5
9
votes
4 answers

Nginx as a proxy server for a local network

I'm currently using squid as a proxy server for my local network, but I'm not entirely satisfied with it. Is Nginx also suitable for use as a proxy server on a local network? Is it actively being used for this purpose?
Hyperfocus
  • 1,147
  • 4
  • 13
  • 23
9
votes
2 answers

squid proxy overrides my host header, what can I do?

I have the following problem with squid: Some clients access concurrently 62 servers via a squid proxy. All servers have the same host name (www.example.com) but different public IPs (123.123.123.2 to 123.123.123.63). The server owner uses a kind of…
Chris
  • 235
  • 1
  • 4
  • 9
9
votes
1 answer

Squid as Socks5 Proxy server

One of my friends lives in a country which they censor websites and they are fighting with techniques that people use to bypass the censorship. He told me that the only way that he can bypass the censorship now is using SOCKS proxy (that country…
Bamdad Dashtban
  • 201
  • 1
  • 2
  • 4
9
votes
5 answers

Squid or Other HTTP Caches with SSD Cache Store?

I'm contemplating setting up a squid (or possibly varnish) cache on a system with SSD drives. The obvious benefit is that these systems have great READ speeds and I expect my hit ratios to be fairly high. Let's assume I can put 7 SSDs in to a RAID…
Joel K
  • 5,765
  • 2
  • 29
  • 34
8
votes
2 answers

Can Squid be used as "TLS termination proxy" to encrypt TCP connections using client certificates?

Abstract I need an encrypted TCP connection from multiple clients to a single port over the internet. Can this be realized with Squid? Concrete situation We use a monitoring and client management solution in our company which is accessible over…
marsh-wiggle
  • 2,075
  • 4
  • 26
  • 44
8
votes
4 answers

Allow a certain URL path with Squid

I'm using Squid 3.4 on Debian, and I want to know how to allow certain sub-URLs while banning the rest of them. Particularly, I want to ban access to reddit.com/* but allow access to reddit.com/r/foo/* and reddit.com/r/foo/ acl bad url_regex…
unsi
  • 81
  • 1
  • 1
  • 3
8
votes
7 answers

Why would I use Squid?

I have Googled, searched StackOverflow and here. Still I can not fully understand what or why someone would use Squid. All I can find out so far is that it is some sort of cache that can make it less work that your server (i.e. Apache) has to do. So…
JasonDavis
  • 2,658
  • 6
  • 25
  • 32
8
votes
2 answers

Squid not caching

I am trying to configure Squid as a caching server. I have a LAN where The webserver (apache) is at 192.168.122.11 squid is at 192.168.122.21 and my client is at 192.168.122.22. The problem is, when I look at Squid's access log, all I see are…
ACC
  • 249
  • 1
  • 4
  • 12
8
votes
2 answers

ACL allow IP range Squid

I'm using Squid and I want to know how to make a specific IP range of allowed connections, I use this acl permittedips src 77.86.72.49 http_access allow permittedips But I want to make an range that allows from 70.*.*.* to 90.*.*.*. How can I do…
MacMac
  • 1,931
  • 8
  • 30
  • 38
8
votes
3 answers

How do I log authentication attempts with samba?

I have users authenticating with squid (NTLM) to an Active Directory server using Samba 3.5.4 and I'd like to log users' login attempts. I'd like a line showing something like: TIMESTAMP username@DOMAIN SUCCESS/FAILURE
Harley
  • 2,177
  • 6
  • 25
  • 29
7
votes
2 answers

How can I cache YouTube videos with Squid Cache?

we're using the Squid cache in our company. Is there any way we can cache YouTube videos? cheers :)
Pure.Krome
  • 6,338
  • 17
  • 72
  • 86
7
votes
2 answers

squid and caching of dnf/yum downloads

Sorry if this is a newbie question. I try to describe the situation first, then the squid questin will come in. The current Fedora/Centos installations have in their normal configuration files in /etc/yum.repos.conf a metalink which looks like…
Mandragor
  • 221
  • 2
  • 11
7
votes
1 answer

"apt-get source" cannot find package but "apt-get install" and "apt-get cache" can find it

I'm trying to download the source of a package but when I run root@proxy:~# apt-get source squid3 Reading package lists... Done Building dependency tree Reading state information... Done E: Can not find version '3.3.8-1.1' of package 'squid3' E:…
Garrett R
  • 219
  • 2
  • 10
1
2
3
90 91