[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.01.1002041944120.30159@obet.zrqbmnf.qr>
Date: Thu, 4 Feb 2010 19:44:38 +0100 (CET)
From: Jan Engelhardt <jengelh@...ozas.de>
To: Patrick McHardy <kaber@...sh.net>
cc: Thomas Woerner <twoerner@...hat.com>, netdev@...r.kernel.org,
Netfilter Developer Mailing List
<netfilter-devel@...r.kernel.org>
Subject: Re: netfilter/iptables and network interface names
On Thursday 2010-02-04 17:49, Patrick McHardy wrote:
>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.
>
Nope:
19:44 borg:/home/jengelh # ip tunnel add .3 mode sit local 1.2.3.6 remote
5.6.7.7
19:44 borg:/home/jengelh # ip a
17: .3: <POINTOPOINT,NOARP> mtu 1480 qdisc noop state DOWN
link/sit 1.2.3.6 peer 5.6.7.7
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists