2.2.2.31 PortsListProperty
The PortsListProperty type represents a list of TCP port numbers and ranges of TCP port numbers as a string.
Simple type: eDT_LPWSTR
Validity: MUST be a PortsList according to the following Augmented Backus-Naur Form (ABNF) syntax, as specified in [RFC4234]:
-
PortsList = PortNumberOrRange / (PortNumberOrRange "," PortsList) PortNumberOrRange = PortNumber / PortRange PortRange = (PortNumber "-" PortNumber) PortNumber = 1*DIGIT
-
Furthermore, the following constraints MUST be met:
Each substring matching the PortNumber production MUST be the decimal representation of an integer in the range 0 to 65535, inclusive.
In each substring matching the PortRange production, the first PortNumber term MUST represent an integer value strictly less than the value represented by the second PortNumber term.
Server validation: Servers MAY enforce validity constraints.
Client validation: Clients SHOULD pass through the value provided by the client application.