Thread (23 messages) flat view 23 messages, 6 authors, 2015-01-12

Re: [PATCH 2/3] x_tables: Use also dev->ifalias for interface matching

From: Eric Dumazet <hidden>
Date: 2015-01-12 16:04:31
Also in: lkml, netfilter-devel

On Sun, 2015-01-11 at 21:52 +0100, Richard Weinberger wrote:
Signed-off-by: Richard Weinberger <richard@nod.at>
---
 include/linux/netfilter/x_tables.h | 22 ++++++++++++++++++++++
 net/ipv4/netfilter/arp_tables.c    | 28 +++++++++++++++++-----------
 net/ipv4/netfilter/ip_tables.c     | 15 +++++----------
 net/ipv6/netfilter/ip6_tables.c    | 18 +++++++-----------
 net/netfilter/xt_physdev.c         |  9 ++-------
 5 files changed, 53 insertions(+), 39 deletions(-)
Richard, I dislike this, sorry.

iptables is already horribly expensive, you add another expensive step
for every rule.

device aliasing can be done from user space.

iptables should have used ifindex, its sad we allowed the substring
match in first place.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help