From owner-freebsd-net  Wed Oct 18 12: 0:10 2000
Delivered-To: freebsd-net@freebsd.org
Received: from homer.softweyr.com (termroom.bsdcon.org [206.55.247.2])
	by hub.freebsd.org (Postfix) with ESMTP id 0143C37B4CF
	for <freebsd-net@freebsd.org>; Wed, 18 Oct 2000 12:00:07 -0700 (PDT)
Received: from localhost
	([127.0.0.1] helo=softweyr.com ident=Fools trust ident!)
	by homer.softweyr.com with esmtp (Exim 3.16 #1)
	id 13lycE-0000Vs-00; Wed, 18 Oct 2000 13:11:06 -0600
Message-ID: <39EDF5CA.157990C4@softweyr.com>
Date: Wed, 18 Oct 2000 13:11:06 -0600
From: Wes Peters <wes@softweyr.com>
Organization: Softweyr LLC
X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.1-STABLE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Bjarni Runar Einarsson <bre@netverjar.is>
Cc: freebsd-net@freebsd.org
Subject: Re: natd & identd cooperation?
References: <20001018184017.A1218@klaki.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-net@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Bjarni Runar Einarsson wrote:
> 
> Hi all,
> 
> I'm a relatively new FreeBSD user, lured from the world of Linux by
> the FreeBSD jails... so far so good.
> 
> I'm currently playing with a 4.1.1 box which gives jailed users
> access to the 'net via natd.  For those users interested in using
> IRC, the lack of an identd which will correctly either reply on a
> jail-by-jail basis or relay the ident requests back to a jailed
> identd is a bit of a problem.
> 
> No, I'm not interested in randomizing the ident replies. :-)
> 
> So, my question is, am I overlooking something, or is my only
> option to go ahead and hack up some identd and natd so they will
> communicate with each other?
> 
> My current strategy is to use shared-memory tables to get oidentd
> and natd to talk to each other, allowing me to set up both static
> ip<->username mappings and dynamic connection<->user mappings.  I
> have a ready-to-use library (UDB) designed for just this sort of
> thing, so this shouldn't take too much effort.
> 
> Am I reinventing the wheel here, or is this a worthwhile project?
> Please stop me if someone has already solved this problem!

Yeah, what you need is my "Liar's identd."  You can get the current
version from

	ftp://ftp.bsdconspiracy.net/pub/softweyr/liedentd.tgz

I have a couple of improvements from a beta tester to roll in, then 
I plan to commit it as a port.  It responds with the same answer
for every request; a future version will allow you to provide a
list of responses to make.

The default reponse is "Fools trust ident"

-- 
            "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                         Softweyr LLC
wes@softweyr.com                                           http://softweyr.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message