From: "Laurence J. Lane" Subject: Re: iptables 1.3.6 not using /etc/networks Date: Sat, 11 Nov 2006 21:35:08 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: netfilter-devel@lists.netfilter.org In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org On 11/11/06, Laurence J. Lane wrote: > # strace -s 255 -o /tmp/bar iptables -v -A INPUT -s foonet/8 -j > ACCEPT #1.3.6 [2] > iptables v1.3.6: host/network `foonet.0.0.0' not found > Try `iptables -h' or 'iptables --help' for more information. This looks like something with the pad_cidr() call in parse_hostnetworkmask(). ltrace shows the code calling getnetbyname("foonet.0.0.0") instead of getentbyname("foonet").