qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] contrib: add stub bridge.conf for qemu-bridge-helper
@ 2021-07-08 18:42 Cole Robinson
  2021-07-08 18:44 ` Cole Robinson
  0 siblings, 1 reply; 2+ messages in thread
From: Cole Robinson @ 2021-07-08 18:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: jasowang, Cole Robinson

The comment comes from OpenSUSE's bridge.conf, with some minor tweaks

Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
Or should this be installed? If so where in git should it live?

 contrib/bridge.conf | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 contrib/bridge.conf

diff --git a/contrib/bridge.conf b/contrib/bridge.conf
new file mode 100644
index 0000000000..b83e46c34f
--- /dev/null
+++ b/contrib/bridge.conf
@@ -0,0 +1,14 @@
+# Access control file for qemu-bridge-helper
+# https://wiki.qemu.org/Features/HelperNetworking
+#
+# Syntax consists of:
+#   # comment (ignored)
+#   allow all
+#   allow <bridge_name>
+#   deny all
+#   deny <bridge_name>
+#   include /path/to/additional/ACL/file
+#
+# Users are blacklisted by default and 'deny' takes precedence over 'allow'.
+# Including additional ACL files allows file access permissions to be used as
+# a component of the policy to allow access or deny access to specific bridges.
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] contrib: add stub bridge.conf for qemu-bridge-helper
  2021-07-08 18:42 [PATCH] contrib: add stub bridge.conf for qemu-bridge-helper Cole Robinson
@ 2021-07-08 18:44 ` Cole Robinson
  0 siblings, 0 replies; 2+ messages in thread
From: Cole Robinson @ 2021-07-08 18:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: jasowang

On 7/8/21 2:42 PM, Cole Robinson wrote:
> The comment comes from OpenSUSE's bridge.conf, with some minor tweaks
> 
> Signed-off-by: Cole Robinson <crobinso@redhat.com>
> ---
> Or should this be installed? If so where in git should it live?
> 
>  contrib/bridge.conf | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 contrib/bridge.conf
> 
> diff --git a/contrib/bridge.conf b/contrib/bridge.conf
> new file mode 100644
> index 0000000000..b83e46c34f
> --- /dev/null
> +++ b/contrib/bridge.conf
> @@ -0,0 +1,14 @@
> +# Access control file for qemu-bridge-helper
> +# https://wiki.qemu.org/Features/HelperNetworking
> +#
> +# Syntax consists of:
> +#   # comment (ignored)
> +#   allow all
> +#   allow <bridge_name>
> +#   deny all
> +#   deny <bridge_name>
> +#   include /path/to/additional/ACL/file
> +#
> +# Users are blacklisted by default and 'deny' takes precedence over 'allow'.
> +# Including additional ACL files allows file access permissions to be used as
> +# a component of the policy to allow access or deny access to specific bridges.
> 

Meant to include this too:

diff --git a/MAINTAINERS b/MAINTAINERS
index 684142e12e..dbdf26ade2 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2498,6 +2498,7 @@ F: include/net/
 F: qemu-bridge-helper.c
 T: git https://github.com/jasowang/qemu.git net
 F: qapi/net.json
+F: contrib/bridge.conf

 Netmap network backend
 M: Luigi Rizzo <rizzo@iet.unipi.it>

- Cole

- Cole



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-08 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-08 18:42 [PATCH] contrib: add stub bridge.conf for qemu-bridge-helper Cole Robinson
2021-07-08 18:44 ` Cole Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).