From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: netfilter/iptables and network interface names Date: Thu, 04 Feb 2010 17:49:37 +0100 Message-ID: <4B6AFAA1.5080703@trash.net> References: <4B6AC467.7020209@redhat.com> <4B6ADA3A.7040201@trash.net> <4B6ADFFB.4050407@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Thomas Woerner , netdev@vger.kernel.org, Netfilter Developer Mailing List To: Jan Engelhardt Return-path: Received: from stinky.trash.net ([213.144.137.162]:49069 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758437Ab0BDQtk (ORCPT ); Thu, 4 Feb 2010 11:49:40 -0500 In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: Jan Engelhardt wrote: >> The kernel also forbids ".". > > My first thought was the same, but: > > a) Interestingly, it does not prohibit '.' > > ip tunnel add foo0.3 mode sit local 1.2.3.4 remote 5.6.7.8 > > b) The '.' is to be seen as valid as far as xtables.c goes, so > as to match VLAN interfaces. Ah of course, its only invalid at the beginning of the name.