Skip to content

Commit 233107e

Browse files
kcinimod-defensecpcmoore
authored andcommitted
network_support.md: clarify local port range and name_bind
Signed-off-by: Dominick Grift <[email protected]> Signed-off-by: Paul Moore <[email protected]>
1 parent 5ef836e commit 233107e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/network_support.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,14 @@ statements):
668668
semanage port -a -t my_server_port_t -p tcp -r s0 12345
669669
```
670670

671+
Only ports that fall outside the local, or ephemeral, port range are
672+
subject to the additional *name_bind* access check. You can see the
673+
current ephemeral port range on your system by checking the
674+
*net.ipv4.ip_local_port_range* sysctl:
675+
```
676+
sysctl net.ipv4.ip_local_port_range
677+
```
678+
671679
## Labeled Network FileSystem (NFS)
672680

673681
Version 4.2 of NFS supports labeling between client/server and requires

0 commit comments

Comments
 (0)