Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 1999 18:24:35 +1200
From:      "Dan Langille" <junkmale@xtra.co.nz>
To:        Alfred Perlstein <bright@rush.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: locating an IP address
Message-ID:  <19990427062625.PUOY5596385.mta1-rme@wocker>
In-Reply-To: <Pine.BSF.3.96.990427012638.2095F-100000@cygnus.rush.net>
References:  <19990427060233.PPTB5596385.mta1-rme@wocker>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27 Apr 99, at 1:29, Alfred Perlstein wrote:

> On Tue, 27 Apr 1999, Dan Langille wrote:
> 
> > I have a web bot going through my website.  I appears to be ignoring my
> > robots.txt file.   The only entries in the logs are spy1.ny.rubis.net
> > and spy2.ny.rubis.net.  I can't find an IP address for this name.  If I
> > could, I'd be able to stop it at my firewall.  I've used nslookup an
> > tried to list the domain.  But now luck.
> 
> Turn off reverse lookups in the log files and block out the subnet
> that the spy is coming from, you can easily post process the IP->dns
> stuff, you can't easily do the reverse.

DOH!

Of course.  For apache it's:

# HostnameLookups: Log the names of clients or just their IP numbers
#   e.g.   www.apache.org (on) or 204.62.129.132 (off)            
# You should probably turn this off unless you are going to actually
# use the information in your logs, or with a CGI.  Leaving this on
# can slow down access to your site.
HostnameLookups off

cheers!

--
Dan Langille - DVL Software Limited
The FreeBSD Diary     - http://www.FreeBSDDiary.org/freebsd/
NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/
The Racing System     - http://www.racingsystem.com/racingsystem.htm


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990427062625.PUOY5596385.mta1-rme>