Questions tagged [squid]

Squid is a Proxy Server for Linux.

Squid is a Proxy Server for Linux that supports:

  • Blocking Sites by Domain per MAC Address
  • Blocking Sites by Time and Date
  • Blocking Sites by Domain
  • Reverse Proxy Support
  • Proxy Authentication Support
  • SSL Certificate Bumpping
179 questions
15
votes
2 answers

How to make netcat use an existing HTTP proxy

I can access a web page just fine by directly hitting my web server as follows: $ echo "GET /sample" | nc web-server 80 This is contents of /sample... $ Now, I would like netcat to go via a Squid HTTP proxy (listening on port 3128), much like I can…
Harry
  • 802
  • 2
  • 9
  • 21
14
votes
3 answers

Is there any command-line, generic HTTP proxy (like Squid)?

I can easily use Netcat (or, Socat) to capture traffic between my browser and a specific host:port. But for Linux, does there exist any command-line counterpart of a Squid-like HTTP proxy that I can use to capture traffic between my HTTP client…
Harry
  • 802
  • 2
  • 9
  • 21
7
votes
2 answers

Can I easily make a host "mirror" that caches downloaded Debian packages?

We've got a Squid web cache set up that is used for caching package downloads, so that all the machines here don't have to independently redownload everything. The installer prompts for a mirror and proxy. As long as every machine uses the exact…
derobert
  • 107,579
  • 20
  • 231
  • 279
6
votes
2 answers

How I can configure w3m to use squid proxy (or any proxy) by default when invoked by a specific user?

Can I configure w3m to use Squid by default when invoked by a specific user in a bash login shell? I've looked inside the w3m configuration file, but I don't see any setting were I can set squid as the default proxy.
VaTo
  • 3,071
  • 3
  • 18
  • 47
6
votes
1 answer

Where to supply authentication details to the Network Proxy (Central Proxy) on Fedora?

My system is running Fedora 16 and I live in a campus where we use LAN to connect to the Internet. And for this, we use an http proxy with authentication (username & password). I tried putting the proxyaddress:port in the Network Proxy settings…
Vishnu
  • 163
  • 1
  • 5
6
votes
4 answers

How to create an on-demand RPM mirror

I would like to create an RPM repository for Fedora packages on my local network. Due to storage limitations, I want the repository to be empty initially and download packages once they are accessed. Background I work a lot with local VMs. Anytime I…
Yevgeniy
  • 161
  • 1
  • 4
5
votes
1 answer

What's the difference between SSH and Squid when using them as proxies?

I've been using Squid on one of my server as a transparent proxy for a very long time (years). Basically from the client I was creating an SSH tunnel between my client and the ssh + Squid server doing this: ssh -T -N -x -C -L3128:127.0.0.1:3128…
Cedric Martin
  • 2,777
  • 6
  • 28
  • 32
5
votes
1 answer

Bond two Internet connections of varying quality

I live in a remote part of the country, Internet-wise. I utilize a satellite based Internet, but it's having many problems during peak traffic times. I have researched a bit and found Ubuntu Bonding. If I build a Linux PC and connect my satellite…
Erik
  • 208
  • 2
  • 6
5
votes
1 answer

What does each line mean in squid3

In Ubuntu, I have been watching a file, using the following command: tail -f /var/log/squid3/access.log And I am getting the following info back, but what does it mean? 1447666725.917 6820 192.168.0.200 TCP_MISS/200 917 POST…
Kevdog777
  • 3,194
  • 18
  • 43
  • 64
4
votes
1 answer

How to setup iptables rules to allow skype

Here are my iptables rules to allow Squid to connect to a web server: # Accept internally-requested input iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT #http,https traffic only through Squid - nobody user iptables -A OUTPUT -p…
user4035
  • 1,065
  • 2
  • 14
  • 35
4
votes
1 answer

tproxy per user

I'm in the process of adding some parental control to my box (http filtering). The box is used by the whole family (one account for each member) and squid runs on the very same machine. I have two squid instances, one (for adults) only for caching,…
cadrian
  • 236
  • 1
  • 8
4
votes
3 answers

Setting up squid transparent proxy with SSL bumping on Debian 10

Debian 10 with squid working as a transparent proxy. Now want to add SSL. # apt-get install openssl # mkdir -p /etc/squid/cert # cd /etc/squid/cert # openssl req -new -newkey rsa:4096 -sha256 -days 365 -nodes -x509 -keyout myCA.pem -out myCA.pem #…
Richard Barraclough
  • 405
  • 1
  • 5
  • 22
4
votes
4 answers

How to capture images transferred via HTTP?

I have multiple browsers and I want save all images with size more than 30KB and save to specified address. What is best way? listen to tcpdump and read the content, and then save to a file, or use something like squid I think tcpdump is better…
Mohammad Efazati
  • 792
  • 8
  • 16
4
votes
3 answers

squid: Illegal Instruction (core dumped)

OS: Oracle Solaris 11.3.1.5.2, CPU Arch : X86 I recently installed Squid by doing $ pkg install squid This went fine: root@darwin1:~# pkg info squid Name: web/proxy/squid Summary: Squid Web Proxy Cache Description: Squid is a…
peterh
  • 924
  • 1
  • 8
  • 17
4
votes
2 answers

How do I configure a transparent proxy where the proxy server is remote?

What I am trying to acheive I have a CentOS (6.8) box 1.1.1.1 and a remote squid proxy server 2.2.2.2 I am trying to emulate the results of curl http://google.com -x 2.2.2.2:3128 with applications that don't have a HTTP proxy option, and don't…
1
2 3
11 12