LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-26-2005, 07:00 AM   #1
CP-Geek
LQ Newbie
 
Registered: May 2005
Posts: 1

Rep: Reputation: 0
Debian 2.4.18-bf2.4 and Oidentd problem


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?
 
Old 06-13-2005, 09:15 AM   #2
jonas.bjorck
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
I had the same issue as you, after running oidentd in debug mode i noticed that it tried to read from /proc/net/ip_conntrack (which it hadn't rights to do) after giving it +r there it worked fine.

I don't know if this is the proper way, but it fixed my prob
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
oidentd problem darkrad Linux - Networking 3 09-16-2005 04:04 AM
HELP!! Install ATI Mobility RADEON 9000 driver on Debian Kernel 2.4.18-bf2.4?? herbu Linux - Laptop and Netbook 3 11-21-2004 03:37 AM
Debian printer Epson Stylus color 480 Setup on kernel 2.4.18-bf2.4 silverstormboy Debian 3 07-17-2004 10:49 PM
X freezes with GeforceFX and Debian bf2.4 allroy Linux - Software 7 02-11-2004 04:45 PM
Debian bf2.4 and nVidia Geforce4 440 MX se question minze Linux - Newbie 1 08-31-2003 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration