[4207] in linux-net channel archive
Re: Ident and virtual interfaces
daemon@ATHENA.MIT.EDU (David Luyer)
Wed Aug 28 03:10:08 1996
Date: Wed, 28 Aug 1996 11:17:09 +0800 (WST)
From: David Luyer <luyer@ucs.uwa.edu.au>
Reply-To: David Luyer <luyer@ucs.uwa.edu.au>
To: Paul Wouters <paul@xtdnet.nl>
cc: linux-net@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.93.960827183924.11893A-100000@bean.xtdnet.nl>
On 28 Aug 1996, Paul Wouters wrote:
>> I have a machine that has a few virtual ethernet interfaces, using
>> IP_ALIAS. My problem is that ident (RFC 1413) states that the ident
>> request must come from the same IP# as the connection you are asking
>> about. However, if I want to know information about a connection to my
>> virtual interface, I am stuck. Since my outgoing ident request uses the
>> physicial ethernet's IP number it differs from the connection I am asking
>> informaiton about (the virtual interface's IP number).
>>
>> Is there any solution for this, or is ident something I really can't use
>> anymore ?
Just remember to bind() before you do the ident query. Common bug in a
few programs I've seen. Recent libident's get it right, but some programs
which do their own ident checking (to implement it with non-blocking i/o
in a single-process server) are missing this, it's fairly trivial to add.
David.