Bijan

Bijan

I Love to Read, Code and Explore the Possibilities.

Latest Posts

Portable GELI

Although most of my works are properties of the companies I work for, This repository is one of my recent personal projects I am actually proud of. This is portable-geli. GELI(8) is FreeBSD's cryptography framework technology. It consists of the kernel side which controls the actual encryption/decryption blocks …

Raspbian on 1G SD-Card

Recently I setup a raspberry pi as my home wireless router. It worked great, until I accidently broke the sd-card. I had a spare SD-Card but it was only a 1GB memory. Considering the 1.8GB raspbian image (after decompressing), something had to be done to shrink the image size …

Raspberry pi 3 as Home Wireless Router

I use The following script to configure a Raspbian OS on a Raspberry Pi 3 as a home wireless router.

Note: Please configure the following variable before running the script.

DEVICE=wlan1
PASWORD=password
HOST=10.0.0.1
DHCP_RANGE=10.0.0.2,10.0.0.20
COUNTRY_CODE=uk …

OpenBSD hotplugd scripting

The OpenBSD hotplugd script

The hotplugd daemon monitors the hotplug(4) pseudo-device, acting on signaled events by executing the scripts in the /etc/hotplug directory.

The following is a modified version of TuM'Fatig's Automount USB stick on OpenBSD. You can also find My OpenBSD Setup post describing my personal experience …

OpenBSD's Network stack (PART 1)

The OpenBSD Network Stack Graph

Since OpenBSD Network Stack Internals by Claudio Jeker at AsiaBSDCon 2008, there's a noticeable changes in OpenBSD network stack. obviously the removal of using softnet task queue for forwarding IP packets which is now done by almost a complete run (passing packets from Incoming Interface …