Traffic Shaping with pfSense and HFSC (video)

This screencast demonstrates the use of a pfSense device for traffic shaping on a typical home network, with the goals of minimizing latency and maximizing throughput. In particular, we use a three-tier queue configuration where a parent speedboost queue on each interface contains leaf queues that catch all the traffic. The speedboost queues use HFSC’s non-linear service curve to match the behavior of the comcast speedboost. The leaf queues are configured to partition the available bandwidth, and automatically allow ‘borrowing’ when there is no contention.


Section links:

  • Installation / Setup: 3min:01sec
  • Monitoring: 6min:30sec
  • Traffic Shaping: 15min:34sec
pc-bsd logo 100x100

New PC-BSD development snapshot – 2012/06/22

Yet it seems there is no official announcment for this snapshot, but you can find on PC-BSD mirrors page a new release !

It’s the release of the 2012-06-22, there is no changelog/readme so I can’t tell what’s new exactly in, but I’m sure there is a lot of bug fixes !

You can get the iso/usb images by choosing a mirror on this page : http://www.pcbsd.org/getmirrors.php?url=9-STABLE-20120622

There is a lot of work done from the PC-BSD 9.0 release ! The installer is now easier and cleaner, the AppCafé has been modifed too, and each new snapshot include the latest userland and kernel.

MaheshaBSD Server Edition – document sharing server

Juraj from the MaheshaBSD Project has announced the MaheshaBSD Server Edition.

The objective of MaheshaBSD Server is to provide users and small businesses/institutions a way to operate the simplest and least demanding FTP/WWW server for the purpose of sharing documents (information). MaheshaBSD Server can be used both for an in-house document sharing or over the internet.

MaheshaBSD Server Edition comes as a USB image and its purpose is to show Windows users the flexibility of running FreeBSD off a USB flash drive.

It immediately supports quotas; and also a possibility to redirect a NTFS drive via mount_nullfs to MaheshaBSD Server, so that users can just simply copy any file to my easy to use FTP/WWW server, as you can see on the picture attached in this email (not many BSD LiveCD’s support writing to NTFS drives unfortunately).

Some of the features included (taken from the Documentation):

  • Portability – with a straightforward FTP/WWW server running off the USB flash drive it is much easier to come up with such a flash drive to any computer available on your in-house (or home) network (LAN) than to disassemble your computer and put the hard drive to another computer where an operating system is already running;
  • No need to purchase expensive licenses for an operating system because MaheshaBSD Server is itself an operating system (FreeBSD);
  • Immediate possibility to use this server – users without any knowledge of Unix can use easy to use free programs such as WinSCP (a Windows GUI application for copying data via SFTP) – they will just copy files into MaheshaBSD Server’s FTP/WWW directory and they will be immediately displayed in a browser;
  • By setting up IP Forwarding on ports 21 (FTP), 22 (SSH), 80 (HTTP) in your router settings you will have an instant possibility to operate a public Internet FTP/WWW server;
  • Security – as long as your FTP (or WWW) server is not running in Windows as a separate program, the environment where certain cleverer individuals may  always find a way to steal your sensitive data (in case you choose a Windows FTP/web server software with unreported security holes), you will be in a great advantage as regards security;
  • A possibility to mount NTFS/FAT32 disks/flash drives/USB hard drives and use them as a place for FTP/WWW data storage. Both editions – MaheshaBSD and MaheshaBSD Server – can easily mount NTFS disks for write access, a feature not available in many BSD LiveCD distributions;
  • Remote Admin.

The full MaheshaBSD Server Edition documentation can be read here (pdf).

MaheshaBSD Server Edition is free for personal use and businesses are required to buy a  $200 license.

We have not been able to test the Server Edition yet, but a $200 license is quite a fee for a document server licens. It would be interesting to see how MaheshaBSD Server Edition compares with FreeNAS 8.2. We may do a comparison a some point in the future.

Miscelaneous FreeBSD news updates (KDE, PC-BSD, Raspberry Pi, FBSD Foundation, OSI)

Below some miscelaneous links to FreeBSD related news and updates:

KDE/FreeBSD Bulletin with recent FreeBSD KDE ports related updates.

PC-BSD 20120605 Snapshot now available for testing. There’s also a BSD Talk interview (BSDTalk 2016) with Kris Moore, founder of the PC-BSD project, which was recorded during BSDCan 2012. Kris talks about the features going into PC-BSD 9.1.

There are some FreeBSD developers that are trying to get FreeBSD running on the Raspberry Pi, a $25 ARM Linux/GNU box: Porting FreeBSD to the Raspberry Pi.

FreeBSD, a world apart (translatedfrom Spanish with Google Translate) – interesting blog post with some FreeBSDD background information. I like the collection of open source logos.

FreeBSD Foundation prepares launch of East Coast Mirror at NYI (announement)

Simon Phipps is the new OSI President:

Phipps has already been spearheading an OSI reform process, working with the rest of the board to open up the organisation. That process has led to the creation of Open Source Initiative affiliation, bringing the Apache Software Foundation, FreeBSD, Eclipse, Mozilla, Debian, and Creative Commons, along with other organisations, on board as affiliates.

PC-BSD 9-STABLE snapshot available for testing (20120524)

Kris Moore has announced the availability of the next PC-BSD testing snapshot: PC-BSD 9-STABLE-20120524. This snapshot is available for both the i386and amd64 architectures.

Some changes since the previous snapshot:

  • Based on FreeBSD 9-STABLE from 05-20-2012.
  • Add support to Warden for using ZFS snapshots on jails. Now you may create, remove, and rollback previous snapshots of a jail via the command-line and GUI.
  • New bottom panel and features in the AppCafe for installed applications.
  • Updated the pc-thinclient command.
  • Added some safety checks to ZFS installs.
  • New “About” GUI, displays information about system.
  • Added initial support for enabling 8021X authentication, still a work in progress.
  • Added LDAP/AD support to installed Samba packages.

Highlights for the upcoming 9.1:

  • New system installer is greatly simplified for desktop and server installs.
  • New PC-BSD Server installation option. Includes command-line utilities like pbi-manager, warden, metapkgmanager and more.
  • Support for ZFS mirror / raidz(1,2,3) during installation.
  • Support for SWAP on ZFS, allowing entire disk ZFS installation.
  • Support for setting additional ZFS data-set options, such as compression, noexec, etc.
  • Warden jail management integrated into system. Allows creating jails via GUI, adding packages and other administration.
  • First boot setup wizard allows OEM installs to be easily performed.
  • New Bluetooth pairing tray / GUI utilities.
  • New AppCafe improvements and preferences
  • Improvements to wifi utility.
  • Fixed bug causing untranslated strings to show up empty.
  • Numerous bug-fixes to PC-BSD related utilities.
  • Support for creating PXE boot server for remote desktop and installation.

Remember this snapshot is recommended for testing purposes only. Should you come across any issues, please share them with the team on the PC-BSD Testing Mailinglist.

Download the PC-BSD 9-STABLE-20120524 Snapshot

 

Howtos: FreeBSD install, ZFS, FreeNAS Serviio, FreeBSD Kernel

HOWTO 1: FreeBSD ZFS Madness

Some time ago I found a good, reliable way of using and installing FreeBSD and described it in my Modern FreeBSD Install HOWTO. Now, more then a year later I come back with my experiences about that setup and a proposal of newer and probably better way of doing it: HOWTO: FreeBSD ZFS Madness.

HOWTO 2: FreeNAS 8.0.3-p1 RELEASE MultiMedia with Serviio 0.6.1 pre-installed

As promised here is a build of FreeNAS 8.0.3 Release-p1 with the latest release of Serviio 0.6.1 integrated. This means NO JAIL IS NEEDED. You will still need to configure some settings from the command line: FreeNAS 8.0.3-p1 RELEASE MultiMedia with Serviio 0.6.1 pre-installed.

Rhyous’ howtos

Jared Barneck has recently added 3 very easy to follow, step-by-step tutorials: