Rick Reed’s WhatsApp from MeetBSD 2014 is now available for listening on bsdtalk.
This tutorial by nixCraft shows us how to add a swap on FreeBSD 9.0 and 10.0 or later.
I need additional swap space to improve my FreeBSD Unix server/desktop performance. How do I add a swap file to FreeBSD system using command line options without creating a new partitions? How do I encrypt swap space on a FreeBSD Unix server for security purpose?
Tutorial details Difficulty Intermediate (rss) Root privileges Yes Requirements FreeBSD Estimated completion time 10m
A swap is nothing but space or file on a disk that can used as virtual memory. In FreeBSD and Unix-like operating systems, it is common to use a whole partition of a hard disk for swapping. When a FreeBSD based server runs out of memory, the kernel can move sleeping or inactive processes into swap area. A dedicated Swap partition goes a long way to avoid system freeze but if you notice you are running out of RAM or your applications are consuming too much of it then you may want to setup a swapfile. This guide helps you add a swap space on FreeBSD based Unix server.
Check out the full tutorial: http://www.cyberciti.biz/faq/create-a-freebsd-swap-file/
Core Security Technologies, a network security company that specializes in attack intelligence and vulnerability management, has recently discovered several vulnerabilities in FreeBSD.
Researchers at Core Security Technologies issued an advisory today on three vulnerabilities in affecting the FreeBSD operating system.
FreeBSD is a Unix-like operating system used to power servers, desktops and embedded platforms. According to the advisory from Core Security, several vulnerabilities were spotted in the FreeBSD kernel code that implements the vt console driver previously known as Newcons as well as the code the implements Stream Control Transmission Protocol [SCTP] sockets. These issues could enable a local, unprivileged attacker to crash the system, disclose kernel memory containing sensitive information and execute arbitrary code with super user privileges.
The FreeBSD Project issued fixes for the issues that are available to users who upgrade to FreeBSD 10.1-RELENG or one of the following reasons: stable/10, 10.1-STABLE releng/10.1, 10.1-RELEASE-p5 releng/10.0, 10.0-RELEASE-p17 stable/9, 9.3-STABLE releng/9.3, 9.3-RELEASE-p9 stable/8, 8.4-STABLE releng/8.4 and 8.4-RELEASE-p23.
Original announcement: http://www.securityweek.com/freebsd-patches-kernel-security-vulnerabilities
This month’s update from the FreeBSD Foundation includes development updates, conference updates, stories from developers, as well as 2015’s fundraising goal.
Dear FreeBSD Community Member,January is that exciting time of year where everything feels new again. It radiates with opportunities and allows us to embark on plans to make this year the best one yet. Here at the Foundation, we are using that energy to get a running start in a number of areas. Our Project Updates continue to show great progress in key areas such as arm64. We’ve kicked off our 2015 fundraising campaign(our most ambitious to date) and we’re launching a new series of articles. Plus, our conference calendar is quickly filing up and includes more new events. 2015 is shaping up to be an awesome year for the Foundation and FreeBSD Community. We can’t wait to show you what’s in store. Until then, take a minute and check out all that’s happened since our last update.Happy New Year!Deb
Read the full announcement here: https://www.freebsdfoundation.org/press/2015janupdate.pdf
In this week’s BSD Now episode, Kris Moore and Alan Jude interview Andrew Tanenbaum, creator of MINIX. They discuss the reasons for importing parts of NetBSD into the operating system. Click play below to tune in:
Official page: http://www.bsdnow.tv/episodes/2015_01_28-that_sly_minix
User grembo wrote this short tutorial on how to set up Ice on FreeBSD.
The attached patch allows building Ice 3.6b on FreeBSD.
To install Ice, IcePy and IcePHP do:Code:cd /usr/ports patch -p1 <ice36b-freebsd-port.patch.txt # install Ice for C++ cd /usr/ports/devel/ice-beta make install clean # install Ice for Python cd /usr/ports/devel/py-ice-beta make install clean # install Ice for PHP cd /usr/ports/devel/php5-ice-beta make install clean
/u/evidentlycat gives a great explanation of the difference between /sbin, /bin, /usr/sbin, and /usr/bin on /r/BSD.
I use the terms “dynamically linked” and “statically linked”. A statically linked executable is independent: it does not load a separate C library, instead, the executable itself contains copies of code it uses from the C library, and interfaces with the kernel entirely by itself through syscalls. A dynamically linked executable loads an external library from a file and calls functions in it.
binis for binaries which are useful for users without elevated privileges. /bin contains statically-linked binaries which are “fundamental to both single and multi-user environments” according to
hier(7). They may be used in the tiny installer ramdisk. Most things in
/usr/binare dynamically linked and all of them are inaccessible in the installer.
sbinis for superuser binaries and daemons, i.e. things not useful to users without elevated privileges. Everything in
/sbinis statically linked and accessible in the installer. Most things in
/usr/sbinare dynamically linked and all of them are inaccessible in the installer….
Original post from /u/evidentlycat: http://www.reddit.com/r/BSD/comments/2szofc/eli5_why_is_separating_binaries_into_bin_sbin/cnudxzs
Official documentation on filesystem layout: https://www.freebsd.org/cgi/man.cgi?hier%287%29
This report covers FreeBSD-related projects between October and December 2014. This is the last of four reports planned for 2014.
The fourth quarter of 2014 included a number of significant improvements to the FreeBSD system. In particular, compatibility with other systems was enhanced. This included significant improvements to the Linux compatibility layer, used to run Linux binaries on FreeBSD, and the port of WINE, used to run Windows applications. Hypervisor support improved, with FreeBSD gaining the ability to run as domain 0 on Xen’s new high-performance PVH mode, bhyve gaining AMD support, and new tools for creating FreeBSD VM images arriving.
This quarter was also an active time for the toolchain, with numerous improvements to the compiler, debugger, and other components, including initial support for C++14, which should be complete by FreeBSD 10.2.
Thanks to all the reporters for the excellent work!
Full status report: https://www.freebsd.org/news/status/report-2014-10-2014-12.html
In this week’s BSD Now episode, Allan Jude and Kris Moore chat with David Maxwell, former NetBSD security officer. They talk about a project he’s working on called Pipecut, which approaches the command line in a whole new way. Hit play to tune in:
Official page: http://www.bsdnow.tv/episodes/2015_01_21-pipe_dreams
MediaFire has released an open source toolkit which supports Linux and FreeBSD.
Another cloud storage vendor is eyeing the open source community. This week, MediaFire announced a new open source toolkit compatible with Linux and FreeBSD, giving Linux desktop fans another cloud storage option to compete with Dropbox, Google Drive and the like.
MediaFire’s open source developer toolkit, which it announced Jan. 21, provides several tools, among them a FUSE interface for POSIX-compatible operating system. In non-programmer terms, the FUSE tool makes it possible to connect applications running on Linux, FreeBSD and most other Unix-like operating systems to MediaFire’s cloud storage platform, and to access and sync MediaFire files through interfaces such as the Nautilus file manager….