Skip to contentSkip to conversation

Maintaining the geoip patchlet

DISCUSSION Samuel Jean 3 participants 6 messages May 5, 2006 – May 11, 2006 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

I've been quite busy past months and couldn't track the geoip status in current Linux kernels. I've dropped registration of cookinglinux.org and this is why our email addresses don't work anymore. Sorry for that.

Nicolas and I will continue to maintain the geoip match. I am gonna setup the repository tonight, after work.

I think this apt-like pom is a great idea.

Keep up the good work.

Cheers,
--peejix

#1 lore raw
Quoted 2 lines · Samuel Jean

Nicolas and I will continue to maintain the geoip match. I am gonna setup the repository tonight, after work.

Patrick --

Here's the URL where my index file waits happily.

http://mynodes.net/pub/linux/netfilter/patchlets/

This, in fact, redirect to my people.netfilter.org. Please let curl allow redirection.

Cheers,
--peejix

#2 lore raw
Quoted 8 lines · Samuel Jean

Patrick --

Here's the URL where my index file waits happily.

http://mynodes.net/pub/linux/netfilter/patchlets/

This, in fact, redirect to my people.netfilter.org. Please let curl allow redirection.

Thanks. I've CCed Krzysztof Oldzki, who also volunteered for geoip, since you are the original author I'm going to add your repository. I think I'll start pushing out stuff later today. I'm not sure if the way curl is currently used supports redirects, we'll see :)

#3 lore raw
Quoted 7 lines · Patrick McHardy
Quoted 6 lines · Samuel Jean

Patrick --

Here's the URL where my index file waits happily.

http://mynodes.net/pub/linux/netfilter/patchlets/

Quoted 8 lines
Quoted 2 lines

This, in fact, redirect to my people.netfilter.org. Please let curl allow redirection.

Thanks. I've CCed Krzysztof Oldzki, who also volunteered for geoip, since you are the original author I'm going to add your repository. I think I'll start pushing out stuff later today. I'm not sure if the way curl is currently used supports redirects, we'll see :)

Oh, OK :) Anything left for me? ;) If so I would like to request a people.netfilter.org account if that is possible as I cannot provide reliable and fast enough public ftp server myself.

Thanks.

Best regards,

Krzysztof Oledzki

#5 lore raw
In reply to Samuel Jean
Quoted 6 lines · Samuel Jean

Hi,

I've been quite busy past months and couldn't track the geoip status in current Linux kernels. I've dropped registration of cookinglinux.org and this is why our email addresses don't work anymore. Sorry for that.

Quoted 6 lines

Nicolas and I will continue to maintain the geoip match. I am gonna setup the repository tonight, after work.

I think this apt-like pom is a great idea.

Keep up the good work.

I attached patch for geoip that makes it usable with 2.6.16.x kernels. It also kills warnings about incompatible types. Thanks.

Best regards,

Krzysztof Olędzki

patchlets/geoip/linux-2.6/net/ipv4/netfilter/Makefile.ladd +1 -1
diff -Nur patch-o-matic-ng-20060328-orig/patchlets/geoip/linux-2.6/net/ipv4/netfilter/Makefile.ladd patch-o-matic-ng-20060328/patchlets/geoip/linux-2.6/net/ipv4/netfilter/Makefile.ladd
@@ -1,3 +1,3 @@
-obj-$(CONFIG_IP_NF_MATCH_LIMIT) += ipt_limit.o
+obj-$(CONFIG_IP_NF_MATCH_RECENT) += ipt_recent.o
 obj-$(CONFIG_IP_NF_MATCH_GEOIP) += ipt_geoip.o
 
patchlets/geoip/linux-2.6/net/ipv4/netfilter/ipt_geoip.c +2 -1
diff -Nur patch-o-matic-ng-20060328-orig/patchlets/geoip/linux-2.6/net/ipv4/netfilter/ipt_geoip.c patch-o-matic-ng-20060328/patchlets/geoip/linux-2.6/net/ipv4/netfilter/ipt_geoip.c
@@ -99,6 +99,7 @@
                  const struct net_device *out,
                  const void *matchinfo,
                  int offset,
+		 unsigned int protoff,
                  int *hotdrop)
 {
    const struct ipt_geoip_info *info = matchinfo;
@@ -133,7 +134,7 @@
 }
 
 static int geoip_checkentry(const char *tablename,
-                             const struct ipt_ip *ip,
+                             const void *ip,
                              void *matchinfo,
                              unsigned int matchsize,
                              unsigned int hook_mask)
#4 lore raw
In reply to Krzysztof Oledzki
Quoted 9 lines · Krzysztof Oledzki
Quoted 4 lines

Thanks. I've CCed Krzysztof Oldzki, who also volunteered for geoip, since you are the original author I'm going to add your repository. I think I'll start pushing out stuff later today. I'm not sure if the way curl is currently used supports redirects, we'll see :)

Oh, OK :) Anything left for me? ;) If so I would like to request a people.netfilter.org account if that is possible as I cannot provide reliable and fast enough public ftp server myself.

I still have you on my list for TARPIT, connlimit, ipp2p and time. Harald takes care of people.netfilter.org accounts, I've CCed him.