Re: 'tor' default port

David Sastre <[email protected]> Wed, 21 Jul 2021 12:23:43 +0200
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <CAMfsiJG4kUCkDCv=Y5G8-2+GX0yqDh17d6DYXrWnKh2m66=oRw@mail.gmail.com>
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 <[email protected]> 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 -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]
> Do not reply to spam on the list, report it:
> https://pagure.io/fedora-infrastructure
>

_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure