mod_jail 0.5.6

Makes running Apache 1.3 in a secure FreeBSD jail prison easy.
mod_jail makes running Apache 1.3 in a secure FreeBSD jail prison easy.

mod_jail is also able to change the securelevel within a created jail prison.

Installation:

Install mod_myuserdir:
make install (as root)

Apache:

Edit apache config, you may use httpd.conf.add as example, make shure that mod_jail.so is first after ClearModuleList.

LoadModule jail_module libexec/apache/mod_jail.so
# ...

ClearModuleList
AddModule mod_jail.c
# ...
#
< IfModule mod_jail.c >
jail_rootdir "/usr/local/www"
jail_hostname "www.localhost.net"
jail_address 192.168.0.1
jail_scrlevel 3
< /IfModule >

All parameters must be set.

Make it all working:

Just restart apache:

apachectl stop; apachectl start

So, it should work now. If verion of your FreeBSD is >= 5.1, you can see jail by jls command:

# jls
JID IP Address Hostname Path
50 192.168.0.1 www.localhost.net /usr/local/www

This module is tested to compile and work on FreeBSD 6.0 and 6.1. I expect it to work on any FreeBSD > 4.0

last updated on:
February 16th, 2012, 8:06 GMT
price:
FREE!
homepage:
igorpopov.newmail.ru
license type:
The Apache License 2.0 
developed by:
Igor Popov
category:
ROOT \ Internet \ HTTP (WWW)
mod_jail
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
What's New in version 0.5.5
  • There are no changes in the source code since 2.2.20.
read full changelog

Add your review!

SUBMIT