[4846] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: in.timed UDP fails

daemon@ATHENA.MIT.EDU (Daniel Senie)
Sun Nov 17 19:54:41 1996

Date: Sun, 17 Nov 1996 19:25:15 -0500 (EST)
From: Daniel Senie <dts@senie.com>
To: Wierdl Mate <matyi@wierdlmpc.msci.memphis.edu>
cc: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Sun, 17 Nov 1996, Wierdl Mate wrote:

> > Making a UDP time request (port 37) to RH4.0 doesn't work. I've got the
> > following line in my inetd.conf:
> > 
> > time   dgram   udp     wait    nobody  /usr/sbin/tcpd  in.timed
> > 
> > And the result when a UDP request comes in is:
> > 
> > inetd[166]: time/udp server failing (looping), service terminated
> > 
> > TCP requests come in and I've got the following line:
> > 
> > time    stream  tcp     nowait  nobody  /usr/sbin/tcpd  in.timed
> > 
> > and that works fine. Does the in.timed with RH4.0 support UDP? Seems like
> > that might be the problem.
> 
> If it is comforting, I get the same error message --- but I got it even
> with 3.03. 

I seem to have solved the problem, and the solution may be of interest to
the list. It seems that somewhere along the line inetd became empowered
with an internal time service capability.

Anyway, remove any lines you have in your inetd.conf that start with
"time" and try to run in.timed. Instead, add the following two lines:

time            stream  tcp     nowait  root    internal
time            dgram   udp     wait    root    internal

I'd like to suggest to whomever maintains the NetKit package (and to the
redhat folks who do patches to the Netkit) that these two lines be added
to the standard inetd.conf.

At any rate, my router now picks up its timestamp from my server, which
was the desired result. Hope the above helps others.

Dan

---------------------------------------------------------------
Daniel Senie                 Internet:     dan@senie.com,
Daniel Senie Consulting                    n1jeb@senie.com
http://www.senie.com         Packet Radio: N1JEB@KA1SRD.MA

If we suffer tamely a lawless attack upon our liberty, we encourage it,
and involve others in our doom.  -- Samuel Adams



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post