All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk <noisyb@gmx.net>
To: netfilter-devel@lists.netfilter.org
Subject: How to block traffic country-wise?
Date: Fri, 26 May 2006 23:54:34 +0200	[thread overview]
Message-ID: <4477791A.5070100@gmx.net> (raw)

Hello,
I want to write a firewall that can block traffic from specific
countries using GeoIP.dat.

I downloaded libnetfilter_queue because I think it can do what I want.

1) Get IP of connection
2) Check local GeoIP database
3) Refuse or Allow connection

But the included examples don't work. Maybe I'm completely wrong by
starting with libnetfilter_queue or the included example?

Can someone give me a hint, example, snippet or link?

Thanks,
Dirk

             reply	other threads:[~2006-05-26 21:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-26 21:54 Dirk [this message]
2006-05-27 12:42 ` How to block traffic country-wise? Samuel Jean

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=4477791A.5070100@gmx.net \
    --to=noisyb@gmx.net \
    --cc=netfilter-devel@lists.netfilter.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.