LMI_SELinuxPort

Class reference

Subclass of LMI_SELinuxElement

Class representing an SELinux port. It can encompass multiple individual network ports, or even their ranges.

Key properties

Local properties

uint16 Protocol

Protocol type. Only UDP and TCP are supported.

ValueMap Values
0 UDP
1 TCP

string SELinuxContext

SELinux context.

string[] Ports

Array of open ports that the SELinux port corresponds to.

Individual values can be specified either as a single number, or a range.

The range would be represented as ‘<port_low>-<port_high>’, e.g. ‘1024-2048’.Note that a network port can be labeled with multiple labels at the same time.

Local methods

None

Inherited properties

string InstanceID
uint64 Generation
string Caption

Inherited methods

None