Re: /etc/inetd.conf entry to block telnet with tcp wrappers

From: Adam Hanel (hanela@BILLINGS.K12.MT.US)
Date: Fri Aug 29 2003 - 10:28:06 EDT


Instead of using in.telnetd or in.ftpd try just
ftpd:a.b.c.d
telnetd:a.b.c.d

or try
ALL:a.b.c.d

Where a.b.c.d is the machines ip's.

Your hosts.allow should be ok empty.

-Adam

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Raju G V (SSE-ISL-ITPL)
Sent: Thursday, August 28, 2003 6:19 AM
To: aix-l@Princeton.EDU
Subject: /etc/inetd.conf entry to block telnet with tcp wrappers

Hail All,

I have installed tcp wrappers in AIX 4.3 (P270) machine.
And configured the /etc/inetd.conf as to block telnet and ftp daemons
and added entries in /etc/hosts.deny as follows:

But, the system is blocking these for all the machines which try to
connect
this machine.
Please provide solution.

/etc/inetd.conf entry:
------------------------
telnet stream tcp6 nowait root /usr/sbin/tcpd -l -d telnetd
ftp stream tcp6 nowait root /usr/sbin/tcpd -l -d ftpd

/etc/hosts.deny entry:
----------------------

in.telnetd: <other machine ip address>
in.ftpd: <other machine ip address>

thanks and regards
g v raju
system administrator
ing vysya bank
india



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:10 EDT