Bug 2089486
| Summary: | Tor with DNSPort | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | lejeczek <peljasz> |
| Component: | selinux-policy | Assignee: | Nikola Knazekova <nknazeko> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | high | Docs Contact: | |
| Priority: | low | ||
| Version: | CentOS Stream | CC: | bstinson, jwboyer, lvrabec, mmalik, nknazeko, ssekidde, zpytela |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-34.1.41-1.el9 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: Missing policy rule to allow tor bind UDP sockets to all ports
Consequence: SELinux prevents tor to name_bind DNSport
Fix: Update tor_bind_all_unreserved_ports interface to allow tor bind UDP sockets to all ports > 1024.
Result: No AVC
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 11:13:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
lejeczek
2022-05-23 19:30:27 UTC
Hi, The tor_bind_all_unreserved_ports boolean effects only tcp ports. Is it an option for you to label the port dns_port_t instead? rhel91# sesearch -A -s tor_t -t dns_port_t -c udp_socket -p name_bind allow tor_t dns_port_t:udp_socket name_bind; I can, as anybody do that, generate custom module, etc. - still - something like a boolean could/should cover this, for the sake of all users & out-of-box. thanks, L Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (selinux-policy bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8283 |