identd in jailed 4.9-STABLE

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Dec 25 00:36:35 PST 2003


On Thu, Dec 25, 2003 at 01:28:12AM +0200, Alexander wrote:

> did someone make identd work on 4.9-STABLE in jailed environment ?

Don't see why it should cause any particular difficulties.  You'll
need to run an instance of inetd(8) in each jail where you want ident
capability.  All of those inetd(8)'s and any inetd(8) from the base
system should be bound to specific IP addresses by using the '-a'
option -- otherwise they all attempt to bind to INADDR_ANY and end up
fighting each other.

Eg: if your machine uses 192.168.0.1 as it's principal IP and has an
alias address of 192.168.0.2 used by a jail, and you want inetd
services in both, you would put:

    inetd_enable="YES"
    inetd_flags="-wW -a 192.168.0.1"

in /etc/rc.conf on the host environment, and:

    inetd_enable="YES"
    inetd_flags="-wW -a 192.168.0.2"


	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031225/6207c37d/attachment.bin


More information about the freebsd-questions mailing list