File: netlabel.rules

package info (click to toggle)
netlabel-tools 0.30.0-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 556 kB
  • sloc: ansic: 4,343; sh: 464; makefile: 86
file content (34 lines) | stat: -rw-r--r-- 1,148 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Configuration file for the NetLabel subsystem.  This file should contain
# individual commands for the netlabelctl utility to be run in order from the
# top of the file to the bottom.
#
# See the netlabel-config(8) and netlabelctl(8) manpages for more information.
#
# https://github.com/netlabel
#

##
## Example: Remove the default configuration and replace it with an address
##          selector based configuration that send unlabeled traffic to all
##          IPv4 and IPv6 addresses.
##
#
# map del default
# map add default address:0.0.0.0/0 protocol:unlbl
# map add default address:::0/0 protocol:unlbl

##
## Example: Remove the default configuration and replace it with an address
##          selector based configuration that send unlabeled traffic to all
##          IPv4 and IPv6 addresses except for 127.0.0.1, which uses CIPSO
##          DOI 9999 to pass LSM security labels over the loopback network
##          device.
##
#
# cipso add doi:9999 local
# map del default
# map add default address:0.0.0.0/0 protocol:unlbl
# map add default address:::0/0 protocol:unlbl
# map add default address:127.0.0.1 protocol:cipso,9999