Re: Not reading /etc/hosts.allow

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

 




Hey,

For that service in /etc/hosts.allow it would go like this:

in.telnetd : 192.168.14.154

Also be sure that telnet is uncommented in /etc/inetd.conf and that it is 
running.  I have compiled OpenSSH on rh6 and 6.2.  Probably want to get in 
the habit of using that even though you are probably on a private network.

On Mon, 28 Oct 2002, Philip Ching (605.734.71) wrote:

> 
> 
> Hi,
> 
> I have server: RH6.2/192.168.14.157   and 
>        client: RH6.0/192.168.14.154
> 
> I setup in the server: /etc/hosts.allow
> 	   	       192.168.14.154
> 
> and in     	       /etc/hosts.deny
> 	   	       All: All
> 
> But I cannot do telnet from client (192.168.14.154) to the
> server. It says "Connection closed by foreign host"
> 
> Why is that? I just follow the book which describes the
> TCP_Wrapper as parse the /etc/hosts.allow first. If there 
> is a match then let it in. Otherwise the TCP_Wrapper will 
> check the line in /etc/hosts.deny to make a decision.
> 
> What did I do wrong? Can some one help me?
> 
> Thank you!
> 
> Philip Ching
> 
> 
> ------------------------------------------------------------------------
>      To unsubscribe email security-discuss-request@linuxsecurity.com
>          with "unsubscribe" in the subject of the message.
> 

-- 
duane

'People demand freedom of speech to make up for the freedom of thought 
which they avoid.'
- Kierkegaard

http://www.linuxsecurity.com/feature_stories/feature_story-116.html
http://www.linuxsecurity.com/feature_stories/dsniff-monitoring.html -- Updated Version
http://www.linuxsecurity.com/feature_stories/feature_story-89.html
http://www.linuxsecurity.com/feature_stories/feature_story-88.html

------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux