Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Filtering based on domains
Date: Wed, 26 Sep 2007 09:12:16 -0500	[thread overview]
Message-ID: <46FA68C0.1040607@riverviewtech.net> (raw)
In-Reply-To: <46FA6738.1090102@riverviewtech.net>

On 09/26/07 09:05, Grant Taylor wrote:
> I have never used GeoIP my self so I can't say for sure, but it was my 
> (mis)understanding that GeoIP was intended to associate IP ranges with 
> specific countries.  Thus the OPs request may seems to be a perfect 
> match for GeoIP.  But seeing as how I have never used it my self, I 
> don't know how it is implemented.  I have not really given it any 
> thought...
> 
> If you know any more about GeoIP please enlighten me.  TIA

I just did some quick reading on GeoIP and found that it uses a local 
database rather than using DNS lookups.  So, this probably would be a 
viable solution for the OP.

Of course this presumes that the OP is wanting to restrict access to / 
from the source / destination IP address domain and not the domain of 
pages being served by the web server.  For this, the OP would need some 
sort of layer 7 filtering, say a filtering proxy server, ala Squid.

Again, if I'm wrong, or misunderstood something please let me know.



Grant. . . .

  reply	other threads:[~2007-09-26 14:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25 14:42 Filtering based on domains Szabolcs Illes
2007-09-25 21:26 ` info
2007-09-26  1:42   ` Grant Taylor
2007-09-26  5:30     ` G.W. Haywood
2007-09-26 14:05       ` Grant Taylor
2007-09-26 14:12         ` Grant Taylor [this message]
2007-09-26 18:55           ` G.W. Haywood
2007-09-26 19:16             ` Grant Taylor

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=46FA68C0.1040607@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=gtaylor+reply@riverviewtech.net \
    --cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox