The tag has no usage guidance.

learn more… | top users | synonyms

6
votes
2answers
3k views

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 ...
5
votes
2answers
12k views

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 ...
4
votes
1answer
3k views

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 ...
4
votes
1answer
1k views

How can we make Squid do a reverse nslookup?

We all know that access.log file logs the access Info of Squid: 1286536351.746 41762 192.168.1.17 TCP_MISS/200 5340945 GET http://v15.lscache3.c.youtube.com/videoplayback? - DIRECT/122.160.120.150 ...
4
votes
1answer
665 views

automatic proxy selecting depending on target

Situation: ISP with proxy server local TOR service I would like to automatically let all .onion-domain traffic go to the local TOR-service and all other traffic to the ISP proxy (am using TOR only ...
4
votes
1answer
842 views

tproxy per user

I'm in the process of adding some parental control to my box (http filtering), but I'm something of a nOOb when it comes to network configuration :-( The box is used by the whole family (one account ...
4
votes
4answers
2k views

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 ...
4
votes
2answers
746 views

Policy routing with load balanced ppp connections

This my setup using Debian 6.0. 6. It's role is a proxy server and a load balancer using eight 3G modems. Whenever a ppp connection dials it takes over the default gateway which is ok but it also ...
3
votes
1answer
832 views

How to install FreeBSD in minimum size?

I want to install FreeBSD to run a squid cache server on it. I want to know how can I can make this installation as small as possible? I installed the boot-only ISO file on virtual box, but it took ...
3
votes
1answer
162 views

Squid doesn't block non-ascii domans

I have the following lines in /etc/squid/squid.conf: acl bad_url url_regex "/etc/squid/block.acl" http_access deny bad_url All of the urls in block.acl must be blocked by the proxy server. It works ...
3
votes
4answers
842 views

Set monthly data limit for internet proxy (squid) users

We are using a squid proxy server (version 3.1.4) in our office environment on linux box. In total we are approximately 20 users and all are in one network and we have internet plan of 25GB/month. Now ...
3
votes
1answer
117 views

How to change Squid service UID in FreeBSD?

Strangely enough, it appears that Squid cannot start if the squid user is not affected to the UID 100. When trying to use another PID, the service systematically fails to start with the following ...
3
votes
1answer
918 views

squid - ssl bump

I have squid configured to bump SSL connections; however, when I configure my browser to use squid as a proxy, it doesn't actually do any SSL bumping. When I check the certificate, I can see it is ...
3
votes
1answer
5k views

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 ...
2
votes
2answers
2k views

squid access.log delete entries older than 6 months

Squid generates a log of the accessed sites by the users. I want to delete the entries in the /var/squid/logs/access.log, which are older than 6 months. I would execute the script each week. I have ...
2
votes
2answers
80 views

What Port is Squid Running on in OS X/BSD

I've recently starting playing around with the Squid caching server on my OS X based computer. I'm curious if there's a way to tell which port Squid is running on using netstat or other standard unix ...
2
votes
1answer
230 views

unexpected squid behaviour (cache for openSUSE updates)

With no previous experience I have just set up a squid proxy. Its only purpose is to prevent that all the Linux systems (openSUSE) download their updates from the Internet. A proxy can easily be ...
2
votes
1answer
270 views

is squid 2.x configuration still roughly the same as for squid 3.x?

I have the o'reilly squid book which covers squid 2.x - will this book still be useful for me to configure squid 3.x, or has too much changed between the versions? Is there any documentation ...
2
votes
3answers
13k views

Transparent proxy with squid 3.1 on RHEL 6

We have nearly 50 systems with windows XP and have Linux (RHEL6) for server. Also have squid 3.1 , Samba and Apache for local use. Under proxy, VPN and outlook express does not connected. I heard ...
2
votes
2answers
679 views

Transparent local proxy to many proxies

In Firefox is add-on FoxyProxy, which makes possible use many proxy with filtering URLs. I need it for any browser, but in many of them it is only possible to set one proxy server. I need a ...
2
votes
1answer
1k views

How to auto-restart squid on ubuntu!

I have a Ubuntu Home edition set-up as DHCP and Squid proxy, but whenever I reboot my system, I have to restart squid in order for others to start browsing! Is there anyway I can make squid to restart ...
2
votes
1answer
162 views

how to create a on-demand rpm mirror

i would like to create a 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. ...
2
votes
1answer
715 views

Squid3 failing to install via apt

I am trying to update squid3 on my Debian Wheezy box, via apt-get. When I run the upgrade, it's the only package that does not install. # apt-get upgrade -y Reading package lists... Done Building ...
2
votes
1answer
3k views

trying to setup cntlm on ubuntu for NTLM authentication

I am trying to setup cntlm on ubuntu13 for NTLM authentication. I used apt-get install to setup ctlm. My cntlm.conf file in the etc directory is copied below - the username/domain and password are ...
2
votes
1answer
5k views

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 ...
2
votes
1answer
338 views

What are the key differences between “SSH tunnels” and “Squid reverse IPs” in regards to web page scraping and private browsing?

What are the key differences between "SSH tunnels" and "Squid reverse IPs" in regards to web page scraping and private browsing? Interested to know if there are any differences between using "SSH ...
2
votes
1answer
3k views

Sarg report error

I have a proxy server that runs Ubuntu Server 11.10, Squid 2.7.STABLE9. I installed sarg (version 2.3.1 Sep-18-2010) to generate reports using the ordinary apt-get install, and added a cron job to ...
2
votes
1answer
15 views

How to pass certain URL to parent proxy in squid?

I would like to retrieve certain sites or domains via uplink proxy in squid. I would like to have a list of such sites. How to do that? I see directive always_direct, but I need opposite: pass all ...
2
votes
0answers
283 views

Squid cache problem

If I put in my test_site acl (deny access policy) a site (i.e, www.aaabbbccc.com) which nobody ever accessed and do a squid -k reconfigure, Squid then appears to correctly log the site. I then ...
2
votes
0answers
707 views

Why does my squid cache never get any hits?

I have set up a squid cache on a portable 3G/wifi router I've built. The proxy works, but I only ever see TCP_MISS, with a very rare TCP_MEM_HIT I've never tried this before, and this is the ...
1
vote
1answer
6k views

Squid: how can I block plus.google.com, allowing access to google.com

1.I have the following block.acl file in squid: .* It disallows access to everything by default. 2.white.acl allows access to google: google\..* I wanted to disallow access to plus.google.com ...
1
vote
1answer
7k views

How to redirect to my squid proxy using iptables since DNAT target: only valid in nat table

I want to redirect the traffic in my lan network through squid proxy but I am having some problems with iptables rules. When I use the following rule: # iptables -I FORWARD -s ...
1
vote
1answer
285 views

Squid transparency except for SSL/HTTPS

How would you set up squid so that everything else is transparent (e.g FTP, HTTP, etc.) except for SSL/HTTPS which needs to be set manually? Will I need to change my firewall rules?
1
vote
1answer
131 views

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 ...
1
vote
2answers
4k views

Pages don't get blocked with Squid over HTTPS

I have set up Squid to block pages on my own system (i.e not on a network), and I'm trying to get SSL to work with page blocking. To this end, I've set up ssl-bump and installed the certificate to my ...
1
vote
1answer
80 views

After apt-get update and upgrade, do I need to recompile and re-install software that I did not install via apt-get install?

In particular, I noticed that my OpenSSL has been upgraded after a system update via sudo apt-get update and sudo apt-get upgrade. As I installed my Squid server by manually compiling, configuring ...
1
vote
2answers
151 views

Setting up traffic router (proxy ?) for production

I am running a production server and my web application is running at port 8099. so if front end wants to access any backend endpoint, they make a call to this url: ...
1
vote
1answer
273 views

Can't block google logo in squid

I wanted to block google logo via Squid proxy: So I added this line to block.acl: google\..+/logos/.+ in squid.conf I have this: acl bad_domain dstdom_regex "/etc/squid/block.acl" acl ...
1
vote
1answer
1k views

Sharing bandwidth between IPs

There are 200 users in my network, and these users are in two AD groups and cannot set specific IP ranges for each group. I want to set, for each group, the amount of bandwidth that can be shared ...
1
vote
2answers
752 views

squid (reverse proxy) configuration

I would like to configure squid in such way, so that only specific (public) ip (reverse proxy), could connect to the server, but I don't know how... can someone tell me how to do this?
1
vote
1answer
132 views

Squid: how to block a website, but allow access to certain folders

I want to block gstatic.com website in Squid, but allow access to gstatic.com/recaptcha/*. When I write this in the white list: gstatic\.com/recaptcha/* it doesn't work. When I write the domain ...
1
vote
1answer
205 views

Can I setup a local transparent proxy to forward requests to another another web proxy

I would like to set up a local Linux system to tunnel all http/https requests transparently through a corporate proxy. Many scripts honor http_proxy environment variables but some don't and it is a ...
1
vote
1answer
462 views

How to handle repetitive download of some specific large files that come from the internet

We are going to offer an App which will allow our customers to download some sort of audio guide for the castle I work for. I would really like to not have every user who downloads the App (through ...
1
vote
1answer
114 views

CentOS Traffic Filter

I am trying to use Squid to filter the traffic flowing through the network. I am also trying to make this system transparent. My network setup is like so: Router -> CentOS Machine -> The rest ...
1
vote
1answer
1k views

SARG with no records found

I want to use sarg tool in linux centOS to report users using website. But when installed, and when Iuse command sarg -x -z, the output is: SARG: Init SARG: Loading configuration from ...
1
vote
1answer
4k views

What is the correct way of setting up a Squid Proxy in front of wireless router

We are a small office of 20 users. Our current network is like below. We have a static IP on the Wireless Router's WAN port. Local network <-> Wireless Router <-> Cable Internet I want ...
1
vote
1answer
1k views

Squid block site except for some pages

I have Squid proxy server installed on my machine. I created a file /etc/squid/block.acl, where all the bad domains are written. And added the following statement to squid.conf: acl bad_url url_regex ...
1
vote
2answers
2k views

How to setup squid simplest way for safe proxy?

I have installed squid on my remote linux box and added my desktop's IP as acl lagrangian64 src XX.XX.XX.XX/32 in squid config. Also I have added lagrangian64 to the following line: http_access ...
1
vote
2answers
735 views

Restricting access to yahoo.com in elinks using squid

I need to restrict access to yahoo.com and all its subdomains in elinks. I must use squid but I don't know how to configure it. Can anybody help me because I am new to Linux.
1
vote
1answer
4k views

Multiple ACLs in Squid Proxy

Here is my Squid configuration file. I would like to give specific users access to specific web content, But through this configuration file, if I give permission for a specific user to access the ...