Installing and configuring Squid and DansGuardian under FreeBSD

Installing and configuring FreeBSD as router is something most of us won’t do daily. It’s one of those jobs you do once, and when it’s up and running, you let your server / router do its work and you don’t touch it – unless there’s a problem.

Squid and DansGuardian are some excellent tools for caching and content filtering. Squid is a caching proxy  supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. DansGuardian is a web content filter. It filters the actual content of pages based on many methods including phrase matching, PICS filtering and URL filtering.

Since configuring Squid and DansGuardian is not something we daily do, the following tutorial may be useful: Installing and configuring Squid and DansGuardian under FreeBSD.

If you run pfSense, you can install Squid and DansGuardian too.

Another interesting tutorial is the one on creating plugins for FreeBSD’s new pkgng package management: Writing plugins for pkgns.

 

BSD Mag (Sep 2012): What’s new in PC-BSD 9.1

September’s issue of the BSD Magazine is now available: What’s new in PC-BSD 9.1 (free PDF download).

We are now living in an age of cloud computing and sharing content and news, privately and publicly. However, it seems cloud companies struggle to keep our data private and don’t seem to always respect users’ privacy, so why not set up your own cloud?

If you want to stay in control of your own data and share it only with those you want to share it with, have a look at ownCloud. Kris Moore from the PC-BSD Project has an article showing how to set up ownCloud on PC-BSD. Very useful.

You’ll find the following subjects inside the latest issue of BSD Mag:

What’s New in PC-BSD 9.1

PC-BSD 9.1 adds many new features, ranging from more graphical utilities available within Control Panel, a redesigned installer, a server installation wizard, and improved jail management. This article introduces these new features. PC-BSD 9.1 is expected to be released during September, 2012. This article introduces some of the new features of this release.

Setting up Your OwnCloud Instance via the Warden™

In this article we will be taking a look at the OwnCloud software, specifically how to do the initial installation and configuration inside a jail run by PC-BSD’s® jail management utility, the Warden™. First we will take a look at a setup done from a PC-BSD graphical interface, and then explore the same setup from the command-line using TrueOS™, the server version of PC-BSD.

Nmap: The Network Swiss Army Knife

Nmap (“Network Mapper”) is a GPL utility for network discovery and security auditing. Many systems and network administrators find it very useful for network inventory, monitoring hosts and services uptime, debugging network related problems, and many other tasks. From this article you will learn the basic functionalities of Nmap 6.

Unix IPC with Pipes

This article explains one of the earliest forms of inter-process communication (IPC) in Unix. Pipes were the original form of Unix IPC and were present in Third Edition of Unix (1973). They can only be used to communicate between related processes, but despite this limitation they still remain one of the most frequently employed mechanisms for IPC.

FreeBSD Enterprise Search with Apache Solr

Back office integration and cross platform search has always posed major challenges especially in large organizations with many legacy systems. With Apache Solr these barriers can be overcome and the power of enterprise search realised. In this new series the author will show you step by step how to commission an Apache Solr search engine.

Hardening FreeBSD with TrustedBSD and Mandatory Access Controls (MAC)

Most system administrators understand the need to lock down permissions for files and applications. In addition to these configuration options on FreeBSD, there are features provided by TrustedBSD that add additional layers of specific security controls to fine tune the operating system for multilevel security. By reading this article you will learn the configuration of the mac_bsdextended module and how to use the ugidfw utility

Interview with Jeroen van Nieuwenhuizen

Jeroen van Nieuwenhuizen was the chair of the EuroBSDcon 2011 organizing committee. Currently, he is one of the members of the EuroBSDcon Foundation board. He came in contact with Unix in 1997 and started to work with the BSDs in 2002. In his daily life Jeroen works as a Unix Consultant for Snow B.V. BSD Magazine asked him some questions regarding event organization and opportunities to participate in organizing EuroBSDcon.

BSD Magazine has also a “Best of 2011? issue available for purchase.

Messaging 10bn Whatsapps a day with FreeBSD

Whatsapp, the popular messaging startup, managed to record 10 billion messages in one day, comprising 6 billion outbound messages and 4 billion inbound messages.

WhatsApp Messenger is a cross-platform mobile messaging app which allows you to exchange messages without having to pay for SMS. WhatsApp Messenger is available for iPhone, BlackBerry, Android, Windows Phone and Nokia!

Whatsapp tweeted about their new milestone last week:

“new daily record: 4B inbound, 6B outbound = 10B total messages a day! #freebsd #erlang.”

The hashtags are references to the technology behind WhatsApp: the app was developed largely on the open source platform FreeBSD using the Erlang programming language originally written by Ericsson.

FreeBSD proves again it’s a great operating system for high demand services.

BSDTutorial youtube channel (videos)

I came across the BSD Tutorial channel on youtube that has some useful videos. They’re short and clear.

The following are related to managing and maintaining FreeBSD:

The website related to this channel is http://bsdtutorial.org

Miscelaneous FreeBSD news updates (Calligra, EC2, Dev’s Corner, GhostBSD)