sepolicy-network - Online Linux Manual PageSection : 8
Updated : 20121005
Source :
Note :

NAMEsepolicy-network − Examine the SELinux Policy and generate a network report

SYNOPSIS
sepolicy network [−h] (−l | −a application [application ...] | −p PORT [PORT ...] | −t TYPE [TYPE ...] | −d DOMAIN [DOMAIN ...])

DESCRIPTIONUse sepolicy network to examine SELinux Policy and generate network reports.

OPTIONS−a, −−application  Generate a report listing the ports to which the specified init application is allowed to connect and or bind. −d, −−domain  Generate a report listing the ports to which the specified domain is allowed to connect and or bind. −l, −−list  List all Network Port Types defined in SELinux Policy −h, −−help  Display help message −t, −−type  Generate a report listing the port numbers associate with the specified SELinux port type. −p, −−port  Generate a report listing the SELinux port types associate with the specified port number.

EXAMPLESsepolicy network -p 22
22: tcp ssh_port_t 22
22: udp reserved_port_t 1-511
22: tcp reserved_port_t 1-511 sepolicy network -a /usr/sbin/sshd
sshd_t: tcp name_connect
111 (portmap_port_t)
53 (dns_port_t)
88, 750, 4444 (kerberos_port_t)
9080 (ocsp_port_t)
9180, 9701, 9443-9447 (pki_ca_port_t)
32768-61000 (ephemeral_port_t)
all ports < 1024 (reserved_port_type)
all ports with out defined types (port_t)
sshd_t: tcp name_bind
22 (ssh_port_t)
5900-5983, 5985-5999 (vnc_port_t)
6000-6020 (xserver_port_t)
32768-61000 (ephemeral_port_t)
all ports > 500 and < 1024 (rpc_port_type)
all ports with out defined types (port_t)
sshd_t: udp name_bind
32768-61000 (ephemeral_port_t)
all ports > 500 and < 1024 (rpc_port_type)
all ports with out defined types (port_t)

AUTHORThis man page was written by Daniel Walsh <dwalsh@redhat.com>

SEE ALSOsepolicy(8), selinux(8), semanage(8)
0
Johanes Gumabo
Data Size   :   8,014 byte
man-sepolicy-network.8Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 183,375
Visitor ID   :     :  
Visitor IP   :   18.119.135.67   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.