NetworkManager/src/core
Thomas Haller 52a0fe584c
dhcp/nettools: better track currently granted lease
When we accept/decline a lease, then that only works if we are in state
GRANTED. n-dhcp4 API also requires us, to provide the exact lease, that
we were announced earlier.

As such, we need to make sure that we don't accept/decline in the wrong
state. That means, to keep track of what we are doing more carefully.

The functions _dhcp_client_accept()/_dhcp_client_decline() now take
a l3cd argument, the one that we announced earlier. And we check that it
still matches.
2022-05-31 18:32:35 +02:00
..
devices device: initialize full v4/v6 union of NMDhcpClientConfig in _dev_ipdhcpx_start() 2022-05-31 18:32:34 +02:00
dhcp dhcp/nettools: better track currently granted lease 2022-05-31 18:32:35 +02:00
dns dns: detect more quickly when systemd-resolved can't be D-Bus activated 2022-05-25 16:03:12 +02:00
dnsmasq all: avoid using global string buffer for to-string methods 2022-04-08 15:59:49 +02:00
ndisc ndisc/tests: relex check in test_dns_solicit_loop() 2022-04-12 18:45:29 +02:00
platform platform: avoid struct alignment issue for NMPlatformIP4Address 2022-05-19 16:11:34 +02:00
ppp
settings core/hostname: avoid blocking calls in NMHostnameManager setting static hostname 2022-05-30 16:56:38 +02:00
supplicant wifi: support "802-1x.phase1-auth-flags=tls-allow-unsafe-renegotiation" flag 2022-05-16 12:09:11 +02:00
tests l3cfg: drop NM_L3_CFG_COMMIT_TYPE_ASSUME and assume_config_once 2022-04-28 10:48:56 +02:00
vpn
main-utils.c
main-utils.h
main.c
meson.build dns/unbound: drop deprecated "unbound" DNS plugin 2022-04-15 09:04:30 +02:00
NetworkManagerUtils.c all: avoid using systemd path utils 2022-04-20 12:07:03 +02:00
NetworkManagerUtils.h
nm-act-request.c
nm-act-request.h
nm-active-connection.c
nm-active-connection.h
nm-audit-manager.c audit: handle error from audit_encode_nv_string() 2022-05-11 17:06:12 +02:00
nm-audit-manager.h
nm-auth-manager.c
nm-auth-manager.h
nm-auth-utils.c
nm-auth-utils.h
nm-checkpoint-manager.c
nm-checkpoint-manager.h
nm-checkpoint.c
nm-checkpoint.h
nm-config-data.c
nm-config-data.h
nm-config.c core: save DHCP lease information in state file in /run 2022-05-03 09:12:12 +02:00
nm-config.h core: save DHCP lease information in state file in /run 2022-05-03 09:12:12 +02:00
nm-connectivity.c connectivity: handle "NoNameServers" resolved error and don't callback to system resolver 2022-04-08 15:49:29 +02:00
nm-connectivity.h
nm-core-utils.c glib-aux: drop nm_str_buf_init() for NM_STR_BUF_INIT() 2022-05-09 19:18:30 +02:00
nm-core-utils.h
nm-dbus-manager.c
nm-dbus-manager.h
nm-dbus-object.c
nm-dbus-object.h
nm-dbus-utils.c
nm-dbus-utils.h
nm-dcb.c
nm-dcb.h
nm-default-daemon.h
nm-dhcp-config.c core: add nm_dhcp_config_get_option_values() 2022-05-03 09:08:16 +02:00
nm-dhcp-config.h core: add nm_dhcp_config_get_option_values() 2022-05-03 09:08:16 +02:00
nm-dispatcher.c
nm-dispatcher.h
nm-firewall-utils.c core: transfer ownership of strbuf data in _fw_nft_set() 2022-05-02 16:43:42 +02:00
nm-firewall-utils.h
nm-firewalld-manager.c
nm-firewalld-manager.h
nm-hostname-manager.c core: fix unused variable in _write_hostname_on_idle_cb() 2022-05-30 18:46:40 +02:00
nm-hostname-manager.h core/hostname: avoid blocking calls in NMHostnameManager setting static hostname 2022-05-30 16:56:38 +02:00
nm-ip-config.c
nm-ip-config.h
nm-keep-alive.c
nm-keep-alive.h
nm-l3-config-data.c libnm: allow manually specified IP addresses to have prefix length 0 2022-05-26 19:08:28 +02:00
nm-l3-config-data.h l3cfg: drop NM_L3_CFG_COMMIT_TYPE_ASSUME and assume_config_once 2022-04-28 10:48:56 +02:00
nm-l3-ipv4ll.c l3cfg: drop NM_L3_CFG_COMMIT_TYPE_ASSUME and assume_config_once 2022-04-28 10:48:56 +02:00
nm-l3-ipv4ll.h
nm-l3-ipv6ll.c l3cfg: drop NM_L3_CFG_COMMIT_TYPE_ASSUME and assume_config_once 2022-04-28 10:48:56 +02:00
nm-l3-ipv6ll.h
nm-l3cfg.c core: move NM_ACD_TIMEOUT_MAX_MSEC define to "nm-l3cfg.h" header for reuse 2022-05-31 18:32:34 +02:00
nm-l3cfg.h core: move NM_ACD_TIMEOUT_MAX_MSEC define to "nm-l3cfg.h" header for reuse 2022-05-31 18:32:34 +02:00
nm-manager.c core: save DHCP lease information in state file in /run 2022-05-03 09:12:12 +02:00
nm-manager.h core: add nm_manager_get_dns_manager() getter 2022-04-15 09:04:30 +02:00
nm-netns.c
nm-netns.h
nm-pacrunner-manager.c
nm-pacrunner-manager.h
nm-policy.c
nm-policy.h
nm-priv-helper-call.c
nm-priv-helper-call.h
nm-rfkill-manager.c core: export radio flags 2022-03-29 09:34:07 +02:00
nm-rfkill-manager.h core: export radio flags 2022-03-29 09:34:07 +02:00
nm-session-monitor.c
nm-session-monitor.h
nm-sleep-monitor.c
nm-sleep-monitor.h
nm-test-utils-core.h all: avoid using global string buffer for to-string methods 2022-04-08 15:59:49 +02:00
nm-types.h
org.freedesktop.NetworkManager.conf
README.l3cfg.md
README.md
README.next.ip-config.md

core

The source code of the NetworkManager daemon.

NetworkManager is a daemon that provides a D-Bus API and a file-based API for configuring the network on a Linux host.

This is the daemon source code.