Hosts.allow and Hosts.deny

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: MikeCantrellyomahz@devnull.org
Date:  
Subject: Hosts.allow and Hosts.deny
This is a multi-part message in MIME format.

------=_NextPart_000_0014_01BFFA70.889C77A0
Content-Type: text/plain;
    charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


I think you need to have commas (,) seperating the ip's if you want them =
on the same line.=20

You also might want to check your usage for the service names... instead =
of using telnet or ftp , you'd probably want to use in.telnetd or =
in.ftpd on most linux distro's but that might not always be the case. =
I'd check your /etc/inetd.conf for the actual name (this obviously does =
not apply to ALL).

Regards,
Mike Cantrell



----- Original Message -----=20
From: David Demland=20
To: PLUG Discuss=20
Sent: Sunday, July 30, 2000 8:08 PM
Subject: Hosts.allow and Hosts.deny


Alright maybe I am a little slow but I thought I had this under =
control at one point, now it all seems to be different. I have my =
firewall working, but I have been having problems with FTP, telnet, =
swat, etc working for the internal network. I have been working with the =
firewall thinking it was there. I just ran a test that makes everything =
I thought was either wrong or incorrect. Here it goes:

My hosts.deny file has the following line:

  ALL:    ALL


My hosts.allow has the following lines:

  ALL:    127.0.0.1    192.168.0.
  swat:    127.0.0.1    192.168.0.


I can not get any of the services to work on the internal network. FTP =
and telnet will not work to the Linux box, nor will swat. I have tried =
the following lines as well and they did not work either:

  ftp:    127.0.0.1    192.168.0.
  telnet:    127.0.0.1    192.168.0.


What am I missing?

Thank you,

David

------=_NextPart_000_0014_01BFFA70.889C77A0
Content-Type: text/html;
    charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I think you&nbsp;need to have commas =
(,) seperating=20
the ip's if you want them on the same line. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>You also might want to check your usage =
for the=20
service names... instead of using telnet or ftp , you'd probably want to =
use=20
in.telnetd or in.ftpd on most linux distro's but that might not always =
be the=20
case. I'd check your /etc/inetd.conf for the actual name (this obviously =
does=20
not apply to ALL).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Mike Cantrell</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:demland@home.com" title=>David =
Demland</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:plug-discuss@lists.PLUG.phoenix.az.us"=20
title=>PLUG Discuss</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Sunday, July 30, 2000 =
8:08 PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Hosts.allow and =
Hosts.deny</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Alright maybe I am a little slow but =
I thought I=20
had this under control at one point, now it all seems to be different. =
I have=20
my firewall working, but I have been having problems with FTP, telnet, =
swat,=20
etc working for the internal network. I have been working with the =
firewall=20
thinking it was there. I just ran a test that makes everything I =
thought was=20
either wrong or incorrect. Here it goes:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My hosts.deny file has the following=20
line:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ALL:&nbsp;&nbsp;&nbsp; =
ALL</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My hosts.allow has the following=20
lines:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ALL:&nbsp;&nbsp;&nbsp;=20
127.0.0.1&nbsp;&nbsp;&nbsp; 192.168.0.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>swat:&nbsp;&nbsp;&nbsp;=20
127.0.0.1&nbsp;&nbsp;&nbsp; 192.168.0.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I can not get any of the services to =
work on the=20
internal network. FTP and telnet will not work to the Linux box, nor =
will=20
swat. I have tried the following lines as well and they did not work=20
either:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>ftp:&nbsp;&nbsp;&nbsp;=20
127.0.0.1&nbsp;&nbsp;&nbsp; 192.168.0.</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>telnet:&nbsp;&nbsp;&nbsp;=20
127.0.0.1&nbsp;&nbsp;&nbsp; 192.168.0.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>What am I missing?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you,</DIV>
<DIV>&nbsp;</DIV>
<DIV>David</DIV></DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0014_01BFFA70.889C77A0--