Re: 'tor' default port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On my system (selinux-policy-3.14.6-39.fc33.noarch), the 9080/tcp port is already allocated for a different service:

$ sudo semanage port -a -t tor_port_t -p tcp 9080
ValueError: Port tcp/9080 already defined

$ sudo semanage port -l | grep 9080
ocsp_port_t                    tcp      9080

I would configure Tor to bind to the allowed ports instead

$ sudo semanage port -l | grep tor_
tor_port_t                     tcp      6969, 9001, 9030, 9050, 9051, 9150

HTH

On Sat, Jul 10, 2021 at 9:55 AM lejeczek <peljasz@xxxxxxxxxxx> wrote:
Hi guys

In selinux-policy-3.14.3-67.el8.noarch it works but
selinux-policy-3.14.3-72.el8.noarch prohibit 'tor' to bind
to default 9080(perhaps more)
Should this be a bug report or we individually should
generate rules locally?

many thanks, L.
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux