Howdy, gotta strange problem with my setup. Since my comp's are behind NATted adsl-router I have forwarded port 113 to my debian (192.168.1.97) and I'm running oidentd (2.0.7) on it. Since all my irc-connection are being ran from this, the auth should work. Also I need a static ident-respons for one of my other comp's, therefore I'm using oidentd with the -r option so it should answer MYSTRING for that comp. But all of the sudden there's something broken with ident-reply's.
From /etc/inetd.conf:
Code:
auth stream tcp nowait nobody /usr/local/sbin/oidentd -rMYSTRING -I
This should answer with MYSTRING if the connection doesn't origin from debian, for example a irc-session. Problem is, debian answer's every auth with MYSTRING. For example if a user "Test" connect's to IRCNet it get's a ident "MYSTRING@my.publicdomain.com and not the
USER@my.publicdomain.com it should get. When I took a look in syslog I found this:
Code:
May 26 14:46:43 debian oidentd[26546]: Connection from XXXX.XXXX.fi (xxx.xxx.xxx1.xxx):41385
May 26 14:46:43 debian oidentd[26546]: [XXXX.XXXX.fi] Failed lookup: 14581 , 6667 : (returned MYSTRING)
If i disable "-rMYSTRING" and run "telnet 192.168.1.97 auth" I get "ERROR : NO-USER" wich is correct, and in this case the irc-session's get their right ident's.
To me it looks like oidentd cannot get the info from /proc/net/tcp but that's just me, a linux-newbie?
I've been doing google for two days straight now, all I found was
a oidentd-page in freshmeat where one user had similar problem, but no solution.
Any ideas anyone?