Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RH7.1: enabling talk/ntalk via xinetd
@ 2002-03-30  8:54 Rajiv Prasad
  0 siblings, 0 replies; 2+ messages in thread
From: Rajiv Prasad @ 2002-03-30  8:54 UTC (permalink / raw)
  To: axp-list

Hi folks:

I am running kernel 2.4.19-pre4 on an SX164 under RH7.1.  ipchains was 
configured during the install to "medium" security.  I want to enable 
talk/ntalk using xinetd, but only locally.  Here is the relevant 
configuration:

1. /etc/services contains:
talk            517/udp
ntalk           518/udp

2. /etc/xinetd.conf contains the following lines:
defaults
{
        instances               = 60
        log_type                = SYSLOG authpriv
        log_on_success          = HOST PID
        log_on_failure          = HOST
        cps                     = 25 30
        enabled                 = talk
        only_from               = localhost
}

includedir /etc/xinetd.d

3. /etc/xinetd.d/talk contains:
service talk
{
        disable                 = no
        socket_type             = dgram
        wait                    = no
        user                    = nobody
        group                   = tty
        server                  = /usr/sbin/in.talkd
}

4. /etc/sysconfig/ipchains contains:
-A input -p udp --dport talk -j ACCEPT

After making changes to config files, I restarted ipchains and xinetd.  No 
errors were reported.  However, if I try to use talk, it complains:

[rajiv@ts46-01-qdr1065 rajiv]$ talk rajiv
talk: ntalk/udp: service is not registered.

What am I missing?  Do I need to somehow register ntalk/udp?  Isn't an entry 
in /etc/services enough?

Thanks for any pointers.

Rajiv




^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: RH7.1: enabling talk/ntalk via xinetd
@ 2002-04-02  0:16 Collin Baillie
  0 siblings, 0 replies; 2+ messages in thread
From: Collin Baillie @ 2002-04-02  0:16 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Rajiv,

Are you logging blocked connections with your firewall? If so are there any
hints in /var/log/messages about the conntections being refused?

Maybe in.talkd needs to be used in conjunction with the tcp wrapper daemon?
like this:

service talk
{
        disable                 = no
        socket_type             = dgram
        wait                    = no
        user                    = nobody
        group                   = tty
        server                  = /usr/sbin/tcpd
        server_args             = /usr/sbin/in.talkd
}


On a system I have at home (based on 6.2) I have this:

service talk
{
        flags       = REUSE NAMEINARGS
        socket_type = dgram
        protocol    = udp
        wait        = yes
        user        = nobody
        group       = tty
        server      = /usr/sbin/tcpd
        server_args = in.talkd
}


This was generated by the xconv.pl script.

Hope this helps.

Collin




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-02  0:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-30  8:54 RH7.1: enabling talk/ntalk via xinetd Rajiv Prasad
  -- strict thread matches above, loose matches on Subject: below --
2002-04-02  0:16 Collin Baillie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox