Bug 624998 - add 'corenet_udp_bind_dns_port(tor_t)' to tor.te to allow tor to provide dns resolution
add 'corenet_udp_bind_dns_port(tor_t)' to tor.te to allow tor to provide dns ...
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
13
All Linux
low Severity medium
: ---
: ---
Assigned To: Miroslav Grepl
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-18 06:28 EDT by Mr-4
Modified: 2010-08-24 17:13 EDT (History)
0 users

See Also:
Fixed In Version: selinux-policy-3.7.19-49.fc13
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-08-24 17:13:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mr-4 2010-08-18 06:28:09 EDT
Description of problem:

avc:  denied  { name_bind } is received when starting tor (v2.x).

Version-Release number of selected component (if applicable):

selinux-policy-targeted v3.7.19 and above

How reproducible:

It happens every time when tor is started.


Steps to Reproduce:
1. Edit torrc to include the following statements to enable tor DNS resolution service (available to tor v2.x and above):

DNSPort 53
DNSListenAddress 127.0.0.1:53

2. save torrc
3. service tor start (provided tor is installed and configured properly)
  
Actual results:

avc:  denied  { name_bind } is received and tor exits

Expected results:

tor to run, listen and accept connections on port udp/53 (dns) to be able to provide dns service on the machine it is started on

Additional info:

the above can be fixed by adding the following statement to tor.te:

corenet_udp_bind_dns_port(tor_t)
Comment 1 Miroslav Grepl 2010-08-18 07:50:12 EDT
Fixed in selinux-policy-3.7.19-48.fc13
Comment 2 Fedora Update System 2010-08-20 09:02:08 EDT
selinux-policy-3.7.19-49.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-49.fc13
Comment 3 Fedora Update System 2010-08-21 00:33:52 EDT
selinux-policy-3.7.19-49.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-49.fc13
Comment 4 Fedora Update System 2010-08-24 17:12:41 EDT
selinux-policy-3.7.19-49.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.