RE: [ILUG] Mailman problems

From: Fergal Moran (fergal.moran at domain wasptech.com)
Date: Tue 16 Jul 2002 - 10:49:24 IST


> From: kevin lyda [mailto:kevin at domain linux.ie]
Thanks for all this Kevin..

> On Tue, Jul 16, 2002 at 09:30:49AM +0100, Fergal Moran wrote:
> > > What does the line for finger look like in hosts.allow?
> > finger stream tcp nowait nobody /usr/sbin/tcpd
> in.fingerd -w
>
> netstat -anp|grep 79
> (see if the finger port is being lisened to, and what is
inetd is listening
akira:~ # netstat -anp | grep 79
tcp 0 0 0.0.0.0:79 0.0.0.0:*
LISTEN 693/inetd

> listening) ls -l /usr/sbin/in.fingerd
> (see if the finger daemon is on the system)
in.fingerd is on the system
akira:~ # ls -l /usr/sbin/in.fingerd
-r-xr-xr-x 1 root root 8304 Sep 20 2001
/usr/sbin/in.fingerd

> grep finger /var/log/messages
> (see if anything has mentioned finger in the logs)
The only mentions of finger in the logs corresponding to the list are

Jul 16 09:06:19 akira in.fingerd[10836]: connect from nobody at domain 127.0.0.1
(127.0.0.1)

Which appears when I try to sign up through the browser interface -
nothing appears when I try to send a mail to the list from an external
account - which would make sense because we don't allow finger requests
through the firewall.

> if you see inetd listening to port 79, you see that
> /usr/sbin/in.fingerd exists and you don't see finger in the
> logs, then as a last resort you could do this:
>
> strace -o /tmp/argh -f <pid of inetd>
>
> then try to finger and then stop the strace. read over the
> trace to see where it failed.
The finger appears to run through fine - as it must have seeing as the
output of the finger command is in the mail sent to root. The only
errors in the strace log are quite a few along the lines of

13127 close(61) = -1 EBADF (Bad file descriptor)

But nothing else except for a few grumps about .plan's not being
readable
I can send the trace to someone if they have the time/inclination to
have a read..

> kevin
Fergal..



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:53 GMT