Re: tcpwrapper and xinetd

From: Preston W. Toliver (ptoliver@pcc.edu)
Date: 08/17/01


From: "Preston W. Toliver" <ptoliver@pcc.edu>
To: focus-linux@securityfocus.org
Date: Thu, 16 Aug 2001 16:38:26 -0700
Subject: Re: tcpwrapper and xinetd
Message-ID: <3B7BF702.31328.19A1727@localhost>

On 16 Aug 2001, at 15:54, Seth Arnold wrote:

> I do not think xinetd uses tcp_wrappers -- it has re-implemented much
> of the functionality. Take a look at xinetd.conf(5), look for only_from.

Hello!

That's not necessarily true -- xinetd CAN use tcp_wrappers (tcpd),
and how it's configured by default depends on distro and
type/method of install.

On one of my systems (Mandrake 7.2), xinetd "out of the box" has
config files for each service, and they call the tcpd binary for the
service.

For example, this is the "telnet" config file (/etc/xinetd.d/telnet):

#################################################
service telnet
{
        flags = REUSE
        socket_type = stream
        wait = no
        user = root
        server = /usr/sbin/in.telnetd
        log_on_failure += USERID
}
#################################################

...and it most certainly DOES query hosts.allow/hosts.deny.

Hope that I do not speak out of turn...

-P.W.T.

(that service is disabled, of course ^_^ )
_________________________________________________
Preston W. Toliver
Academic Computing Services Instructional Tech. III
  & CRC Manager
PCC Rock Creek
ptoliver@pcc.edu
503-614-7162



Relevant Pages

  • Re: tcpwrapper and xinetd
    ... Subject: tcpwrapper and xinetd ... On Thu, 16 Aug 2001, Seth Arnold wrote: ... > of the functionality. ... you can compile xinetd with libwrap support. ...
    (Focus-Linux)
  • Re: starting IMAPD, with xinetd?
    ... You only need to signal xinetd. ... > of examples in your existing xinetd config files, ... And like it or not, new people are getting into Linux more and more, ... I thought my asking for help, after mentioning what I have ...
    (comp.os.linux.misc)
  • Re: ftpd on xinetd
    ... On the client, I use gftp. ... xinetd is running and that pure-ftp is enabled. ... I've been thru the config files. ...
    (Fedora)
  • Re: how to restart xinetd
    ... I have installed SUSE 8.2 and realized that it is installed ... Charles, ... there should be a script in /etc/init.d called xinetd. ... reread its config files without terminating. ...
    (alt.os.linux.suse)