FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
qjail Utility to quickly deploy and manage jails
5.0 sysutils on this many watch lists=6 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Ignore IGNORE: Only for FreeBSD 11+
Maintainer: qjail1@a1poweruser.com search for ports maintained by this maintainer
Port Added: 11 Jun 2011 21:22:44
License: BERNE-CONVENTION
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.

WWW: http://qjail.sourceforge.net/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/sysutils/qjail/ && make install clean

A package is not available for ports marked as: Forbidden / Broken / Ignore / Restricted

PKGNAME: qjail

distinfo:

TIMESTAMP = 1472482359
SHA256 (qjail-5.0.tar.bz2) = 41bc83d214035c7939d50fce091a0f888a7d109aaf93cb52c9c70d0f4357a668
SIZE (qjail-5.0.tar.bz2) = 63015

There are no ports dependent upon this port


Configuration Options
     No options to configure

USES:
tar:bzip2

pkg-mesage:
########################################################################

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.
After reading that do "man qjail" for the usage details.
For the BIG PICTURE issue "man qjail-howto".

########################################################################


Master Sites:
  1. http://aarnet.dl.sourceforge.net/project/qjail/
  2. http://downloads.sourceforge.net/project/qjail/
  3. http://freefr.dl.sourceforge.net/project/qjail/
  4. http://garr.dl.sourceforge.net/project/qjail/
  5. http://heanet.dl.sourceforge.net/project/qjail/
  6. http://hivelocity.dl.sourceforge.net/project/qjail/
  7. http://ignum.dl.sourceforge.net/project/qjail/
  8. http://internode.dl.sourceforge.net/project/qjail/
  9. http://iweb.dl.sourceforge.net/project/qjail/
  10. http://jaist.dl.sourceforge.net/project/qjail/
  11. http://kent.dl.sourceforge.net/project/qjail/
  12. http://master.dl.sourceforge.net/project/qjail/
  13. http://nchc.dl.sourceforge.net/project/qjail/
  14. http://ncu.dl.sourceforge.net/project/qjail/
  15. http://netcologne.dl.sourceforge.net/project/qjail/
  16. http://sunet.dl.sourceforge.net/project/qjail/
  17. http://superb-dca3.dl.sourceforge.net/project/qjail/
  18. http://switch.dl.sourceforge.net/project/qjail/
  19. http://tenet.dl.sourceforge.net/project/qjail/
  20. http://ufpr.dl.sourceforge.net/project/qjail/
  21. http://waix.dl.sourceforge.net/project/qjail/

Number of commits found: 47

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
31 Aug 2016 21:49:37
Original commit files touched by this commit  5.0
Revision:421195
mat search for other commits by this committer
Remove the CONFLICTS_INSTALL lines, they can't conflict, they can't be
installed at the same time.

Submitted by:	maintainer
Sponsored by:	Absolight
29 Aug 2016 15:04:35
Original commit files touched by this commit  5.0
Revision:421066
mat search for other commits by this committer
Cleanup whitespace at EOL.

Pointy hat:	mat
Sponsored by:	Absolight
29 Aug 2016 14:53:01
Original commit files touched by this commit  5.0
Revision:421063
mat search for other commits by this committer
Update sysutils/qjail to 5.0 to handle FreeBSD 11+.

Copy it to sysutils/qjail4 for FreeBSD 10 and sync CONFLICTS with the
FreeBSD 8/9 version.

PR:		212201, 212202
Submitted by:	maintainer
Sponsored by:	Absolight
19 Jul 2016 14:42:44
Original commit files touched by this commit  4.9
Revision:418800
amdmi3 search for other commits by this committer
- Update to 4.9
- While here, add NO_ARCH

PR:		211145
Submitted by:	qjail1@a1poweruser.com (maintainer)
12 Jun 2016 13:13:32
Original commit files touched by this commit  4.8
Revision:416800
pi search for other commits by this committer
sysutils/qjail: 4.7 -> 4.8

There are changes to the internals of the jail(8) command and changes to
parameter names in the periodic files that have occurred in FreeBSD
Release 10.2 that effects jail behavior in a very minor way.

This version of qjail has an built in auto convert function that
fixes those minor behavior problems with existing jails. This auto
convert function is not documented in the qjail manual. Its only
shown in the port install output.  Issue [ qjail update -u ] from
the host console.

This will cause the existing "flavors" default & ssh-default
directories to be renamed and new ones populated. Then in each
existing jail the periodic.conf and newsyslog.conf files will be
(Only the first 15 lines of the commit message are shown above View all of this commit message)
26 May 2016 13:16:48
Original commit files touched by this commit  4.7
Revision:415891
amdmi3 search for other commits by this committer
- Update to 4.7

Changes:

1. When running "qjail create -c" option for creating a jail with ssh and
   a user id / password of the jail name. On first start the user id
   gets created in the jail. This first start status was not being
   turned off. Added code to start logic to fix this.

2. Did not like the way console function was handling console commands
   being passed to the jail for execution. Changed the logic so it works
   like this. If -c option used alone or if -c & -u used together,
   them default jexec command format used. If no -c option then
   "jexec jailname login -f <root or -u value>" format used.
   This is real login causing the Welcome message to display.

3. Corrected the qjail manual console function to document usage of
   -c and -u flags.

PR:		209737
Submitted by:	qjail1@a1poweruser.com (maintainer)
19 May 2016 10:53:06
Original commit files touched by this commit  4.6
Revision:415500
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [p-x]*

Approved by:	portmgr blanket
23 Apr 2016 15:05:21
Original commit files touched by this commit  4.6
Revision:413878
flo search for other commits by this committer
Update to 4.6

PR:		208980
Submitted by:	Joe Barbish <qjail1@a1poweruser.com>
Sponsored by:	Essen Linuxhotel Hackathon 2016
20 Apr 2016 22:09:11
Original commit files touched by this commit  4.5
Revision:413709
robak search for other commits by this committer
sysutils/qjail: update 4.4 -> 4.5

PR:		208918
Submitted by:	Joe Barbish <qjail1@a1poweruser.com> (maintainer)
18 Apr 2016 05:14:28
Original commit files touched by this commit  4.4
Revision:413548
riggs search for other commits by this committer
Update to upstream version 4.4

PR:		208851
Submitted by:	qjail1@a1poweruser.com (maintainer)
01 Apr 2016 13:18:17
Original commit files touched by this commit  4.3
Revision:412342
mat search for other commits by this committer
Fixup some whitespace at the beginning of lines problems.

With hat:	portmgr
Sponsored by:	Absolight
12 Feb 2016 06:21:53
Original commit files touched by this commit  4.3
Revision:408707
pi search for other commits by this committer
sysutils/qjail: 4.2 -> 4.3

PR:		206935
Submitted by:	Joe Barbish <qjail1@a1poweruser.com> (maintainer)
21 Nov 2015 13:55:46
Original commit files touched by this commit  4.2
Revision:402159
pi search for other commits by this committer
sysutils/qjail: 4.1 -> 4.2

- Correct "qjail config -n" routine logic

PR:		204601
Submitted by:	qjail1@a1poweruser.com (maintainer)
11 Sep 2015 02:59:41
Original commit files touched by this commit  4.1
Revision:396643
wen search for other commits by this committer
- Update to 4.1

PR:		202934
Submitted by:	qjail1@a1poweruser.com(maintainer)
27 Apr 2015 03:35:55
Original commit files touched by this commit  4.0
Revision:384813
vanilla search for other commits by this committer
Upgrae to 4.0.

PR:		199684
Submitted by:	maintainer
24 Apr 2015 06:54:41
Original commit files touched by this commit  3.9
Revision:384624
vanilla search for other commits by this committer
Upgrade to 3.9.

PR:		199651
Submitted by:	maintainer
07 Apr 2015 12:21:42
Original commit files touched by this commit  3.8
Revision:383505
vanilla search for other commits by this committer
Upgrade to 3.8.

PR:		199198
Submitted by:	maintainer
04 Apr 2015 13:08:01
Original commit files touched by this commit  3.7
Revision:383220
bofh search for other commits by this committer
[MAINTAINER] sysutils/qjail: Update version 3.6=>3.7

- Add LICENSE (BERNE-CONVENTION)
- Change Maintainer email address
- Use @sample framework

PR:		199090
Submitted by:	qjail@a1poweruser.com
01 Apr 2015 11:35:52
Original commit files touched by this commit  3.6
Revision:382905
zi search for other commits by this committer
- Reset MAINTAINER due to fatal bounce

Reported by:	portscout
22 Nov 2014 09:13:36
Original commit files touched by this commit  3.6
Revision:373038
antoine search for other commits by this committer
Cleanup plist
29 Jul 2014 03:46:20
Original commit files touched by this commit  3.6
Revision:363291
vanilla search for other commits by this committer
Upgrade to 3.6.

1. Add allow.mount.tmpfs parameter to build-jail.conf routine.
   Check if kernel tmpfs.ko has been loaded
   to host and if not then issue "kldload tmpfs" command.

2. Add code to config logic for lower case t to enable
   allow.mount.tmpfs parameter and upper case T to disable
   allow.mount.tmpfs parameter.

3. Remove -l null as method to disable nullfs and replace with
   upper case L to to disable nullfs.

4. Add upper case S to disable lower case s option.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
09 Jul 2014 19:19:47
Original commit files touched by this commit  3.5
Revision:361404
pi search for other commits by this committer
sysutils/qjail: 3.4 -> 3.5

Updated qjail.bootime script for addition of allow.sysvipc
and ruleset parameters that were added to qjail script in qjail-3.4.

PR:		191660
Submitted by:	qjail@a1poweruser.com (maintainer)
22 Jun 2014 01:28:40
Original commit files touched by this commit  3.4
Revision:358759
danilo search for other commits by this committer
- Update from 3.3 to 3.4
- Remove NEED_ROOT
- Update pkg-descr

Changelog: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191213#c0

PR:		ports/191213
Submitted by:	qjail@a1poweruser.com
15 May 2014 10:40:20
Original commit files touched by this commit  3.3
Revision:354105
pi search for other commits by this committer
sysutils/qjail: upgrade 3.2 -> 3.3

1. Fix typo in qjail.8 manual.
Change "See jailip below" to "See -4 option"

2. Fix typo in qjail-howto.8 manual as per PR# 186269.
Change a comma , inside of ip address to a . period.
73.x.97,51,10.0.10.126 to 73.x.97.51,10.0.10.126

3. Change qjail.portsnap.conf,
remove index-6 index-7 index-8 statements
replace index-9 with index-10

4. Removed rcvar=`set_rcvar` statement from qjail.bootime script.
In Release 10.0 its no longer included in the rc.d scripts and
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Sep 2013 23:06:00
Original commit files touched by this commit  3.2
Revision:327772
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils)
03 Sep 2013 18:51:57
Original commit files touched by this commit  3.2
Revision:326199
pawel search for other commits by this committer
Re-add mistakenly removed CONFLICTS_INSTALL line
29 Aug 2013 20:52:34
Original commit files touched by this commit  3.2
Revision:325633
pawel search for other commits by this committer
Update to version 3.2

qjail-3.2 change log

1. Added IPv6 support to "create" and "config" commands.

2. Changed the way jail status is determined. Now use "jls -j jailname jid"
 command instead of carring internal jid field in jail definition record.
 This fixed jail status problem when users used the "halt or reboot"
 command on the host instead of the "shutdown now" command.

3. Changed qjail-bootime script to nolonger populate internal jid field
 in jail definition record.

4. Corrected coding of conflicts_install parameter in the port Makefile
(Only the first 15 lines of the commit message are shown above View all of this commit message)
05 Jul 2013 16:21:49
Original commit files touched by this commit  3.1
Revision:322339
pawel search for other commits by this committer
Register install conflicts with version 1.x

Submitted by:	maintainer via private email
22 Jun 2013 06:38:00
Original commit files touched by this commit  3.1
Revision:321546
culot search for other commits by this committer
- Update to 3.1

PR:		ports/179769
Submitted by:	Joe Barbish <qjail@a1poweruser.com> (maintainer)
04 Jun 2013 15:10:01
Original commit files touched by this commit  3.0
Revision:319868
pawel search for other commits by this committer
Register install conflict with sysutils/qjail2
02 Jun 2013 22:13:33
Original commit files touched by this commit  3.0
Revision:319728
pawel search for other commits by this committer
Update to version 3.0

PR:		ports/179184
Submitted by:	Joe Barbish <qjail@a1poweruser.com> (maintainer)
26 Apr 2013 21:25:53
Original commit files touched by this commit  2.2
Revision:316638
bdrewery search for other commits by this committer
- Update to 2.2
- Unrestrict - license issue has been resolved

PR:		ports/178186
Submitted by:	Joe Barbish <qjail@a1poweruser.com> (maintainer)
20 Mar 2013 13:17:24
Original commit files touched by this commit  2.1
Revision:314731
bdrewery search for other commits by this committer
- Mark RESTRICTED

See: http://lists.freebsd.org/pipermail/freebsd-jail/2013-March/002118.html

With hat:	portmgr
03 Feb 2013 18:45:11
Original commit files touched by this commit  2.1
Revision:311478
crees search for other commits by this committer
Update to 2.1;

1. Added logic to interrogate the content of flavors for correctness
before allowing them to be merged into the newjail being created.
Only paths targeting directories holding configuration files are
allowed now. The jail create process is terminated and the offending
paths are listed in error messages.

2. Changed the /root/.cshrc file in both flavors default and ssh-default
to now contain setenv PACKAGESITE to point to packages-current
so login users of any jail will have the most current package
version available.

4. In the qjail install logic added code to create these additional paths
in basejail, /usr/ports/packages, /usr/home and /home link.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
02 Jan 2013 10:05:06
Original commit files touched by this commit  2.0
Revision:309809
crees search for other commits by this committer
Update to 2.0;

Standard maintenance.

1. Added -c option on "qjail create" command that enables ssh access to the
jail and creates user account using jailname for id/pw.

2. Added -C option on "qjail create" command that depends on -D option that
creates ssh access to jail and creates user account using jailname for
id/pw while automatically duplicating jails.

3. Created a customized flavor, ssh-default that enables ssh access to jails.
This flavor contains a login account with id/pw of qjail.

4. Removed -c option from "qjail install" because hosts customized /etc
caused problems with jail start up.

5. Updated man qjail.8 to reflect the changes.

PR:		ports/174890
Submitted by:	Joe Barbish <qjail@a1poweruser.com> (maintainer)
22 Dec 2012 20:41:44
Original commit files touched by this commit  1.9
Revision:309404
crees search for other commits by this committer
Update to 1.9:

	Added code to qjail install function to check for
	-STABLE, -PRERELEAASE, and -CURRENT versions running
	on the host and if so issue message that binary source
	is not available for download and to use the
	[qjail install -c] flag to clone the host system to
	populate the basejail with.

	Used setenv UNAME_r "9-stable" command on host to set
	release value seen by qjail.

PR:		ports/174644
Submitted by:	Joe Barbish <qjail@a1poweruser.com> (maintainer)
02 Dec 2012 12:25:48
Original commit files touched by this commit  1.8
Revision:308103
crees search for other commits by this committer
Update to 1.8

uname -r shows 4 formats.
9.0-BETA1, 9.0-RC1, 9.0-RELEASE, and 9.0-RELEASE-p1
Logic added by 1.7 was supposed to correctly remove the -p1 string,
which it did if present, but if not present the -RELEASE gets removed
in error which results in the incorrect ftp url path for fetching the
install source.

Rewrote logic to handle -p suffix differently so it gets stripped
off leaving 9.0-RELEASE which is handled normally.

PR:		ports/174037
Submitted by:	Joe Barbish <qjail@a1poweruser.com> (maintainer)
Feature safe:	yes
05 Nov 2012 19:07:42
Original commit files touched by this commit  1.7
Revision:307025
crees search for other commits by this committer
Update to 1.7

On 'qjail install' command run on -BETA or -RC host has no binary distribution
source available by design. Added logic to check for this condition and issue
error message informing user.

On 'qjail install' command run on a host that has had security binary patches
applied results in [uname -r] command returning [Release-9.0-p3]. There is no
binary distribution source available by design for patched systems. Added code
to strip the -p3 suffix resulting in the 9.0-Release distribution source being
downloaded and used to populate the basejail.

PR:		ports/173394
Submitted by:	Joe Barbish (maintainer)
Feature safe:	yes
18 Sep 2012 17:44:48
Original commit files touched by this commit  1.6
Revision:304449
crees search for other commits by this committer
Update to 1.6

-a option means create new jail from archive file of jail-aaa.
Search of /usr/jails/archive selected incorrect archive file.
If archive files named jail-aaa, jail-aaa-bbb, jail-aaa-bbb-ccc were present
jail-aaa-bbb-ccc was always selected incorrectly.
This same logic was also used for 'qjail restore jail-aaa', but that logic
had check for this condition that told user to use full archive name that
included the date stamp archive was created.  Fixed logic in both functions.

PR:		ports/171724
Submitted by:	maintainer (Joe Barbish <qjail@a1poweruser.com>)
19 Jul 2012 23:58:35
Original commit files touched by this commit  1.5
ak search for other commits by this committer
- Update to 1.5

PR:	ports/170012
Submitted by:	Joe Barbish <qjail@a1poweruser.com> (maintainer)
27 Jun 2012 11:25:17
Original commit files touched by this commit  1.4
jase search for other commits by this committer
- Update to 1.4

PR:             ports/169466
Submitted by:   Joe Barbish <qjail@a1poweruser.com> (maintainer)
Approved by:    culot (mentor)
23 Apr 2012 20:11:00
Original commit files touched by this commit  1.3
crees search for other commits by this committer
Restore missing newline

Submitted by:   ak
13 Apr 2012 17:50:43
Original commit files touched by this commit  1.3
crees search for other commits by this committer
Update to 1.3;

  Updated script so that the perluglyhack code is added to the end of
  qjail update -b logic

PR:             ports/166666
PR:             ports/166917
Submitted by:   Joe Barbish (maintainer)
02 Mar 2012 18:43:39
Original commit files touched by this commit  1.2
jgh search for other commits by this committer
- Update to 1.2
- while here loop on install of man pages

Changed qjail to work with new path and single base
file install format now used in 9.0.

PR:     ports/165603
Submitted by:   maintainer, qjail@a1poweruser.com
11 Sep 2011 11:58:32
Original commit files touched by this commit  1.1_1
crees search for other commits by this committer
Author silently changed distfile to correct manpage typos, chase distinfo.

PR:             ports/160645
Submitted by:   Joe Barbish <fbsd8@a1poweruser.com> (maintainer)
09 Sep 2011 19:29:08
Original commit files touched by this commit  1.1
dhn search for other commits by this committer
- Update to 1.1

PR:             ports/160574
Submitted by:   Joe barbish <fbsd8@a1poweruser.com> (maintainer)
11 Jun 2011 21:22:20
Original commit files touched by this commit  1.0
crees search for other commits by this committer
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 jail environments consisting of 100's of jails.

Qjail requires no knowledge of the jail command usage. It uses "nullfs" for
read-only system binaries, 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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 47

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
ImageMagickDec 04
ImageMagick-nox11Dec 04
ImageMagick7Dec 04
ImageMagick7Dec 04
ImageMagick7-nox11Dec 04
ImageMagick7-nox11Dec 04
py-cryptographyDec 04
py-pillowDec 04
py3-pillowDec 04
qemuDec 04
qemu-develDec 04
qemu-sbrunoDec 04
xen-kernelDec 04
xen-kernelDec 04
xen-kernelDec 04

34 vulnerabilities affecting 72 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26925
Broken 313
Deprecated 148
Ignore 578
Forbidden 1
Restricted 213
No CDROM 82
Vulnerable 57
Expired 9
Set to expire 127
Interactive 0
new 24 hours 9
new 48 hours15
new 7 days54
new fortnight109
new month271

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.