A simple console wireless network manager for OpenBSD

Maybe some will enjoy this simple console based wireless network manager i use on my OpenBSD Box to connect to the different wireless networks i come across during the week. 4NU558BUVMKY

[Read more...]

A wireless access point / Hotspot using OpenBSD

OpenBSD wireless Hotspot

This Guide explains how you would setup a wireless hotspot using OpenBSD and PF so you can provide internet access to wireless clients such as laptops or phones.

[Read more...]

A simple Bot trap using robots.txt

Setup a simple Bot Trap for your website or web application that can enhance the security of your server and prevent malicious bots or script kiddies from poking around by luring them into a trap and banning their a**es for x amount of minutes, or else.

[Read more...]

Fail2ban with PF on OpenBSD 5.2

This explains how to quickly setup the amazing fail2ban, which monitors your log files for activity you specify and performs certain actions once a threshold is reached. Simplest case: Monitor authlog for failed ssh login attempts, and ban the originating IP after a few tries.

[Read more...]

Sniffing for plaintexters

I hope you enjoy this little piece i wrote to sniff for people that check their e-mail via insecure POP or IMAP ports. In my case, i ran this via cron each morning on weekdays for two minutes inside a LAN with a couple hundred users. If “plaintexters” where found, it would send the list of people to the IT Team, basically a mail group on Exchange. They would then contact the User and make sure their mail settings where right.

[Read more...]

FreeBSD.org intrusion and how to use SSH Keys and SSH-Agent

Great excuse to write about how to use ssh keys securely by password protecting the keyfile: On Sunday 11th of November 2012 FreeBSD.org has suffered an intrusion on two machines that contained third party software (packages, ports) within the FreeBSD.org cluster. For details about this read this Incident Report. As far as i can guess from the report and the news, it appears the intruder gained access to the affected systems by means of a developers ssh key that was not protected by a passphrase.

[Read more...]

Site redesign and relaunch

Hello all,

i am happy to present the new look of the bsdguides.org website. The focus of this site continues to be the number one source for BSD style operating systems howto guides and and tutorials. In addition to that, the scope will include general sysadmin and coding topics to discuss favorite one liners, snippets, shell scripts etc. Everybody is welcome to contribute.

Besides being a useful place for information to admins and geeks THE main goal of this site is to promote the use of BSD style Operating systems, FreeBSD, OpenBSD and NetBSD.

Which brings me to the next topic: I am looking for interested contributors that can spare some of today’s most valuable resource (time) to help improving the site and attract a wider audience; mainly by the means of contributing content and writing tutorials, but also by suggesting topics, functionality and so on. You will notice our current content is quite dated because its been a while since the last updates – there is TONS to do!

If you are interested please get in touch! Your help is wanted.

–ds

Virtual FTP Users + SSL

General Information

Running a FTP server is quite popular for sharing files over the Internet. But, the FTP protocol is not as secure as some may think. By default, each FTP user has a system shell account and when connecting to the FTP server, all usernames and passwords are transmitted in plaintext. That means anybody sniffing your packets can gain access to your FTP accounts. This guide is intended to provide a solution to both problems. Pure-ftpd with puredb allows you to have throttled FTP-only accounts and the ability to use SSL.

[Read more...]

Apache+SSL, PHP, and MySQL

General Information

I’m sure many of you have been wondering how people host secure sites using Secure Sockets Layer (SSL). This guide will show you how to set up a web server with SSL, PHP, and MySQL support.

[Read more...]

FreeBSD Basic Installation

General Information

FreeBSD doesn’t have a very graphical installer like various Linux distributions. This makes installing FreeBSD a bit trickier for beginners. With this guide, you will learn how to get FreeBSD installed with a vanilla install with the mini-ISO.

[Read more...]