> On Nov 13, 2019, at 6:58 AM, Wietse Venema <wie...@porcupine.org> wrote:
> 
> Implementations of the IDENT protocol (RFC 931) have been around
> for decennia.

Sure, but here's a comment from the source code of Debian's "pidentd":

 * We have observed Debian identd (on a fairly busy dual-CPU machine)
 * sometimes reporting 'root' for connections belonging to "real" users.

That code uses /proc/net/tcp, which we're able to reproduce, but we also
see the same via the AF_NETLINK kernel API, which one might expect to
be more robust.  In either case the uid/pid/... are sometimes not available
even though the connection is established, and the client has not closed.

So Linux support for this is in at least some cases subject to races, but
the OP may be sufficiently lucky to avoid these.

-- 
        Viktor.

Reply via email to