[libvirt] [RFC PATCH 0/3] Add MAC filtering to qemu

Gerhard Stenzel gstenzel at linux.vnet.ibm.com
Tue Oct 13 10:57:08 UTC 2009


The following series of patches is a prototype implementation of a ebtables based MAC address filter. I hope to have addressed all the previous comments and I am still interested to get more feedback/comments.

At the moment, some defaults are set when libvirtd starts and when a domain is started or destroyed. The plan is to extend this filter capability to the API level and virsh command level. The plan is also to add more filtering features like VLAN filtering and QoS filtering.

Thanks, Gerhard

---

Gerhard Stenzel (3):
      add MAC address based port filtering to qemu
      add build support for ebtables wrapper
      add ebtables wrapper


 configure.in             |    3 
 src/Makefile.am          |    1 
 src/libvirt_private.syms |   27 +
 src/qemu/qemu.conf       |    3 
 src/qemu/qemu_conf.c     |   85 ++++
 src/qemu/qemu_conf.h     |    8 
 src/qemu/qemu_driver.c   |   44 ++
 src/util/ebtables.c      |  982 ++++++++++++++++++++++++++++++++++++++++++++++
 src/util/ebtables.h      |  134 ++++++
 9 files changed, 1287 insertions(+), 0 deletions(-)
 create mode 100644 src/util/ebtables.c
 create mode 100644 src/util/ebtables.h

-- 




More information about the libvir-list mailing list