Public bug reported:

On 26.04, with:

apparmor 5.0.0~beta1-0ubuntu2
linux-image-6.19.0-6-generic 6.19.0-6.6
netcat-openbsd 1.234-1

netcat does not seem to work. It connects, but nothing goes through.

To reproduce the issue try to run in two different shell:
nc -l 8080
nc localhost 8080


Audit will show:

audit: type=1400 audit(1772551803.866:293): apparmor="DENIED"
operation="file_perm" class="net" profile="nc.openbsd" pid=8567
comm="nc" laddr=127.0.0.1 lport=34768 faddr=127.0.0.1 fport=8080
family="inet" sock_type="stream" protocol=6 requested="receive"
denied="receive"

and

audit: type=1400 audit(1772551795.477:291): apparmor="DENIED"
operation="file_perm" class="net" profile="nc.openbsd" pid=8543
comm="nc" laddr=127.0.0.1 lport=8080 faddr=127.0.0.1 fport=34768
family="inet" sock_type="stream" protocol=6 requested="send"
denied="send"

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143151

Title:
  apparmor profile for nc.openbsd does not allow send/receive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2143151/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to