summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-08-23 01:36:21 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-08-23 20:36:09 +0900
commitc995fa02b1e23ea73cd1b7f62cb4dd23e951def7 (patch)
tree38b94d431ac0165f993bd215371471e2acf30f92 /man
parentf95d1ef5fafd96c65a9da57fa2bcdd503fce694c (diff)
downloadsystemd-c995fa02b1e23ea73cd1b7f62cb4dd23e951def7.tar.gz
network: dhcp4,ndisc: make addresses in Allow/DenyList= optionally take prefix length
Closes #20505.
Diffstat (limited to 'man')
-rw-r--r--man/systemd.network.xml40
1 files changed, 24 insertions, 16 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 573ba959eb..7de3f688f3 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -1965,7 +1965,8 @@ IPv6Token=prefixstable:2002:da8:1::</programlisting></para>
<varlistentry>
<term><varname>DenyList=</varname></term>
<listitem>
- <para>A whitespace-separated list of IPv4 addresses. DHCP offers from servers in the list are
+ <para>A whitespace-separated list of IPv4 addresses. Each address can optionally take a
+ prefix length after <literal>/</literal>. DHCP offers from servers in the list are
rejected. Note that if <varname>AllowList=</varname> is configured then
<varname>DenyList=</varname> is ignored.</para>
</listitem>
@@ -1974,7 +1975,8 @@ IPv6Token=prefixstable:2002:da8:1::</programlisting></para>
<varlistentry>
<term><varname>AllowList=</varname></term>
<listitem>
- <para>A whitespace-separated list of IPv4 addresses. DHCP offers from servers in the list are
+ <para>A whitespace-separated list of IPv4 addresses. Each address can optionally take a
+ prefix length after <literal>/</literal>. DHCP offers from servers in the list are
accepted.</para>
</listitem>
</varlistentry>
@@ -2292,50 +2294,56 @@ IPv6Token=prefixstable:2002:da8:1::</programlisting></para>
<varlistentry>
<term><varname>RouterDenyList=</varname></term>
<listitem>
- <para>A whitespace-separated list of IPv6 router addresses. Any information advertised by
- the listed router is ignored.</para>
+ <para>A whitespace-separated list of IPv6 router addresses. Each address can optionally
+ take a prefix length after <literal>/</literal>. Any information advertised by the listed
+ router is ignored.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>RouterAllowList=</varname></term>
<listitem>
- <para>A whitespace-separated list of IPv6 router addresses. Only information advertised by
- the listed router is accepted. Note that if <varname>RouterAllowList=</varname> is
- configured then <varname>RouterDenyList=</varname> is ignored.</para>
+ <para>A whitespace-separated list of IPv6 router addresses. Each address can optionally
+ take a prefix length after <literal>/</literal>. Only information advertised by the listed
+ router is accepted. Note that if <varname>RouterAllowList=</varname> is configured then
+ <varname>RouterDenyList=</varname> is ignored.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>PrefixDenyList=</varname></term>
<listitem>
- <para>A whitespace-separated list of IPv6 prefixes. IPv6 prefixes supplied via router
- advertisements in the list are ignored.</para>
+ <para>A whitespace-separated list of IPv6 prefixes. Each prefix can optionally take its
+ prefix length after <literal>/</literal>. IPv6 prefixes supplied via router advertisements
+ in the list are ignored.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>PrefixAllowList=</varname></term>
<listitem>
- <para>A whitespace-separated list of IPv6 prefixes. IPv6 prefixes supplied via router
- advertisements in the list are allowed. Note that if <varname>PrefixAllowList=</varname> is
- configured then <varname>PrefixDenyList=</varname> is ignored.</para>
+ <para>A whitespace-separated list of IPv6 prefixes. Each prefix can optionally take its
+ prefix length after <literal>/</literal>. IPv6 prefixes supplied via router advertisements
+ in the list are allowed. Note that if <varname>PrefixAllowList=</varname> is configured
+ then <varname>PrefixDenyList=</varname> is ignored.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>RouteDenyList=</varname></term>
<listitem>
- <para>A whitespace-separated list of IPv6 route prefixes. IPv6 route prefixes supplied via
- router advertisements in the list are ignored.</para>
+ <para>A whitespace-separated list of IPv6 route prefixes. Each prefix can optionally take
+ its prefix length after <literal>/</literal>. IPv6 route prefixes supplied via router
+ advertisements in the list are ignored.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>RouteAllowList=</varname></term>
<listitem>
- <para>A whitespace-separated list of IPv6 route prefixes. IPv6 route prefixes supplied via
- router advertisements in the list are allowed. Note that if <varname>RouteAllowList=</varname> is
+ <para>A whitespace-separated list of IPv6 route prefixes. Each prefix can optionally take
+ its prefix length after <literal>/</literal>. IPv6 route prefixes supplied via router
+ advertisements in the list are allowed. Note that if <varname>RouteAllowList=</varname> is
configured then <varname>RouteDenyList=</varname> is ignored.</para>
</listitem>
</varlistentry>