Updated geoip patchlet for iptables 1.4.0 / 2.6.24.3
Hiya,
I've updated the geoip patchlet a bit so that it compiles cleanly with current versions and it seems to work for me (see attachment). This is based on work done here:
http://bjerkeset.com/patches/geoip-match-2.6.22.patch.gz
Emails to the authors are bouncing, so I'll try
this list instead. Feel free to include the changes anywhere you like.
Regards
Thomas
Quoted 10 lines · Thomas Jacob
Hiya,
I've updated the geoip patchlet a bit so that it compiles cleanly with current versions and it seems to work for me (see attachment). This is based on work done here:
http://bjerkeset.com/patches/geoip-match-2.6.22.patch.gzEmails to the authors are bouncing, so I'll try
this list instead. Feel free to include the changes anywhere you like.
Nicolas has an all-around updated geoip at
http://people.netfilter.org/acidfu/patchlets/ .
Better check back first :)
Jan --
Quoted 3 lines · Jan Engelhardt
Nicolas has an all-around updated geoip at
http://people.netfilter.org/acidfu/patchlets/ .
Better check back first :)
Would you mind to send a patch to Patrick about this ?
--
# geoip, maintained by Nicolas Bouliane <[email protected]>
http://people.netfilter.org/acidfu/patchlets
--
I apologize to everyone, this i-will-do-it-later of me is enough. I don't have the opportunity to do it at work. Thanks !
Samuel
Quoted 8 lines · Samuel Jean
Jan --
Quoted 3 lines · Jan Engelhardt
Nicolas has an all-around updated geoip at
http://people.netfilter.org/acidfu/patchlets/ .
Better check back first :)Would you mind to send a patch to Patrick about this ?
I am not sure whether this would go into mainline kernel.
As I seem to recall, Nicolas still wanted to work on geoip,
but he was last seen in India with little time. I can see that the code does need cleanup, so I'll do that and import it into xtables-addons for the time being.
Quoted 5 lines · Jan Engelhardt
Quoted 1 line · Samuel Jean
Would you mind to send a patch to Patrick about this ?
I am not sure whether this would go into mainline kernel.
Uhm.. I don't think it will ever go into mainline, geoip is fully dependant on 3rd parties databases.
Quoted 3 lines
I can see that the
code does need cleanup, so I'll do that and import it into xtables-addons for the time being.
Looks great but updating the patch-o-matic's sources.list file with the proper URL and maintainer name will make people stop wasting precious time hacking geoip unless they are aware that geoip's been imported into xtables-addons.
And by the way, keep up the good work.
Samuel
Quoted 9 lines · Samuel Jean
Quoted 5 lines · Jan Engelhardt
Quoted 1 line · Samuel Jean
Would you mind to send a patch to Patrick about this ?
I am not sure whether this would go into mainline kernel.
Uhm.. I don't think it will ever go into mainline, geoip is fully dependant on 3rd parties databases.
Is the db redistributable; what does the license say?
BTW, geoip.c is coded like checkentry() could be called twice without a destroy in between -- how is this possible anyway?
/*
* If info->refcount is not NULL, then it means that checkentry()
* already initialized this entry. Increase a refcount to prevent
* destroy() of this entry.
*/
Sorry guys I was in Varanasi for the last 2 weeks, I will read the thread tomorrow.
thanks.
Nick
Quoted 23 lines · Jan Engelhardt
Quoted 9 lines · Samuel Jean
Quoted 5 lines · Jan Engelhardt
Quoted 1 line · Samuel Jean
Would you mind to send a patch to Patrick about this ?
I am not sure whether this would go into mainline kernel.
Uhm.. I don't think it will ever go into mainline, geoip is fully dependant on 3rd parties databases.
Is the db redistributable; what does the license say?
BTW,
geoip.cis coded likecheckentry()could be called twice without a destroy in between -- how is this possible anyway?/*
* Ifinfo->refcountis not NULL, then it means thatcheckentry()
* already initialized this entry. Increase a refcount to prevent
*destroy()of this entry.
*/
Pablo,
# geoip, maintained by Samuel Jean <[email protected]>
http://people.netfilter.org/acidfu/patchlets/
Could you add me as the new official maintainer please ? Nicolas Bouliane <[email protected]>
thanks,
Nick
Quoted 34 lines · NICOLAS BOULIANE
Sorry guys I was in Varanasi for the last 2 weeks,
I will read the thread tomorrow.thanks.
Nick
Quoted 23 lines · Jan Engelhardt
Quoted 9 lines · Samuel Jean
Quoted 5 lines · Jan Engelhardt
Quoted 1 line · Samuel Jean
Would you mind to send a patch to Patrick about this ?
I am not sure whether this would go into mainline kernel.
Uhm.. I don't think it will ever go into mainline, geoip is fully dependant on 3rd parties databases.
Is the db redistributable; what does the license say?
BTW,
geoip.cis coded likecheckentry()could be called twice without a destroy in between -- how is this possible anyway?/*
* Ifinfo->refcountis not NULL, then it means thatcheckentry()
* already initialized this entry. Increase a refcount to prevent
*destroy()of this entry.
*/
Pablo Neira Ayuso
maintainerQuoted 7 lines · NICOLAS BOULIANE
Pablo,
# geoip, maintained by Samuel Jean <[email protected]>
http://people.netfilter.org/acidfu/patchlets/Could you add me as the new official maintainer please ? Nicolas Bouliane <[email protected]>
Is this patch enough?
Signature · 1 line
"Los honestos son inadaptados sociales" -- Les Luthiers
sources.list +1 -1
@@ -1,7 +1,7 @@ # Add the URLs for external patchlets here # -# geoip, maintained by Samuel Jean <[email protected]> +# geoip, maintained by Nicolas Bouliane <[email protected]> http://people.netfilter.org/acidfu/patchlets/ # condition, maintained by Massimiliano Hofer <[email protected]>
Pablo,
Its perfect, thank you.
Nick
Quoted 24 lines · Pablo Neira Ayuso
Quoted 7 lines · NICOLAS BOULIANE
Pablo,
# geoip, maintained by Samuel Jean <[email protected]>
http://people.netfilter.org/acidfu/patchlets/Could you add me as the new official maintainer please ? Nicolas Bouliane <[email protected]>
Is this patch enough?
--
"Los honestos son inadaptados sociales" -- Les LuthiersIndex: sources.list
===================================================================
--- sources.list (revisión: 7406)
+++ sources.list (copia de trabajo)
@@ -1,7 +1,7 @@
# Add the URLs for external patchlets here
#
Quoted 7 lines
-# geoip, maintained by Samuel Jean <[email protected]>
+# geoip, maintained by Nicolas Bouliane <[email protected]>
http://people.netfilter.org/acidfu/patchlets/# condition, maintained by Massimiliano Hofer <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Updated geoip patchlet for Xtables 1.5.2 / 2.6.18--2.6.25 (was: iptables 1.4.0 / 2.6.24.3)
In reply to Samuel JeanQuoted 10 lines · Samuel Jean
Quoted 4 lines
I can see that the
code does need cleanup, so I'll do that and import it into xtables-addons for the time being.Looks great but updating the patch-o-matic's sources.list file with the proper URL and maintainer name will make people stop wasting precious time hacking geoip unless they are aware that geoip's been imported into xtables-addons. And by the way, keep up the good work.
Well well, it is just a recent idea that lived for 48h so far. But I am done with it now with the prerelease, please give it some testing!
git://dev.computergmbh.de/xtables-addons : "geoip" branch
or as .tar:
http://jengelh.hopto.org/files/geoip/
(you need geoip_iv0 too - the geoip database).
There was a fair bit to do, changelog is http://tinyurl.com/2xbvpa
Pablo Neira Ayuso
maintainerQuoted 7 lines · Samuel Jean
Jan --
Quoted 3 lines · Jan Engelhardt
Nicolas has an all-around updated geoip at
http://people.netfilter.org/acidfu/patchlets/ .
Better check back first :)
Quoted 5 lines
Would you mind to send a patch to Patrick about this ?
--
# geoip, maintained by Nicolas Bouliane <[email protected]>
http://people.netfilter.org/acidfu/patchlets
You mean to update the patch-o-matic file? I'll do this tonight.
Signature · 1 line
"Los honestos son inadaptados sociales" -- Les Luthiers
Hey Thomas --
Quoted 5 lines · Thomas Jacob
Hiya,
I've updated the geoip patchlet a bit so that it
compiles cleanly with current versions and it
seems to work for me (see attachment).
Thanks !
Quoted 3 lines
This is based on work done here:
http://bjerkeset.com/patches/geoip-match-2.6.22.patch.gz
Nicolas recently took over maintaining this patchlet. This link refers to his latest release of geoip.
http://people.netfilter.org/acidfu/patchlets/geoip.tar.gz
I should have sent a patch months ago to update the URL in sources.list. Sorry for the inconveniant.
Regards,
Samuel
Quoted 7 lines · Samuel Jean
Nicolas recently took over maintaining this patchlet. This link refers to his latest release of geoip.
http://people.netfilter.org/acidfu/patchlets/geoip.tar.gz
I should have sent a patch months ago to update the URL in sources.list. Sorry for the inconveniant.
No problem, I'd much rather rely on something done by you guys, that is people who actually know anything about netfilter internals ;-)