* How to block traffic country-wise?
@ 2006-05-26 21:54 Dirk
2006-05-27 12:42 ` Samuel Jean
0 siblings, 1 reply; 2+ messages in thread
From: Dirk @ 2006-05-26 21:54 UTC (permalink / raw)
To: netfilter-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to block traffic country-wise?
2006-05-26 21:54 How to block traffic country-wise? Dirk
@ 2006-05-27 12:42 ` Samuel Jean
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Jean @ 2006-05-27 12:42 UTC (permalink / raw)
To: Dirk; +Cc: netfilter-devel
On Fri, 2006-26-05 at 23:54 +0200, Dirk wrote:
> Hello,
> I want to write a firewall that can block traffic from specific
> countries using GeoIP.dat.
There is the geoip match module for iptables.
> Can someone give me a hint, example, snippet or link?
There is the PoM module:
http://people.netfilter.org/~peejix/patchlets/
Krzysztof Olędzki patch for linux 2.6.16.x:
https://lists.netfilter.org/pipermail/netfilter-devel/2006-May/024303.html
There is the howto:
http://people.netfilter.org/~peejix/geoip/howto/geoip-HOWTO.html
HTH,
--peejix
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-27 12:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-26 21:54 How to block traffic country-wise? Dirk
2006-05-27 12:42 ` Samuel Jean
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.