Skip site navigation (1)Skip section navigation (2)
Date:      25 Jan 2002 10:57:09 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Robert Watson <rwatson@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libpam/modules/pam_opieaccess pam_opieaccess.c
Message-ID:  <xzp665qbvnu.fsf@flood.ping.uio.no>
In-Reply-To: <20020125011133.GA89474@nagual.pp.ru>
References:  <20020125005725.GA89369@nagual.pp.ru> <Pine.NEB.3.96L.1020124200023.67438I-100000@fledge.watson.org> <20020125011133.GA89474@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
"Andrey A. Chernov" <ache@nagual.pp.ru> writes:
> On Thu, Jan 24, 2002 at 20:03:07 -0500, Robert Watson wrote:
> > Will it ever not be possible to pass a numeric IP address?
> For network connection, you get IP address first, not DNS name.
> I see no much sense to resolve it into DNS name then pass it to PAM where 
> modules will resolve it back to IP address. This whole part can be 
> skipped to be more secure in case something happens with resolver.

I actually removed the resolver code from login(1) in my PAMification
patches, so if you pass an IP address on the command line it won't do
a reverse lookup anymore (though maybe it should always do a *forward*
lookup, and pass the numeric form to PAM).  PAM modules don't care;
those that specifically need an IP address should obtain it with
getaddrinfo().

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp665qbvnu.fsf>