From: "Ed Street" <blacknet@simplyaquatics.com>
To: 'Antony Stone' <Antony@Soft-Solutions.co.uk>, netfilter@lists.samba.org
Subject: RE: hosts.deny
Date: Sun, 7 Jul 2002 22:27:16 -0400 [thread overview]
Message-ID: <001901c22626$f9e321a0$0a01a8c0@ed> (raw)
In-Reply-To: <20020708001157.EOH9709.mta02-svc.ntlworld.com@there>
Hello,
Well a few short lines of code would do that with no problem.
Ed
-----Original Message-----
From: netfilter-admin@lists.samba.org
[mailto:netfilter-admin@lists.samba.org] On Behalf Of Antony Stone
Sent: Sunday, July 07, 2002 8:12 PM
To: netfilter@lists.samba.org
Subject: Re: hosts.deny
On Monday 08 July 2002 1:01 am, Ed Street wrote:
> Hello,
>
> Dns lookups.
Well, yes, obviously the way to resolve hostnames to IP addresses is by
DNS
lookups :-)
What I meant was, how does your script cope when you want to block
something
like, say, www.microsoft.com, and the DNS lookup returns 6 different IP
addresses, from two different class C ranges (which is what I just got
by
doing a dig on the name) ?
> Note some cases the /netmask is somewhat overkill. I felt
> better safe than sorry, incase they have a block of ip's.
I'd have thought it unlikely that a hostname would resolve to multiple
contiguous IPs. If a company has enough load that they're running
multiple
servers, they're probably doing it on multiple feeds as well, which will
have
widely differing IP addresses.....
Antony.
> -----Original Message-----
> From: netfilter-admin@lists.samba.org
> [mailto:netfilter-admin@lists.samba.org] On Behalf Of Antony Stone
> Sent: Sunday, July 07, 2002 7:57 PM
> To: netfilter@lists.samba.org
> Subject: Re: hosts.deny
>
> On Monday 08 July 2002 12:48 am, Ed Street wrote:
> > Hello,
> >
> > Sure attached is the hosts.trashcan file I am currenly testing.
>
> Interesting. How does your script handle resolving machine names to
IP
>
> addresses (as shown in several examples in your trashcan file) when
one
> name
> corresponds to several IPs ?
>
>
>
> Antony.
next prev parent reply other threads:[~2002-07-08 2:27 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-07 23:24 hosts.deny George Vieira
2002-07-07 23:29 ` hosts.deny Antony Stone
2002-07-07 23:33 ` hosts.deny Ed Street
2002-07-07 23:38 ` hosts.deny Antony Stone
2002-07-07 23:48 ` hosts.deny Ed Street
2002-07-07 23:57 ` hosts.deny Antony Stone
2002-07-08 0:01 ` hosts.deny Ed Street
2002-07-08 0:11 ` hosts.deny Antony Stone
2002-07-08 2:27 ` Ed Street [this message]
2002-07-08 2:33 ` hosts.deny Antony Stone
2002-07-08 2:35 ` hosts.deny Ed Street
-- strict thread matches above, loose matches on Subject: below --
2002-07-07 23:58 hosts.deny George Vieira
2002-07-07 23:36 hosts.deny George Vieira
2002-07-07 23:43 ` hosts.deny Antony Stone
2002-07-07 23:49 ` hosts.deny Ed Street
2002-07-07 23:55 ` hosts.deny Antony Stone
2002-07-08 0:14 ` hosts.deny Martin Tomasek
2002-07-08 0:22 ` hosts.deny Antony Stone
2002-07-07 23:03 hosts.deny George Vieira
2002-07-07 23:20 ` hosts.deny Martin Tomasek
2002-07-07 22:54 hosts.deny Dennis Cardinale
2002-07-07 23:04 ` hosts.deny Antony Stone
2002-07-07 23:51 ` hosts.deny Jack Bowling
2002-07-07 23:59 ` hosts.deny Antony Stone
2002-07-08 1:50 ` hosts.deny Jack Bowling
2002-07-08 13:09 ` hosts.deny Ian C. Sison
2002-07-08 12:07 ` hosts.deny Matthew Hellman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001901c22626$f9e321a0$0a01a8c0@ed' \
--to=blacknet@simplyaquatics.com \
--cc=Antony@Soft-Solutions.co.uk \
--cc=netfilter@lists.samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.