Re: [SLUG] weird web site viewer

From: steve szmidt (steve@szmidt.org)
Date: Sat Apr 22 2006 - 21:40:36 EDT


On Saturday 22 April 2006 15:41, Eben King wrote:
> On Wed, 19 Apr 2006, Eben King wrote:
> > Isn't there any way to add a port by number (not service name) to
> > hosts.deny? How about if I define tcp/81 as my_http in /etc/services?
>
> Found a way to block him. RingTFM, I found this gem:
>
> HOSTS_ACCESS(5)
> ...
> In the following text, daemon is the process name of a network daemon
> process, ...
>
> which is the basic idea of hosts.{allow,deny}. No apparent relation to
> /etc/services . Process names _generally_ are the same as service names
> (modulo in.* and *d), but they don't have to be. So I just added "thttpd :
> 208.181.115.2" to /etc/hosts.deny, and haven't heard from him since about
> 2:30 pm on 13 April.

I still prefer using the firewall as it's a cleaner cut. It's the first line
of defense. hosts is a second line which it does not hurt to do too.

-- 

Steve Szmidt

"To enjoy the right of political self-government, men must be capable of personal self-government - the virtue of self-control. A people without decency cannot be secure in its liberty. From the Declaration Principles ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:41:07 EDT