[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Problems in connecting to server.



Cab <leafnode@xxxxxxxxxx> writes:

> Hi there,
>
> I've just installed 1.9.40 on a Linux Mandrake 8.2 machine. Using
> xinetd.

> May 11 12:47:49 rosbif leafnode[3376]: can't open config file
> /etc/hosts.access: No such file or directory

That's strange. tcpd (or libwrap FWIW) usually uses /etc/hosts.allow and
/etc/hosts.deny.

> leafnode : 127.0.0.1 192.168.0.0/255.255.255.0

looks sound, but try

leafnode : 127.0.0.1 192.168.0.0/255.255.255.0 : ALLOW
leafnode : ALL : DENY

In hosts.access or hosts.allow.

Because Mandrake Linux 8.2's xinetd is compiled against libwrap, you can
also try a configuration like this:

        service nntp
        {
            socket_type     = stream
            protocol        = tcp
            wait            = no
            user            = news
            server          = /usr/local/sbin/leafnode
            instances       = 7
            per_source      = 3
        }

> I created a /etc/hosts.access file to be identical to /etc/hosts.allow
> to see what that gives, but I still get the second error 'refuse
> connect' in the log

Did you install the xinetd update from
http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2002:053

-- 
Matthias Andree
leafnode-1 download: http://sourceforge.net/projects/leafnode/
leafnode-1 docs/new: http://mandree.home.pages.de/leafnode/
leafnode-2 homepage: http://mandree.home.pages.de/leafnode/beta/

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list