HEX
Server: Apache
System: Linux hp3-stn-1011028.hostingp3.local 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: csh958633 (951153)
PHP: 8.3.30
Disabled: shell_exec,exec,system,popen,set_time_limit
Upload Files
File: //usr/share/setroubleshoot/plugins/sandbox_connect.pyc
�
c�L]c@s^ddlZejdde�ZejZddlTddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBs\eZed�Zed�Zed�ZdZed�Zed�Zd�Z	d�Z
RS(sR
    SELinux is preventing $SOURCE_PATH from connecting to port $PORT_NUMBER.
    s�
    SELinux has denied $SOURCE from connecting to a network port $PORT_NUMBER within a sandbox.
    If $SOURCE should be allowed to connect on $PORT_NUMBER, you need to use a different sandbox type like sandbox_web_t or sandbox_net_t.  
    # sandbox -X -t sandbox_net_t $SOURCE
    

If $SOURCE is not supposed
    to connect to $PORT_NUMBER, this could signal an intrusion attempt.
    s~
    If you want to allow $SOURCE to connect to $PORT_NUMBER, you can execute 

    # sandbox -X -t sandbox_net_t $SOURCE
    tsIIf you want to allow $SOURCE_PATH to connect to network port $PORT_NUMBERs�you need to modify the sandbox type. sandbox_web_t or sandbox_net_t.
For example:
sandbox -X -t sandbox_net_t $SOURCE_PATH
Please read 'sandbox' man page for more details.
cCs!tj|t�|jd�dS(NiK(Rt__init__t__name__tset_priority(tself((s4/usr/share/setroubleshoot/plugins/sandbox_connect.pyR7scCs2|jdg�r.|jdg�r.|j�SdS(Ntsandbox_x_client_ttname_connect(tmatches_source_typesthas_any_access_intreporttNone(Rtavc((s4/usr/share/setroubleshoot/plugins/sandbox_connect.pytanalyze;s
(Rt
__module__t_tsummarytproblem_descriptiontfix_descriptiontfix_cmdtif_textt	then_textRR(((s4/usr/share/setroubleshoot/plugins/sandbox_connect.pyRs					(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR(((s4/usr/share/setroubleshoot/plugins/sandbox_connect.pyt<module>s