[SunHELP] Re: tcpwrapper

Jason K. Schechner sunhelp at sunhelp.org
Wed Mar 28 15:26:01 CST 2001


On Wed, 28 Mar 2001, souleymane kante wrote:

> Hi
> Nothing happen when I try to connect, the tcpd is not working. I can
> connect from any host.
> when I move the in.telnetd and  in.ftpd programs in another directory
> (/test/tcpd) and  I change the inetd.conf file like :
> ftp     stream  tcp     nowait  root    /usr/sbin/tcpd
> /test/tcpd/in.ftpd
> telnet  stream  tcp     nowait  root    /usr/sbin/tcpd
> /test/tcpd/in.telnetd
> 
> FTP and TELNET connections are not possible.  It seams like that the
> system can not find the in.telnetd and in.ftpd daemons when they are in
> the /test/tcpd directory.

Our of curiuosity, why aren't you using the daemons where they come?  
 
> I have these files:
> /etc/inet/inetd.conf
> /usr/sbin/tcpd
> /usr/include/tcpd.h
> /usr/lib/libwrap.a

Your hosts.deny doesn't look like it's blocking anything other than most
ssh connections.  Try something like this in hosts.deny:

sshd, in.ftpd, in.telnetd: ALL

-or-

ALL:ALL


[snip] 
> > :::::::::::::::
> > hosts.deny
> > :::::::::::::::
> > sshd: ALL


-Jason

-----
Jason K. Schechner  -   check out www.cauce.org and help ban spam-mail.
=The difference between genius and stupidity is that genius has bounds.=
---There is no TRUTH.  There is no REALITY.  There is no CONSISTENCY.---
   ---There are no ABSOLUTE STATEMENTS   I'm very probably wrong.---





More information about the SunHELP mailing list