FreeBSD and jails

ezjail is a perfect tool for jails. What it does is actually saving you a lot of keystrokes. It is a very nice bash script. When you create a new jail one of the task ezjail […]

Incorrect argument handling in sendmsg(2)

To all the FreeBSD users out there, don’t forget to update your systems. The sendmsg(2) system call allows to send data to a socket. The data may be accompanied by optional ancillary data. For details please […]

check free memory in FreeBSD

In case you’re coming from Linux world to FreeBSD first of all: Welcome! You might miss some commands, like free. Here is a very short tutorial for that. fetch https://raw.githubusercontent.com/ocochard/myscripts/master/FreeBSD/freebsd-memory.sh sh freebsd-memory.sh Then of course […]

while loop in csh

This made my day, while loop in one line -one liner- under csh printf “while ( 1 ) \n df -m \n echo ‘remaining space’ \n  sleep 60 \n end” | csh -f  Of course, you could […]

A little bit of nginx

Took me a moment to find out how to redirect a URL if the URL contains a certain word, in Nginx, here it is: location ~ \.xml$ { rewrite ^(.*)$ http://urltoberedirected.com/$1; proxy_set_header X-Real-IP $remote_addr; proxy_set_header […]

FreeBSD Security Advisory FreeBSD-SA-14:08.tcp

Soruce: http://lists.freebsd.org/pipermail/freebsd-announce/2014-April/001546.html FreeBSD Security Advisories security-advisories at freebsd.org Wed Apr 30 04:35:11 UTC 2014 ============================================================================= FreeBSD-SA-14:08.tcp Security Advisory The FreeBSD Project Topic: TCP reassembly vulnerability Category: core Module: inet Announced: 2014-04-30 Credits: Jonathan Looney Affects: […]