FreeBSD Ports

sysutils/qjail 5.5_1

Utility to quickly deploy and manage jails

Repository
FreeBSD ports
Maintainer
[email protected]
License
BERNE-CONVENTION
Categories
sysutils
Package size
79.8 KiB, 323.5 KiB installed

Description

This qjail version only supports RELEASE-11.0 and newer.

Qjail [ q = quick ] is a 4th generation wrapper for the basic chroot jail system that includes security and performance enhancements. Plus a new level of "user friendliness" enhancements dealing with deploying just a few jails or large scale jail environments consisting of 100's of jails.

Qjail uses the jail(8) jail.conf method. This provides the ability to enable the following options on a per-jail basis. exec.fib, securelevel, allow.sysvipc, devfs_rulesets, allow.raw_sockets, allow.quotas, allow.mount.nullfs, allow.mount.tmpfs, allow.mount.zfs, vnet.interface, and vnet. The vnet option gives a jail its own network stack using the experimental vimage kernel module. The vnet option has only been tested on i386 and amd64 equipment.

Qjail requires no knowledge of the jail command usage. It uses "nullfs" for read-only system executables, sharing one copy of them with all the jails.

Uses "mdconfig" to create sparse image jails. Sparse image jails provide a method to limit the total disk space a jail can consume, while only occupying the physical disk space of the sum size of the files in the image jail.

Ability to assign ip address with their network device name, so aliases are auto created on jail start and auto removed on jail stop.

Ability to create "ZONE"s of identical qjail systems, each with their own group of jails.

Ability to designate a portion of the jail name as a group prefix so the command being executed will apply to only those jail names matching that prefix.

Qjail has been incorporated into the Finch open source project, see http://dreamcat4.github.io/finch/ for details.

Install

As a binary package — by origin, or by package name:

pkg install sysutils/qjail
pkg install qjail

From the ports tree:

cd /usr/ports/sysutils/qjail/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	qjail>0:sysutils/qjail

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest5.5_15.5_15.55.5_15.5_1
FreeBSD:14:quarterly5.5_15.5_1n/a5.5_15.5_1
FreeBSD:15:latest5.5_15.5_1n/a5.5_15.5_1
FreeBSD:15:quarterly5.5_15.5_1n/an/an/a
FreeBSD:16:latest5.5_15.5_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

USES
tar:bzip2
Service scripts
none

Message after installing

Use the qjail utility to deploy small or large numbers of jails quickly.

First issue "rehash" command to enable the qjail command (if using csh).
Then issue
"man qjail-intro" To read the qjail introduction.
"man qjail"       For qjail usage details.
"man qjail-drive-traffic For example of driving public traffic to jails.
"man qjail-vnet-howto"   For example of creating vnet jails.
"man qjail-ipv6-testing" For example of testing jails with ipv6 addresses.

Files

Manual pages 5
  • qjail(8)
  • qjail-drive-traffic(8)
  • qjail-intro(8)
  • qjail-ipv6-testing(8)
  • qjail-vnet-howto(8)
pkg-plist 67
  • bin/qjail
  • @sample etc/qjail.portsnap.conf.sample
  • etc/rc.d/qjail.bootime
  • share/man/man8/qjail.8.gz
  • share/man/man8/qjail-intro.8.gz
  • share/man/man8/qjail-drive-traffic.8.gz
  • share/man/man8/qjail-vnet-howto.8.gz
  • share/man/man8/qjail-ipv6-testing.8.gz
  • share/examples/qjail/vnet/devfsrules_vjail_pf70
  • share/examples/qjail/vnet/devfsrules_vjail_ipf60
  • share/examples/qjail/vnet/devfsrules_vjail_ipfw50
  • share/examples/qjail/vnet/devfsrules_qjail_bpf50
  • share/examples/qjail/vnet/dot.cshrc
  • share/examples/qjail/vnet/ipf.editrules
  • share/examples/qjail/vnet/ipf.loadrules
  • share/examples/qjail/vnet/ipf.listrules
  • share/examples/qjail/vnet/ipf.editnatrules
  • share/examples/qjail/vnet/ipf.loadnatrules
  • share/examples/qjail/vnet/ipf.log
  • share/examples/qjail/vnet/ipf.nat.rules.default
  • share/examples/qjail/vnet/ipf.rc.conf
  • share/examples/qjail/vnet/ipf.refreshlog
  • share/examples/qjail/vnet/ipf.rules.default
  • share/examples/qjail/vnet/ipfw.editrules
  • share/examples/qjail/vnet/ipfw.listrules
  • share/examples/qjail/vnet/ipfw.loadrules
  • share/examples/qjail/vnet/ipfw.log
  • share/examples/qjail/vnet/ipfw.rc.conf
  • share/examples/qjail/vnet/ipfw.rules.default
  • share/examples/qjail/vnet/pf.editrules
  • share/examples/qjail/vnet/pf.loadrules
  • share/examples/qjail/vnet/pf.listrules
  • share/examples/qjail/vnet/pf.log
  • share/examples/qjail/vnet/pf.rc.conf
  • share/examples/qjail/vnet/pf.refreshlog
  • share/examples/qjail/vnet/pf.rules.default
  • share/examples/qjail/vnet/rc.conf
  • share/examples/qjail/default/etc/make.conf
  • share/examples/qjail/default/etc/motd
  • share/examples/qjail/default/etc/periodic.conf
  • share/examples/qjail/default/etc/newsyslog.conf
  • share/examples/qjail/default/etc/rc.conf
  • share/examples/qjail/default/root/.cshrc
  • share/examples/qjail/default/usr/local/etc/pkg.conf
  • share/examples/qjail/default/usr/local/etc/sudoers
  • share/examples/qjail/ssh-default/etc/group
  • share/examples/qjail/ssh-default/etc/make.conf
  • share/examples/qjail/ssh-default/etc/master.passwd
  • share/examples/qjail/ssh-default/etc/motd
  • share/examples/qjail/ssh-default/etc/passwd
  • share/examples/qjail/ssh-default/etc/periodic.conf
  • share/examples/qjail/ssh-default/etc/newsyslog.conf
  • share/examples/qjail/ssh-default/etc/pwd.db
  • share/examples/qjail/ssh-default/etc/rc.conf
  • share/examples/qjail/ssh-default/etc/spwd.db
  • share/examples/qjail/ssh-default/etc/ssh/sshd_config
  • share/examples/qjail/ssh-default/root/.cshrc
  • share/examples/qjail/ssh-default/usr/home/qjail/.cshrc
  • share/examples/qjail/ssh-default/usr/home/qjail/.login
  • share/examples/qjail/ssh-default/usr/home/qjail/.login_conf
  • share/examples/qjail/ssh-default/usr/home/qjail/.mail_aliases
  • share/examples/qjail/ssh-default/usr/home/qjail/.mailrc
  • share/examples/qjail/ssh-default/usr/home/qjail/.profile
  • share/examples/qjail/ssh-default/usr/home/qjail/.rhosts
  • share/examples/qjail/ssh-default/usr/home/qjail/.shrc
  • share/examples/qjail/ssh-default/usr/local/etc/pkg.conf
  • share/examples/qjail/ssh-default/usr/local/etc/sudoers
distinfo 1
FileSizeSHA256
qjail-5.5.tar.bz2680641151baa3faa4bd09dc489135227884f34335232cf3fdbd7a2bf09ec2da5bcf20
Master sites 1
  • SF/qjail

Commit history 0

No commits in the history this site was built from.