FreeBSD Jail Utilities

A collection of utilities for listing, stopping and doing other various things with jails.

jailutils comes in two flavors depending on the version of FreeBSD you have installed. The more powerful utilities are available on FreeBSD 5.1 and later. These don't expect you to use a jailer running inside a jail and have more features. When compiling the jailutils package will automatically detect your OS version and install the appropriate utilities.

New Utilities

The new utilities make use of the ability to add a process to a jail in new versions of newer FreeBSD. Most of what these commands do could be possible via shell scripts and the default jail commands, however they do them in a more secure, reliable and simple fashion.

injail: to determine if running in a jail or not (for use in scripts).

jails: lists all the running jails.

jid: translates jail ids to jail host names and vice versa.

jkill: shutdown or restart a jail.

jps: lists processes running in a jail.

jstart: a secure replacement for the jail command.

Old Utilities

jails: lists all the running jails.

killjail: shutdown or restart a jail.

jstart: a secure replacement for the jail command (version 0.6 and later).

 

Notes:

Download:

Source:
jailutils-1.7.tar.gz
jailutils-1.6.tar.gz
jailutils-1.5.tar.gz
jailutils-1.4.tar.gz
jailutils-1.3.tar.gz
jailutils-1.2.tar.gz
jailutils-1.1.tar.gz
jailutils-1.0.tar.gz
jailutils-0.6.tar.gz
Versions below don't include the new utilities
jailutils-0.5.4.tar.gz
jailutils-0.5.3.tar.gz
jailutils-0.5.2.tar.gz
jailutils-0.5.1.tar.gz
jailutils-0.5.tar.gz

Licensing and Support

Open source BSD type license. Contact me when bugs are found.

   [ jail stuff ] [ home page ]