[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/3] restrict bridge interface name to IFNAMSIZ
From: |
P J P |
Subject: |
[Qemu-devel] [PATCH v2 0/3] restrict bridge interface name to IFNAMSIZ |
Date: |
Mon, 1 Jul 2019 14:39:01 +0530 |
From: Prasad J Pandit <address@hidden>
Hello,
Linux net_deivce defines network interface name to be of IFNAMSIZE(=16)
bytes, including the terminating null('\0') byte.
Qemu tap deivce, while invoking 'qemu-bridge-helper' tool to set up the
network bridge interface, supplies bridge name of 16 characters, thus
allowing to create an ACL bypass scenario.
This patch series attempts to fix it.
Thank you.
---
Prasad J Pandit (3):
qemu-bridge-helper: restrict interface name to IFNAMSIZ
qemu-bridge-helper: move repeating code in parse_acl_file
net: tap: restrict bridge name to IFNAMSIZ
net/tap.c | 2 +-
qemu-bridge-helper.c | 23 ++++++++++++++++-------
2 files changed, 17 insertions(+), 8 deletions(-)
--
2.21.0
- [Qemu-devel] [PATCH v2 0/3] restrict bridge interface name to IFNAMSIZ,
P J P <=
- [Qemu-devel] [PATCH v2 1/3] qemu-bridge-helper: restrict interface name to IFNAMSIZ, P J P, 2019/07/01
- [Qemu-devel] [PATCH v2 3/3] net: tap: restrict bridge name to IFNAMSIZ, P J P, 2019/07/01
- [Qemu-devel] [PATCH v2 2/3] qemu-bridge-helper: move repeating code in parse_acl_file, P J P, 2019/07/01
- Re: [Qemu-devel] [PATCH v2 0/3] restrict bridge interface name to IFNAMSIZ, no-reply, 2019/07/01
- Re: [Qemu-devel] [PATCH v2 0/3] restrict bridge interface name to IFNAMSIZ, no-reply, 2019/07/01