Greg
10-24-2003, 10:45 AM
Most servers don't run the identd service because it has security issues. In some cases though it is necessary to have at least an ident userid sent to the servers you may connect to, especially ircd servers.
Nullidentd is a stream lined replacement for identd. It will send a userid to servers you connect to and nothing else. It sends the bare minimum to satisfy the auth request.
Nullidentd comes with instructions for starting it with inetd, but most of the newer servers are running xinetd. Heres an example of an xinetd startup file. This file is /etc/xinetd.d/nullidentd.
service auth
{
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/sbin/nullidentd
disable = no
}
The program defaults to the ident userid of "foobar". You can edit the nullidentd.c and find "foobar" and replace it with whatever you want before running make. After running make move nullident to /usr/sbin.
Nullidentd is a stream lined replacement for identd. It will send a userid to servers you connect to and nothing else. It sends the bare minimum to satisfy the auth request.
Nullidentd comes with instructions for starting it with inetd, but most of the newer servers are running xinetd. Heres an example of an xinetd startup file. This file is /etc/xinetd.d/nullidentd.
service auth
{
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/sbin/nullidentd
disable = no
}
The program defaults to the ident userid of "foobar". You can edit the nullidentd.c and find "foobar" and replace it with whatever you want before running make. After running make move nullident to /usr/sbin.