[4875] 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 22:26:13 1996

Date: Sun, 17 Nov 1996 22:20:39 -0500 (EST)
From: Daniel Senie <dts@senie.com>
To: Robert Hart <iweft@ipax.com.au>
cc: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.95.961118135230.807B-100000@archenland.interweft.com.au>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Mon, 18 Nov 1996, Robert Hart wrote:

> On Sun, 17 Nov 1996, Daniel Senie wrote:
> 
> > 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
> 
> Interesting - I had a look at my /etc/inetd.conf and found...
> 
> #daytime        stream  tcp     nowait  root    internal
> #daytime        dgram   udp     wait    root    internal

I almost mentioned those in my message...

If you look in /etc/services, you'll see that daytime is a separate
service from time. They are indeed separate. All of the built-in services
in this version of inetd are listed in the inetd.conf that's installed,
except for time. I went looking at the sources to inetd before I was sure
of this...

> 
> which seem so similar I am wondering if they are the same...

I believe daytime displays human readable time, whereas time returns the
number of seconds since 1/1/1900 (in a 32 bit integer).

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