one line fix for tor module
Hi,
Seems like I missed one statement for tor.
modules/services/tor.te (Arbeitskopie) renamed from modules/services/tor.te (Revision 60) +1 -1
@@ -34,7 +34,7 @@ allow tor_t self:fifo_file { read write }; allow tor_t self:unix_stream_socket create_stream_socket_perms; allow tor_t self:netlink_route_socket r_netlink_socket_perms; -allow tor_t self:tcp_socket create_socket_perms; +allow tor_t self:tcp_socket { create_socket_perms accept }; # configuration files allow tor_t tor_etc_t:dir r_dir_perms;
best regards,
Erich Schubert
Signature · 10 lines
erich@(vitavonni.de|debian.org) -- GPG Key ID: 4B3A135C (o_
Which is worse: ignorance or apathy? Who knows? Who cares? //\
Jemanden zu lieben heißt glücklich zu sein, ihn glücklich zu sehen. V_/_
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.modules/services/tor.te (Arbeitskopie) line 37
Quoted 5 lines · Erich Schubert
Hi,
Seems like I missed one statement for tor.modules/services/tor.te (Arbeitskopie) renamed from modules/services/tor.te (Revision 60) +1
-1-allow tor_t self:tcp_socket create_socket_perms; +allow tor_t self:tcp_socket { create_socket_perms accept };
I think what you want instead is to change it to create_stream_socket_perms, since you need to listen first before you can accept?
Signature · 9 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.