Dawid Szymaski <dawszy@arhea.net>
NIDENTD 1.0
ftp://ftp.arhea.net/pub/NetBSD/nidentd/

Thanks to:
 Hubert Feyrer <hubertf@netbsd.org>


IMPORTANT !!!
You need lsof installed !!!
pkgsrc/sysutils/lsof

Options :
	- use no option if you wan't just (clear) IPv4 replies
	-6 - to use IPv6 protocol only
	-m - to use IPv4 with NAT support (doesn't work either with -f,-6 or -r)
	-r - random replies
	-f - faked replies

Samples

 ROOT PERMISSIONS ARE ONLY NEEDED FOR NAT !!!

 ident	stream tcp nowait root /usr/local/bin/nidentd nidentd -m
 ident	stream tcp6 nowait nobody /usr/local/bin/nidentd nidentd -6

BUGS !!! (those known)

If loginname is longer then 8 characters then if using fake you have to
specify just 8 characters in nidnetd.fake as original.
It's becouse of lsof doesn't handle longer usernames.
