[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

midentd broken at logging stage (file permissions).



I noticed that midentd is the default ident daemon for frozen now. I think
this is a realy cool program because most linux boxes are either NAT or
part of NAT. It's realy cool to see a program that fills such a huge need
BUT... there are bugs I think.


I don't know why it does this but:
telnet localhost 113
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
print on closed filehandle main::LOG at /usr/sbin/midentd line 161.
a
print on closed filehandle main::LOG at /usr/sbin/midentd line 161.
0,0 : ERROR : INVALID-PORT
print on closed filehandle main::LOG at /usr/sbin/midentd line 161.


thoes errors can be sent to the client. 
It seems like midentd does not have access to /var/log/midentd. This
should be changed. 

In any event I changed the program to insted 
open (FH, ">> /tmp/midentd.log");
print FH localtime(). " [$$] $logtext\n";
for testing and it still does not work for MASQ addresses. I could be
using the program wrong but I put my ip in the midentd.mircusers and this
is what is logged.
Tue Feb 15 15:25:15 2000 [9483] Masqueraded connection, checking with
192.168.1.99
Tue Feb 15 15:25:15 2000 [9483] looking for 192.168.1.99 in mircusers
Tue Feb 15 15:25:15 2000 [9483] Doing MASQ request
Tue Feb 15 15:25:16 2000 [9483] Returning 62110 , 6667 : ERROR : NO-USER
Tue Feb 15 15:25:16 2000 [9483] Returning 62110 , 6667 : ERROR : NO-USER
Tue Feb 15 15:25:17 2000 [9484] Returning 0,0 : ERROR : INVALID-PORT

I don't realy know why and I don't have time to fix it right now. I
would like to file this as a bug report (I don't know that processes).


-Ryan White


Reply to: