telnet question

Mitchell Patenaude mrp at sonic.net
Wed Jul 19 18:01:50 PDT 2000


On Wed, Jul 19, 2000 at 05:34:47PM -0700, David Johnson wrote:
> I went through your first checklist and everything checked out o.k.
> when I checked my /etc/hosts.(allow|deny) I got this..
> 
> contents of /etc/hosts.allow
> 
> swat:    127.0.0.1    192.168.0.

Okay, this means that you can connect to the swat port/daemon from
the loopback address and the 19.168.0.* IP range.

You can add permissions like so:

in.telnetd:	192.168.1.240/255.255.255.240

which allows telnet from the addresses in the range 192.168.1.(240-255)

Of you can do specific addresses:

in.telnetd:	10.6.78.40

Or combinations of lots of other things... type 'man hosts.allow' to 
get a better tutorial.

   -- Mitch



More information about the talk mailing list