Hot answers tagged

2

Due to the fact that SSL is end-to-end encryption, a proxy such as Squid normally knows much less about an HTTPS request than it does on HTTP (http://wiki.squid-cache.org/Features/HTTPS#CONNECT_tunnel): [Many] common parts of the request URL do not exist in a CONNECT request: the URL scheme or protocol (e.g., http://, https://, ftp://, voip://, ...


2

By default the second column represents the time in milliseconds the request took: The native format for Squid The format is: time elapsed remotehost code/status bytes method URL rfc931 peerstatus/peerhost type See also http://wiki.squid-cache.org/Features/LogFormat for more details about the logformat.


1

Here you can find fine-tuned squid.conf for rpm caching: https://github.com/spacewalkproject/spacewalk/blob/master/proxy/installer/squid.conf You just should modify memory and port setting.


1

Three obvious things are wrong here. allow rules should come before deny. dstdom_regex only matches the hostname portion of the URL, everything else is ignored - you probably want a url_regex or urlpath_regex instead. dstdom_regex "/etc/squid/white.acl" does not do what you think it does. It does not load a file containing a bunch of acls. If you want to ...


1

Transparently proxying http traffic on port 80 is relatively simple - set up squid, and use iptables rules to direct all port 80 traffic to it. Works for other ports too. Transproxying encrypted https traffic is far more difficult. Impossible unless you performn a man-in-the-middle attack on the traffic and the certificate chain. You might want to look ...


1

In BSD netstat -p is protocol, whereas it is program in the netstat from net-tools, the BSD version appears to have no equivalent. man is almost always your friend in these cases. BSD has sockstat which gets you what you want but this is does not appear to be there on the OS X I have access to. As already mentioned lsof is probably your most cross ...


1

Listing the open files with -i should show you the ports in use lsof -i If there's too much output lsof -i | grep squid Works with Linux & OS X


1

After searching for more than a week, I found the solution in my way using html reports of sarg - Squid Analysis Report Generator, and extracting its data using simple bash script. sarg stores its data in /var/www/sarg directory. To generate monthly report we have to manually use this command: sarg -d 01/08/2015-31/08/2015. After this command I have ...


1

According to squid wiki page user data quota is under development (see below link). squish can be used to limit data per IP per month. (using squid) Features/Quota - Squid Web Proxy Wiki http://wiki.squid-cache.org/Features/Quota


1

Probably via a custom helper that squid would call, say http://wiki.squid-cache.org/Features/Redirectors that looks at the client IP, consults a database of how much bandwidth they've used (perhaps parsed from the squid logs by something else), and redirects them to a sorry page if over. This will probably require a bunch of coding, if such code does not yet ...



Only top voted, non community-wiki answers of a minimum length are eligible