The tag has no usage guidance.

learn more… | top users | synonyms

5
votes
2answers
2k 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 ...
4
votes
2answers
9k 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
563 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
621 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
654 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 ...
3
votes
1answer
2k 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 ...
3
votes
1answer
130 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
3answers
96 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
824 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
4k 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 ...
3
votes
2answers
659 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 ...
2
votes
2answers
1k 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
1answer
564 views

how install freebsd in minimum size?

I want to install a FreeBSD just to use squid cache server on it. i want to know how can i make this installation to its minimum size? i installed the boot-only ISO file on virtual box, but it took ...
2
votes
1answer
182 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
205 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
12k 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
617 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
358 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
4k 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
306 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
2k 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
0answers
227 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
532 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
4k 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
5k 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
265 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
2answers
818 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
68 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
133 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
223 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
975 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
724 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
194 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
101 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
3k 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
774 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
540 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 ...
1
vote
0answers
35 views

Squid JavaScript injection problem [closed]

I got Squid up and running on my Debian machine. I tried connecting and it works, but the url_rewrite_program function does not work! Here is my Perl script: #!/usr/bin/perl $|=1; $count = 0; ...
1
vote
0answers
64 views

Can not divert packet to pf when configure transparent squid 3.4.13 on OpenBSD 5.7

I am trying to build transparent proxy with squid on OpenBSD 5.7 with pf firewall. I compile squid from sources with options: $ squid -v Squid Cache: Version **3.4.13** configure options: ...
1
vote
1answer
36 views

Local transparent proxy

In my workplace I'm using Debian Linux. It is, however, a Windows shop and recently they decided to install a proxy that needs my Windows domain credentials to use. I can only access the Internet ...
1
vote
1answer
79 views

Squid log flooded with 404 message

I'm running squid on a server and, sometimes, the log gets flooded with messages caused by a specific host (192.168.1.20). These message I'm refering to is (some.website.com is not the actual website, ...
1
vote
1answer
257 views

Squid with mac address filter acl

I am setting up Squid proxy with mac address acl. I have recompiled squid 3.5 rpm with --enable-arp, acl. But after configuring Squid.conf with mac address acl its unable to block access for unwanted ...
1
vote
0answers
73 views

Transparent proxy to other IP of thousand ports

I was bought a service that only allow a IP, the IP that i say, only one, but I need use this from more IP's. I think that I can install in this computer a system to do a transparent proxy for ...
1
vote
0answers
227 views

Make SSL certificate trusted in browser via SSL Bump Squid

my goal is to insert custom HTML injections in HTTPS pages. I've setup Squid with SSL Bump. I generated a self signed certificate. With this setup I'm getting client side warnings that the ...
1
vote
0answers
43 views

More Information Regarding Upload Restriction in Squid Server

I've used request_body_max_size 1024 KB command in my squid.conf file and it is working in restricting my upload of files larger than 1 MB when I try to upload through upload sites. But I want to ...