Re: [PROPOSAL]: Alias names for network interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Narendra_K@xxxxxxxx wrote:
> Patrick,
> 
> If I understand your point correctly, you are saying that if a rule is
> specified in the command line as below
> 
> iptables -A INPUT -i Embedded_NIC_1 -j ACCEPT, then if the rule is saved
> by iptables-save the rule would look like 
> 
> iptables -A INPUT -i ethN -j ACCEPT and there is no way to know what the
> corresponding Embedded_NIC_1 name is. 
> 
> If this is correct, then I agree. I suppose that this concern can be
> addressed in one of these ways, if I am not missing
> something - 
> 
> a) The command line tool I mentioned above (point 2)would tell us the
> ethN -> Embedded_NIC_N mapping
> b) Or the iptables-save needs to be enhanced to save Embedded_NIC_N
> format instead of ethN by making a call to
> libnetdevname to get that mapping ( ethN -> Embedded_NIC_1).

Yeah, that could be done (but optionally please). What you can't
do however is display these two rules

iptables ... -i eth0 ...
iptables ... -i Embedded_NIC_N ...

the same way they were entered since you either map back or you don't.
I guess we can live with that though ...
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux