Re: tcpwrappers & SSH

[ Available lists | Index of freebsd-questions | Month of Oct 2006 | Week of 25 Oct 2006 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Paul Schmehl <pauls@utdallas.edu>
Date
25 Oct 2006 14:59:47
Subject
Re: tcpwrappers & SSH
Message-ID
25EF2257D42835E7C800F7AB@utd59514.utdallas.edu

Replies

[ Hide this part ]
--On Wednesday, October 25, 2006 12:08:26 +0400  
<rihad@mail.ru> wrote:

> A comment in /etc/hosts.allow states that:
> Wrapping sshd(8) is not normally a good idea
>
> Why? Is it because such restrictions should naturally be made using a
> firewall/PAM/sshd itself/whatever? I think GENERIC sshd wouldn't have
> been built with libwrap support in the first place. Or?
>
Because maintaining the access list can be quite ponderous if you have a
lot of users.

I maintain a hobby website that only has two shell accounts. I use
hosts.allow for ssh because it gets rid of the brute-force crap. But even
for two users, the list of hosts/networks that are allowed is 10 or 15.
Imagine what it would be if you have a hundred users...or a thousand.

Paul Schmehl (pauls@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/



Elapsed time: 0.118 seconds