1
0
mirror of https://passt.top/passt synced 2024-07-01 23:42:41 +00:00
passt/contrib
Stefano Brivio de9b0cb5fe contrib/selinux: Allow binding and connecting to all UDP and TCP ports
Laine reports that with a simple:

      <portForward proto='tcp'>
        <range start='2022' to='22'/>
      </portForward>

in libvirt's domain XML, passt won't start as it fails to bind
arbitrary ports. That was actually the intention behind passt_port_t:
the user or system administrator should have explicitly configured
allowed ports on a given machine. But it's probably not realistic, so
just allow any port to be bound and forwarded.

Also fix up some missing operations on sockets.

Reported-by: Laine Stump <laine@redhat.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Tested-by: Laine Stump <laine@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
2023-03-09 00:36:08 +01:00
..
apparmor contrib/apparmor: Split profile into abstractions, use them 2023-02-27 18:56:32 +01:00
fedora conf, log, Makefile: Add versioning information 2022-10-15 02:10:28 +02:00
kata-containers Don't abbreviate ip(8) arguments in examples and tests 2022-06-15 09:38:10 +02:00
libvirt libvirt, qemu: Move patches to new directory, contrib 2022-01-28 18:51:50 +01:00
podman contrib/podman: Rebase to latest upstream 2022-09-24 00:00:32 +02:00
qemu libvirt, qemu: Move patches to new directory, contrib 2022-01-28 18:51:50 +01:00
selinux contrib/selinux: Allow binding and connecting to all UDP and TCP ports 2023-03-09 00:36:08 +01:00