[4886] 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 23:20:19 1996

Date: Sun, 17 Nov 1996 23:14:32 -0500 (EST)
From: Daniel Senie <dts@senie.com>
To: Ray Curtis <ray@fred.net>
cc: iweft@ipax.com.au, redhat-list@redhat.com
In-Reply-To: <199611180344.WAA03359@picard.comsat.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Sun, 17 Nov 1996, Ray Curtis wrote:

> Robert Hart writes:
>  > 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
>  > 
>  > which seem so similar I am wondering if they are the same...
> 
> Look further down the file. 
> 

These lines are incorrect, and should not be in the file. The first one
(TCP) actually does function, though it's a waste since time is built in
to inetd.

The UDP line is no good. The server will NOT respond to it, and creates a
looping service that inetd shoots.

> Are you running 4.0 ? My system with 4.0 has the lines:
> time	stream	tcp	nowait	nobody	/usr/sbin/tcpd	in.timed
> time	dgram	udp	wait	nobody	/usr/sbin/tcpd	in.timed

So, if you remove these lines, and add the ones I had above, both TCP and
UDP will then work.

> 
> It also has the line:
> # Echo, discard, daytime, and chargen are used primarily for testing.
> 
> I wonder ?

Normally you should not need any of these other services enabled. Time,
though, can really be useful.

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