Language Selection

English French German Italian Portuguese Spanish

Squid site restrictions

Filed under
HowTos

In the office I needed a way to block some websites permanently and others outside of break times. After looking at some inline solutions I realised that I could easily do what was needed with squid alone. Here's how

I created the following ACLs in squid's config file :

acl blockedsites url_regex -i "/etc/squid/blocked.txt"
acl bannedsites url_regex -i "/etc/squid/banned.txt"

acl lunchtime time MTWHF 12:15-13:45

The I can apply these ACLs near the end of my squid ACL rules:

Full Story.

More in Tux Machines

Android Leftovers

today's howtos

Leftovers: Software

How to make Linux's desktop look good on high-resolution displays

Ultra-high-resolution displays with high pixel densities are all the rage now, and for good reason: They look amazing compared to conventional displays. The big problem for PC users is that a lot of software isn't designed with that level of pixel density in mind. If you're running GNOME 3 in Linux, your first boot will have you looking for your reading glasses. (Windows suffers from similar issues with high-DPI displays.) Luckily, you can save your eyes and enjoy that glorious screen you paid for with a few steps. This article will show you how to change the scaling settings for GNOME 3, Mozilla’s Firefox and Thunderbird, and Chromium. Read more