Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 1998 09:47:03 -0400
From:      Forrest Aldrich <forrie@tiac.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Xinetd on FreeBSD 2.2.6
Message-ID:  <199804241346.JAA00462@navisite.net>

next in thread | raw e-mail | index | archive | help
Hi, 

I've been in touch with one of the developers with regards to problems I'm
having with getting Xinetd to run under FreeBSD.  To no avail... we've not
been able to narrow down the problem.  So I wonder if someone there might
have a pointer.

The permissions are correct on the executable (700), and here is the last
draft of a config I was using (attached).

What happens is I connect to the service and it just dumps the connection.
I've tried specifying
"interface = 0.0.0.0" and using both name and IP addresses in the acl.  No
go.  It occurs on any service.  It also doesn't matter if I specify a
network as xxx.xxx.xxx or xxx.xxx.xxx. with the "." at the end.  Very
confusing.

Thanks,

Forrest

# some generic defaults
defaults
{
    instances   = 15
    log_type    = FILE /var/log/xinetd.log
    log_on_success  = HOST PID
    log_on_failure  = HOST RECORD
}

# core tcp-based services that we will permit
service ftp
{
    socket_type     = stream
    interface       = 0.0.0.0
    protocol        = tcp
    wait            = no
    user            = root
    server          = /usr/libexec/ftpd
    server_args     = -l -a
log_on_success  += USERID EXIT
    log_on_failure  += USERID ATTEMPT
    only_from       = 207.252.86 nav133.cmgi.com
    only_from       = davinci.cmgi.com
}   

# only permit from our network, ssh connections will be
# used exclusively.
service telnet
{
    socket_type     = stream
    protocol        = tcp
    interface       = 0.0.0.0
    wait            = no
    user            = root
    server          = /usr/local/etc/banners/telnetd.sh
    log_on_success  += USERID EXIT
    log_on_failure  += USERID ATTEMPT
    only_from       = 207.252.86 nav133.cmgi.com
    only_from       = davinci.cmgi.com
}   

service pop3
{
    socket_type     = stream
interface       = 0.0.0.0
    protocol        = tcp
    wait            = no
    user            = root
    server          = /usr/local/libexec/popper
    server_args     = -s
}   

service ident
{
    socket_type     = stream
    protocol        = tcp
    interface       = 0.0.0.0
    wait            = no
    user            = root
    server          = /usr/local/sbin/in.identd
    server_args     = -t120
}   



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804241346.JAA00462>