From aafc1dbe4712c86189bbc1d4d54ad8cb4c69be7e Mon Sep 17 00:00:00 2001
From: Michael Biebl
cmp_flags
tune how to compare attributes. Currently only +
tune how to compare attributes. Currently, only NM_IP_ROUTE_EQUAL_CMP_FLAGS_NONE (0) and NM_IP_ROUTE_EQUAL_CMP_FLAGS_WITH_ATTRS (1) is supported.
extra_args
extra arguments for controlling the string -conversion. Currently not extra arguments are supported.
extra_args
extra arguments for controlling the string -conversion. Currently not extra arguments are supported.
-nm_setting_ip_config_next_valid_dns_option ()
-int
-nm_setting_ip_config_next_valid_dns_option
- (NMSettingIPConfig *setting,
- guint idx);
-
-
-Returns
- the index, greater or equal than idx
-, of the first valid
-DNS option, or -1 if no valid option is found
-
-Since: 1.2
-
-
-
nm_setting_ip_config_add_dns_option ()
gboolean
nm_setting_ip_config_add_dns_option (NMSettingIPConfig *setting,
@@ -5898,12 +5893,138 @@ property.
Since: 1.22
+
+
+nm_setting_ip_config_get_dhcp_reject_servers ()
+const char *const *
+nm_setting_ip_config_get_dhcp_reject_servers
+ (NMSettingIPConfig *setting,
+ guint *out_len);
+
+Parameters
+
+
+
+
+
+
+
+
+setting
+
+
+
+
+out_len
+the number of returned elements.
+[allow-none][out]
+
+
+
+
+
+Returns
+A NULL terminated array of DHCP reject servers. Even if no reject
+servers are configured, this always returns a non NULL value.
+[array length=out_len zero-terminated=1][transfer none]
+
+Since: 1.28
+
+
+
+nm_setting_ip_config_add_dhcp_reject_server ()
+void
+nm_setting_ip_config_add_dhcp_reject_server
+ (NMSettingIPConfig *setting,
+ const char *server);
+Adds a new DHCP reject server to the setting.
+
+Since: 1.28
+
+
+
+nm_setting_ip_config_remove_dhcp_reject_server ()
+void
+nm_setting_ip_config_remove_dhcp_reject_server
+ (NMSettingIPConfig *setting,
+ guint idx);
+Removes the DHCP reject server at index idx
+.
+
+Since: 1.28
+
+
+
+nm_setting_ip_config_clear_dhcp_reject_servers ()
+void
+nm_setting_ip_config_clear_dhcp_reject_servers
+ (NMSettingIPConfig *setting);
+Removes all configured DHCP reject servers.
+
+Since: 1.28
+
Types and Values
NM_IP_ADDRESS_ATTRIBUTE_LABEL
-#define NM_IP_ADDRESS_ATTRIBUTE_LABEL "label"
+#define NM_IP_ADDRESS_ATTRIBUTE_LABEL "label"
@@ -5945,103 +6066,103 @@ the return value merely indicates equality (zero) or inequality.
NM_IP_ROUTE_ATTRIBUTE_CWND
-#define NM_IP_ROUTE_ATTRIBUTE_CWND "cwnd"
+#define NM_IP_ROUTE_ATTRIBUTE_CWND "cwnd"
NM_IP_ROUTE_ATTRIBUTE_FROM
-#define NM_IP_ROUTE_ATTRIBUTE_FROM "from"
+#define NM_IP_ROUTE_ATTRIBUTE_FROM "from"
NM_IP_ROUTE_ATTRIBUTE_INITCWND
-#define NM_IP_ROUTE_ATTRIBUTE_INITCWND "initcwnd"
+#define NM_IP_ROUTE_ATTRIBUTE_INITCWND "initcwnd"
NM_IP_ROUTE_ATTRIBUTE_INITRWND
-#define NM_IP_ROUTE_ATTRIBUTE_INITRWND "initrwnd"
+#define NM_IP_ROUTE_ATTRIBUTE_INITRWND "initrwnd"
NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND
-#define NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND "lock-cwnd"
+#define NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND "lock-cwnd"
NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND
-#define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND "lock-initcwnd"
+#define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND "lock-initcwnd"
NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND
-#define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND "lock-initrwnd"
+#define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND "lock-initrwnd"
NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU
-#define NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU "lock-mtu"
+#define NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU "lock-mtu"
NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW
-#define NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW "lock-window"
+#define NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW "lock-window"
NM_IP_ROUTE_ATTRIBUTE_MTU
-#define NM_IP_ROUTE_ATTRIBUTE_MTU "mtu"
+#define NM_IP_ROUTE_ATTRIBUTE_MTU "mtu"
NM_IP_ROUTE_ATTRIBUTE_ONLINK
-#define NM_IP_ROUTE_ATTRIBUTE_ONLINK "onlink"
+#define NM_IP_ROUTE_ATTRIBUTE_ONLINK "onlink"
NM_IP_ROUTE_ATTRIBUTE_SCOPE
-#define NM_IP_ROUTE_ATTRIBUTE_SCOPE "scope"
+#define NM_IP_ROUTE_ATTRIBUTE_SCOPE "scope"
NM_IP_ROUTE_ATTRIBUTE_SRC
-#define NM_IP_ROUTE_ATTRIBUTE_SRC "src"
+#define NM_IP_ROUTE_ATTRIBUTE_SRC "src"
NM_IP_ROUTE_ATTRIBUTE_TABLE
-#define NM_IP_ROUTE_ATTRIBUTE_TABLE "table"
+#define NM_IP_ROUTE_ATTRIBUTE_TABLE "table"
NM_IP_ROUTE_ATTRIBUTE_TOS
-#define NM_IP_ROUTE_ATTRIBUTE_TOS "tos"
+#define NM_IP_ROUTE_ATTRIBUTE_TOS "tos"
NM_IP_ROUTE_ATTRIBUTE_TYPE
-#define NM_IP_ROUTE_ATTRIBUTE_TYPE "type"
+#define NM_IP_ROUTE_ATTRIBUTE_TYPE "type"
NM_IP_ROUTE_ATTRIBUTE_WINDOW
-#define NM_IP_ROUTE_ATTRIBUTE_WINDOW "window"
+#define NM_IP_ROUTE_ATTRIBUTE_WINDOW "window"
@@ -6099,7 +6220,7 @@ rule verfies or fail.
NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX
-#define NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX 30000
+#define NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX 30000
@@ -6224,110 +6345,116 @@ rule verfies or fail.
+NM_SETTING_IP_CONFIG_DHCP_REJECT_SERVERS
+#define NM_SETTING_IP_CONFIG_DHCP_REJECT_SERVERS "dhcp-reject-servers"
+
+
+
+
NM_SETTING_IP_CONFIG_ROUTING_RULES
-#define NM_SETTING_IP_CONFIG_ROUTING_RULES "routing-rules"
+#define NM_SETTING_IP_CONFIG_ROUTING_RULES "routing-rules"
NM_SETTING_DNS_OPTION_DEBUG
-#define NM_SETTING_DNS_OPTION_DEBUG "debug"
+#define NM_SETTING_DNS_OPTION_DEBUG "debug"
NM_SETTING_DNS_OPTION_NDOTS
-#define NM_SETTING_DNS_OPTION_NDOTS "ndots"
+#define NM_SETTING_DNS_OPTION_NDOTS "ndots"
NM_SETTING_DNS_OPTION_TIMEOUT
-#define NM_SETTING_DNS_OPTION_TIMEOUT "timeout"
+#define NM_SETTING_DNS_OPTION_TIMEOUT "timeout"
NM_SETTING_DNS_OPTION_ATTEMPTS
-#define NM_SETTING_DNS_OPTION_ATTEMPTS "attempts"
+#define NM_SETTING_DNS_OPTION_ATTEMPTS "attempts"
NM_SETTING_DNS_OPTION_ROTATE
-#define NM_SETTING_DNS_OPTION_ROTATE "rotate"
+#define NM_SETTING_DNS_OPTION_ROTATE "rotate"
NM_SETTING_DNS_OPTION_NO_CHECK_NAMES
-#define NM_SETTING_DNS_OPTION_NO_CHECK_NAMES "no-check-names"
+#define NM_SETTING_DNS_OPTION_NO_CHECK_NAMES "no-check-names"
NM_SETTING_DNS_OPTION_INET6
-#define NM_SETTING_DNS_OPTION_INET6 "inet6"
+#define NM_SETTING_DNS_OPTION_INET6 "inet6"
NM_SETTING_DNS_OPTION_IP6_BYTESTRING
-#define NM_SETTING_DNS_OPTION_IP6_BYTESTRING "ip6-bytestring"
+#define NM_SETTING_DNS_OPTION_IP6_BYTESTRING "ip6-bytestring"
NM_SETTING_DNS_OPTION_IP6_DOTINT
-#define NM_SETTING_DNS_OPTION_IP6_DOTINT "ip6-dotint"
+#define NM_SETTING_DNS_OPTION_IP6_DOTINT "ip6-dotint"
NM_SETTING_DNS_OPTION_NO_IP6_DOTINT
-#define NM_SETTING_DNS_OPTION_NO_IP6_DOTINT "no-ip6-dotint"
+#define NM_SETTING_DNS_OPTION_NO_IP6_DOTINT "no-ip6-dotint"
NM_SETTING_DNS_OPTION_EDNS0
-#define NM_SETTING_DNS_OPTION_EDNS0 "edns0"
+#define NM_SETTING_DNS_OPTION_EDNS0 "edns0"
NM_SETTING_DNS_OPTION_SINGLE_REQUEST
-#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST "single-request"
+#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST "single-request"
NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN
-#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN "single-request-reopen"
+#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN "single-request-reopen"
NM_SETTING_DNS_OPTION_NO_TLD_QUERY
-#define NM_SETTING_DNS_OPTION_NO_TLD_QUERY "no-tld-query"
+#define NM_SETTING_DNS_OPTION_NO_TLD_QUERY "no-tld-query"
NM_SETTING_DNS_OPTION_USE_VC
-#define NM_SETTING_DNS_OPTION_USE_VC "use-vc"
+#define NM_SETTING_DNS_OPTION_USE_VC "use-vc"
NM_SETTING_DNS_OPTION_NO_RELOAD
-#define NM_SETTING_DNS_OPTION_NO_RELOAD "no-reload"
+#define NM_SETTING_DNS_OPTION_NO_RELOAD "no-reload"
NM_SETTING_DNS_OPTION_TRUST_AD
-#define NM_SETTING_DNS_OPTION_TRUST_AD "trust-ad"
+#define NM_SETTING_DNS_OPTION_TRUST_AD "trust-ad"
@@ -6449,7 +6576,7 @@ cannot be set at the same time.
The “dhcp-hostname-flags” property
“dhcp-hostname-flags” guint
Flags for the DHCP hostname and FQDN.
-Currently this property only includes flags to control the FQDN flags
+
Currently, this property only includes flags to control the FQDN flags
set in the DHCP FQDN option. Supported FQDN flags are
NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE,
NM_DHCP_HOSTNAME_FLAG_FQDN_ENCODED and
@@ -6493,6 +6620,19 @@ by dhclient, which always derives the IAID from the MAC address.
+The “dhcp-reject-servers” property
+ “dhcp-reject-servers” GStrv
+Array of servers from which DHCP offers must be rejected. This property
+is useful to avoid getting a lease from misconfigured or rogue servers.
+For DHCPv4, each element must be an IPv4 address, optionally
+followed by a slash and a prefix length (e.g. "192.168.122.0/24").
+This property is currently not implemented for DHCPv6.
+Owner: NMSettingIPConfig
+Flags: Read / Write
+Since: 1.28
+
+
+
The “dhcp-send-hostname” property
“dhcp-send-hostname” gboolean
If TRUE, a hostname is sent to the DHCP server when acquiring a lease.
@@ -6550,30 +6690,44 @@ name servers to resolv.conf, and if all contributing profiles have
“dns-priority” gint
DNS servers priority.
The relative priority for DNS servers specified by this setting. A lower
-value is better (higher priority). Zero selects a globally configured
-default value. If the latter is missing or zero too, it defaults to
-50 for VPNs (including WireGuard) and 100 for other connections.
+numerical value is better (higher priority).
+Negative values have the special effect of excluding other configurations
+with a greater numerical priority value; so in presence of at least one negative
+priority, only DNS servers from connections with the lowest priority value will be used.
+To avoid all DNS leaks, set the priority of the profile that should be used
+to the most negative value of all active connections profiles.
+Zero selects a globally configured default value. If the latter is missing
+or zero too, it defaults to 50 for VPNs (including WireGuard) and 100 for
+other connections.
Note that the priority is to order DNS settings for multiple active
connections. It does not disambiguate multiple DNS servers within the
same connection profile.
-When using dns=default, servers with higher priority will be on top of
-resolv.conf. To prioritize a given server over another one within the
-same connection, just specify them in the desired order. When multiple
-devices have configurations with the same priority, VPNs will be
+
When multiple devices have configurations with the same priority, VPNs will be
considered first, then devices with the best (lowest metric) default
-route and then all other devices. Negative values have the special
-effect of excluding other configurations with a greater priority value;
-so in presence of at least one negative priority, only DNS servers from
-connections with the lowest priority value will be used.
-When using a DNS resolver that supports Conditional Forwarding as dns=dnsmasq or
-dns=systemd-resolved, each connection is used to query domains in its
-search list. Queries for domains not present in any search list are
-routed through connections having the '~.' special wildcard domain, which
-is added automatically to connections with the default route (or can be
-added manually). When multiple connections specify the same domain, the
-one with the highest priority (lowest numerical value) wins. If a
-connection specifies a domain which is subdomain of another domain with a
-negative DNS priority value, the subdomain is ignored.
+route and then all other devices.
+When using dns=default, servers with higher priority will be on top of
+resolv.conf. To prioritize a given server over another one within the
+same connection, just specify them in the desired order.
+Note that commonly the resolver tries name servers in /etc/resolv.conf
+in the order listed, proceeding with the next server in the list
+on failure. See for example the "rotate" option of the dns-options setting.
+If there are any negative DNS priorities, then only name servers from
+the devices with that lowest priority will be considered.
+When using a DNS resolver that supports Conditional Forwarding or
+Split DNS (with dns=dnsmasq or dns=systemd-resolved settings), each connection
+is used to query domains in its search list. The search domains determine which
+name servers to ask, and the DNS priority is used to prioritize
+name servers based on the domain. Queries for domains not present in any
+search list are routed through connections having the '~.' special wildcard
+domain, which is added automatically to connections with the default route
+(or can be added manually). When multiple connections specify the same domain, the
+one with the best priority (lowest numerical value) wins. If a sub domain
+is configured on another interface it will be accepted regardless the priority,
+unless parent domain on the other interface has a negative priority, which causes
+the sub domain to be shadowed.
+With Split DNS one can avoid undesired DNS leaks by properly configuring
+DNS priorities and the search domains, so that only name servers of the desired
+interface are configured.
Owner: NMSettingIPConfig
Flags: Read / Write
Default value: 0
@@ -6587,6 +6741,10 @@ negative DNS priority value, the subdomain is ignored.
are considered 'routing' domains and are used only to decide the
interface over which a query must be forwarded; they are not used
to complete unqualified host names.
+When using a DNS plugin that supports Conditional Forwarding or
+Split DNS, then the search domains specify which name servers to
+query. This makes the behavior different from running with plain
+/etc/resolv.conf. For more information see also the dns-priority setting.
Owner: NMSettingIPConfig
Flags: Read / Write
@@ -6610,8 +6768,8 @@ length.
The “ignore-auto-dns” property
“ignore-auto-dns” gboolean
When “method” is set to "auto" and this property to
-TRUE, automatically configured nameservers and search domains are
-ignored and only nameservers and search domains specified in the
+TRUE, automatically configured name servers and search domains are
+ignored and only name servers and search domains specified in the
“dns” and “dns-search” properties, if
any, are used.
Owner: NMSettingIPConfig
--
cgit 1.3.0-6-gf8a5
From f2ddac4cbc895837ddcc55015fae112f9859cd0a Mon Sep 17 00:00:00 2001
From: Michael Biebl
Date: Tue, 20 Oct 2020 22:07:24 +0200
Subject: New upstream version 1.27.91
---
docs/libnm/html/NMSettingIPConfig.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs/libnm/html/NMSettingIPConfig.html')
diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html
index 0d3a340d..5263d2d9 100644
--- a/docs/libnm/html/NMSettingIPConfig.html
+++ b/docs/libnm/html/NMSettingIPConfig.html
@@ -6697,7 +6697,7 @@ priority, only DNS servers from connections with the lowest priority value will
To avoid all DNS leaks, set the priority of the profile that should be used
to the most negative value of all active connections profiles.
Zero selects a globally configured default value. If the latter is missing
-or zero too, it defaults to 50 for VPNs (including WireGuard) and 100 for
+or zero too, it defaults to -50 for VPNs (including WireGuard) and 100 for
other connections.
Note that the priority is to order DNS settings for multiple active
connections. It does not disambiguate multiple DNS servers within the
--
cgit 1.3.0-6-gf8a5
From 65f86e8f56267192d42f2b629fc6b0c99fb9cd0c Mon Sep 17 00:00:00 2001
From: Michael Biebl
Date: Sun, 6 Dec 2020 21:57:59 +0100
Subject: New upstream version 1.28.0
---
docs/libnm/html/NMSettingIPConfig.html | 84 +++++++++++++++++-----------------
1 file changed, 42 insertions(+), 42 deletions(-)
(limited to 'docs/libnm/html/NMSettingIPConfig.html')
diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html
index 5263d2d9..06bb11e3 100644
--- a/docs/libnm/html/NMSettingIPConfig.html
+++ b/docs/libnm/html/NMSettingIPConfig.html
@@ -8,7 +8,7 @@
-
+
@@ -1173,13 +1173,13 @@ addressing, routing, and name service properties
Read / Write
int fam
@@ -1664,7 +1664,7 @@ correct size for family
@@ -1820,7 +1820,7 @@ nm_ip_address_dup (Returns
a copy of address
.
-[transfer full]
+[transfer full]
@@ -2060,7 +2060,7 @@ nm_ip_address_get_attribute_names (
Returns
a NULL-terminated array of attribute names,.
-[transfer full]
+[transfer full]
@@ -2101,7 +2101,7 @@ on
address
, or NULL if address
has no such attribute.
-[transfer none]
+[transfer none]
@@ -2135,7 +2135,7 @@ nm_ip_address_set_attribute (value
the value.
-[transfer none][allow-none]
+[transfer none][allow-none]
@@ -2198,7 +2198,7 @@ nm_ip_route_new (int famil
@@ -2262,7 +2262,7 @@ point to buffers of the correct size for family
Returns
the new NMIPRoute object, or NULL on error.
-[transfer full]
+[transfer full]
@@ -2417,7 +2417,7 @@ nm_ip_route_dup (Returns
a copy of route
.
-[transfer full]
+[transfer full]
@@ -2852,7 +2852,7 @@ nm_ip_route_get_attribute_names (
Returns
a NULL-terminated array of attribute names.
-[transfer full]
+[transfer full]
@@ -2893,7 +2893,7 @@ on
route
, or NULL if route
has no such attribute.
-[transfer none]
+[transfer none]
@@ -2927,7 +2927,7 @@ nm_ip_route_set_attribute (value
the value.
-[transfer none][allow-none]
+[transfer none][allow-none]
@@ -3024,7 +3024,7 @@ nm_ip_routing_rule_new (intReturns
a newly created rule instance with the
provided address family. The instance is unsealed.
-[transfer full]
+[transfer full]
Since: 1.18
@@ -3054,7 +3054,7 @@ nm_ip_routing_rule_new_clone (const rule
. Note that the instance will
always be unsealred.
-[transfer full]
+[transfer full]
Since: 1.18
@@ -3085,7 +3085,7 @@ This is not thread-safe.
the self
argument with incremented
reference count.
-[transfer full]
+[transfer full]
Since: 1.18
@@ -3741,7 +3741,7 @@ nm_ip_routing_rule_get_from (const Returns
the set from/src parameter or
NULL, if no value is set.
-[transfer none]
+[transfer none]
Since: 1.18
@@ -3834,7 +3834,7 @@ nm_ip_routing_rule_get_to (const Returns
the set to/dst parameter or
NULL, if no value is set.
-[transfer none]
+[transfer none]
Since: 1.18
@@ -3902,7 +3902,7 @@ nm_ip_routing_rule_get_iifname (const
Returns
the set iifname or NULL if unset.
-[transfer none]
+[transfer none]
Since: 1.18
@@ -3963,7 +3963,7 @@ nm_ip_routing_rule_get_oifname (const
Returns
the set oifname or NULL if unset.
-[transfer none]
+[transfer none]
Since: 1.18
@@ -4288,7 +4288,7 @@ conversion. Currently, not extra arguments are supported.
Since: 1.18
@@ -4337,7 +4337,7 @@ conversion. Currently, not extra arguments are supported.
Since: 1.18
@@ -5051,7 +5051,7 @@ nm_setting_ip_config_get_address (Returns
the address at index idx
.
-[transfer none]
+[transfer none]
@@ -5262,7 +5262,7 @@ nm_setting_ip_config_get_route (Returns
the route at index idx
.
-[transfer none]
+[transfer none]
@@ -5512,7 +5512,7 @@ nm_setting_ip_config_get_routing_rule (Returns
the routing rule at index idx
.
-[transfer none]
+[transfer none]
Since: 1.18
@@ -5926,7 +5926,7 @@ nm_setting_ip_config_get_dhcp_reject_servers
Returns
A NULL terminated array of DHCP reject servers. Even if no reject
servers are configured, this always returns a non NULL value.
-[array length=out_len zero-terminated=1][transfer none]
+[array length=out_len zero-terminated=1][transfer none]
Since: 1.28
@@ -6545,7 +6545,7 @@ incompatible with any other FQDN flag.
The “dad-timeout” property
- “dad-timeout” gint
+ “dad-timeout” int
Timeout in milliseconds used to check for the presence of duplicate IP
addresses on the network. If an address conflict is detected, the
activation will fail. A zero value means that no duplicate address
@@ -6562,7 +6562,7 @@ timeout in milliseconds.
The “dhcp-hostname” property
- “dhcp-hostname” gchar *
+ “dhcp-hostname” char *
If the “dhcp-send-hostname” property is TRUE, then the
specified name will be sent to the DHCP server when acquiring a lease.
This property and “dhcp-fqdn” are mutually exclusive and
@@ -6600,7 +6600,7 @@ described above are sent in the DHCP requests.
The “dhcp-iaid” property
- “dhcp-iaid” gchar *
+ “dhcp-iaid” char *
A string containing the "Identity Association Identifier" (IAID) used
by the DHCP client. The property is a 32-bit decimal value or a
special value among "mac", "perm-mac", "ifname" and "stable". When
@@ -6647,7 +6647,7 @@ providing a static hostname for the computer. If the
The “dhcp-timeout” property
- “dhcp-timeout” gint
+ “dhcp-timeout” int
A timeout for a DHCP transaction in seconds. If zero (the default), a
globally configured default is used. If still unspecified, a device specific
timeout is used (usually 45 seconds).
@@ -6687,7 +6687,7 @@ name servers to resolv.conf, and if all contributing profiles have
The “dns-priority” property
- “dns-priority” gint
+ “dns-priority” int
DNS servers priority.
The relative priority for DNS servers specified by this setting. A lower
numerical value is better (higher priority).
@@ -6697,7 +6697,7 @@ priority, only DNS servers from connections with the lowest priority value will
To avoid all DNS leaks, set the priority of the profile that should be used
to the most negative value of all active connections profiles.
Zero selects a globally configured default value. If the latter is missing
-or zero too, it defaults to -50 for VPNs (including WireGuard) and 100 for
+or zero too, it defaults to 50 for VPNs (including WireGuard) and 100 for
other connections.
Note that the priority is to order DNS settings for multiple active
connections. It does not disambiguate multiple DNS servers within the
@@ -6751,7 +6751,7 @@ query. This makes the behavior different from running with plain
The “gateway” property
- “gateway” gchar *
+ “gateway” char *
The gateway associated with this configuration. This is only meaningful
if “addresses” is also set.
The gateway's main purpose is to control the next hop of the standard default route on the device.
@@ -6805,7 +6805,7 @@ successfully.
The “method” property
- “method” gchar *
+ “method” char *
IP configuration method.
NMSettingIP4Config and NMSettingIP6Config both support "disabled",
"auto", "manual", and "link-local". See the subclass-specific
@@ -6892,6 +6892,6 @@ of NetworkManager.
+
Generated by GTK-Doc V1.33.1