Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Enable identd server for internet relay chat use' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Enable identd server for internet relay chat use
Authored by: rminsk on Nov 13, '03 09:57:49PM

For people without a c compiler I think the following perl script will work:

#!/usr/bin/perl
$in=<STDIN>;
chomp($in);
print "$in : USERID : UNIX : SPAZ$$";



[ Reply to This | # ]
10.3: Enable identd server for internet relay chat use
Authored by: nilsel on Dec 11, '03 11:18:22AM
That perl script worked great for me (10.3.1, without devTools), make sure you give the script executable permission (chmod a+x) first.
Then add this snipplet in /etc/xinetd.conf:
service perl_identd
{
type = UNLISTED
socket_type = stream
protocol = tcp
wait = no
server = /PATH/TO/SCRIPT
port = 113
user = YOUR_USERNAME
}


Do a sudo killall -HUP xinetd to restart xinetd.
any corrections are welcome :)

[ Reply to This | # ]
10.3: Enable identd server for internet relay chat use
Authored by: joesample on Feb 27, '04 03:09:37PM

Thanks for the script and advice, but I'm still having a problem.

I did the following:
1- created and chmod'ed the perl scrip
2- added the lines to xinetd.conf
3- restarted the xinetd daemon

Now my IRC client no longer gives the error No Identd response.
But... I still cannot connect to my desired IRC server because it appears the Identd response from my machine gives 127.0.0.1 and this is not allowed by the IRC server. I know this is my localhost IP address. How might I fix this so I am returning either my internal IP (192.168.0.100) or my firewall gateway IP (dynamic Ip)?

btw- I have a dynamic IP forwarding service so I can use a URL to redirect to my computer (myname.hopto.com) and get around the dyanmic IP problem but not sure if this helps with Identd

Thanks!!!



[ Reply to This | # ]