From: "NICOLAS BOULIANE" Subject: Re: Updated geoip patchlet for iptables 1.4.0 / 2.6.24.3 Date: Thu, 13 Mar 2008 23:02:58 -0800 Message-ID: References: <1205410278.16631.0.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "Samuel Jean" , "Netfilter Developer Mailing List" , acidfu@people.netfilter.org To: "Jan Engelhardt" Return-path: Received: from rv-out-0910.google.com ([209.85.198.188]:28715 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751692AbYCNHC7 (ORCPT ); Fri, 14 Mar 2008 03:02:59 -0400 Received: by rv-out-0910.google.com with SMTP id k20so2305082rvb.1 for ; Fri, 14 Mar 2008 00:02:58 -0700 (PDT) In-Reply-To: Content-Disposition: inline Sender: netfilter-devel-owner@vger.kernel.org List-ID: Sorry guys I was in Varanasi for the last 2 weeks, I will read the thread tomorrow. thanks. Nick On Thu, Mar 13, 2008 at 1:12 PM, Jan Engelhardt wrote: > > On Mar 13 2008 09:43, Samuel Jean wrote: > >On Thu, Mar 13, 2008 at 9:31 AM, Jan Engelhardt wrote: > >> > >> On Mar 13 2008 09:01, Samuel Jean wrote: > >> >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. > */ >