Upcoming FreeBSD Kernel Internals Evening Course

mckusickcolorMarshall Kirk McKusick is hosting several BSD courses within the next couple months. Read below and visit the page if you are interesting in attending and learning more about FreeBSD Kernel Internals.

The “FreeBSD Kernel Internals: Data Structures and Algorithms” course is taught once every few years on a mostly on Thursday nights starting in mid-to-late January and running through late May at the historic Hillside Club at 2286 Cedar Street, Berkeley, CA 94709 just three blocks north of the Berkeley campus once per week from 7:00PM to 10:00PM.

For those that do not live in the Bay Area, or that are not generally free on (primarily) Thursday evenings, the class can also be purchased on video. Those ordering a subscription can receive the class week-by-week as they are recorded.

The next evening class is scheduled to begin on Thursday January 22nd, 2015. You can register for the class here.

For more information and schedule list: https://www.mckusick.com/courses/introeveclass.html

Reminder: FreeBSD 10.0 end-of-life approaching

Dear FreeBSD community,

On January 31, 2015, FreeBSD 10.0 will reach its end-of-life and will no
longer be supported by the FreeBSD Security Team. Users of FreeBSD 10.0
are strongly encouraged to upgrade to a newer release before that date.
The currently supported branches and releases and their expected
end-of-life dates are:

| Branch | Release | Type | Release Date | Estimated EoL |
|stable/8 |n/a |n/a |n/a |June 30, 2015 |
|releng/8.4 |8.4-RELEASE |Extended|June 9, 2013 |June 30, 2015 |
|stable/9 |n/a |n/a |n/a |last release + 2 years |
|releng/9.3 |9.3-RELEASE |Extended|July 16, 2014 |December 31, 2016 |
|stable/10 |n/a |n/a |n/a |last release + 2 years |
|releng/10.0|10.0-RELEASE|Normal |January 20, 2014 |January 31, 2015 |
|releng/10.1|10.1-RELEASE|Extended|November 14, 2014 |December 31, 2016 |

Please refer to https://security.freebsd.org/ for an up-to-date list of
supported releases and the latest security advisories.

Dag-Erling Smørgrav - FreeBSD Security Officer

Original announcement: https://www.mail-archive.com/freebsd-announce@freebsd.org/msg00622.html

Deciso Launches OPNsense, a New Open Source Firewall Initiative

Deciso has just launched their own fork of pfSense, an open source firewall, which is also based on FreeBSD.

http://opnsense.org/wp-content/themes/OPNsense/assets/img/opnsense.pngOPNsense combines the best of open source and closed source firewalls. It brings the rich feature set of commercial offerings with the benefits of open and verifiable sources combined with a simple BSD license. This makes OPNsense the platform of choice for users, developers and commercial partners.

Companies that want to use OPNsense to create a branded version, extend its features, or even create a fork and build upon the same codebase are allowed to do so under the 2-clause BSD license.

The large feature set OPNsense includes several high-end features like load balancing, high availability and captive portal. The modern and easy-to-use Bootstrap based user interface makes configuring and managing the firewall a comfortable task for administrators. And maybe the best part; All sources and build tools are freely available without special clauses and without licensing costs.

Read the full announcement here: http://www.adnkronos.com/immediapress/pr-newswire/2015/01/02/deciso-launches-opnsense-new-open-source-firewall-initiative_Ta6bj627D7Uu6GGtUwSO7I.html?refresh_ce

Official OPNsense website: http://www.opnsense.org

How-to: FreeBSD vs Linux performance?

Stuck making a choice between FreeBSD and Linux? Find out what users of both operating systems have say:

FreeBSD vs Linux performance?

I know that FreeBSD is famous for being highly stable, secure and of course open source. So I am going to try it on one of my servers. However, I am wondering what are the pros and cons of Using FreeBSD instead of Ubuntu or other Linux flavors? I am specially interested to know about the difference in php/mysql performance between the two, given the hardware is the same and one uses the optimal server configurations.


Answer [by larsks]: FreeBSD vs Linux performance?

The best way to answer question is to load Linux, run some performance tests, and then load FreeBSD and run the same suite of tests. If you get better performance from one or the other, stick with that.bsdnix

“However, I am wondering what are the pros and cons of Using FreeBSD instead of Ubuntu or other Linux flavors?”

You’re not really going to get a good answer to this question. The truth is that both are fine solutions (both are “highly stable, secure and of course open source”) and depending on your personal tastes, hardware configuration, and specific tasks you’re trying to accomplish, one may be better than the other.

Read more users’ answers to the question here: http://sevennet.org/2015/01/01/how-to-freebsd-vs-linux-performance-answer-programming-solution/

HowTo: Use ps, kill, nice, and killall To Manage processes in FreeBSD and OS X Unix Operating System

This tutorial by nixCraft shows us how to use various commands to manage processes in FreeBSD and OS X.

Fig.02 ps command with flags

I‘m a new Unix system user. How can I manage process on a FreeBSD operating systems?

A process is nothing but an executing program on FreeBSD or Unix-like system. Each process on the system provides the resources needed to run a program such as vim or firefox. Each process has:

Tutorial details
Difficulty Easy (rss)
Root privileges Yes
Requirements FreeBSD or Unix-like os
Estimated completion time 10m
  1. A unique process identifier number (PID)
  2. A virtual address space
  3. A security context
  4. Open devices/handles, executable code
  5. Environment variables, priority and more.

In this quick tutorial, I will write about process management on a FreeBSD operating systems.

Full instructions here: http://www.cyberciti.biz/faq/howto-use-ps-kill-nice-killall-to-manage-processes-in-freebsd-unix/

New 2015Q1 branch


The 2015Q1 branch has just been branched meaning that the next update on the
quarterly packages will be on the 2015Q1 branch

What happen during the last 3 months:
- 160 committers have participated
- 6024 commits
- diffstat: 33223 files changed, 817670 insertions(+), 631272 deletions(-)

What does that means for users:
- pkg got update to 1.4.3
- New keywords: @glib-schemas, @kld
- New USES: alias fakeroot gettext-runtime gettext-tools gperf
- gettext has been updated to 0.19.3 and splitted into smaller packages
- Minimum clang compiler is now 3.4
- Firefox 34.0.5
- Firefox-esr 31.3.0
- Chrome 39.0.2171.95
- Perl 5.18.4 (the perl infrastructure have received lots of work which would
ease a lot further upgrade of the default perl version for a end user)
- Python 2.7.9
- Ruby
- PostgreSQL 9.3
- gcc 4.8.3
- Gnome 3.14
- Cinnamon 2.4.5
- Xorg 1.14

Next package building will start on Wednesday 7th at 1 am UTC and should be
available on your closest mirrors few days after that.

Bapt (on behalf of portmgr)

Official announcement: https://lists.freebsd.org/pipermail/freebsd-ports/2015-January/097332.html

Creating Custom Packages on FreeBSD / Setting Up a Package Mirror on FreeBSD

These short tutorials by lastsummer.de show us how to create custom packages on FreeBSD, as well as set up a package mirror.

Creating Custom Packages on FreeBSD

…we are going to cover how to build pkg(8) (pkgng) packages away from the FreeBSD ports tree. This is useful for external/private repositories (mostly bigger ones or generally fast-moving) or non-conventional ports like database content or even system updates. pkg(8) itself provides the essential pkg-create(8) tool, as well as pkg-query(8), which we will use to generate embedded dependencies.

Link: http://lastsummer.de/creating-custom-packages-on-freebsd/

Setting Up a Package Mirror on FreeBSD

…we’ll look briefly into how to setup a pkg(8) mirror on FreeBSD. Essentially, we’ll only need a bunch of binary packages for the mirror, pkg-create(8), a running HTTP server and a configuration file for the new mirror on your target system. You must know how to build packages for your target system — if that is the case you are ready to dive in.

Link: http://lastsummer.de/setting-up-a-package-mirror-on-freebsd/