NetworkManager/src
Wen Liang 59633dbe11
aliyun: reuse ipv4 gateway address returned by metadata server
The default ipv4 gateway address of the VPC in Aliyun cloud is not the
first IP address in the CIDR subnet block, we should instead use the
ipv4 gateway address retrieved from the metadata server in
`_nmc_mangle_connection()`.

https://bugzilla.redhat.com/show_bug.cgi?id=1823315

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/958

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
(cherry picked from commit 778e1f8493)
2021-08-09 17:16:07 +02:00
..
c-list build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-rbtree build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-siphash build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-stdaux build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
contrib clang-format: reformat code with clang 12 2021-05-04 13:56:26 +02:00
core device: store the original MTU before force-setting it 2021-08-06 15:37:23 +02:00
libnm-base core: introduce device 'allowed-connections' property 2021-07-27 17:51:10 +02:00
libnm-client-aux-extern build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
libnm-client-impl libnm: mark symbols in libnm_1_32_4 linker symbol version as global 2021-07-20 15:57:59 +02:00
libnm-client-public Revert "libnm: introduce the new get_ports() in bridge/bond API" 2021-06-02 12:05:26 +02:00
libnm-client-test build/meson: cleanup dependencies for libnm-core-aux-intern 2021-02-28 10:42:05 +01:00
libnm-core-aux-extern build/meson: cleanup dependencies for libnm-core-aux-extern 2021-02-28 10:42:06 +01:00
libnm-core-aux-intern bond: support the peer_notif_delay bond option 2021-07-02 13:28:34 -03:00
libnm-core-impl libnm: use nm_ascii_is_regular() in _keyfile_key_encode() 2021-07-19 09:14:44 +02:00
libnm-core-intern initrd: add a 'origin' user tag to connections 2021-07-27 17:51:10 +02:00
libnm-core-public libnm: fix NM_SETTING_IP_CONFIG_CLASS() macro 2021-07-09 16:34:52 +02:00
libnm-glib-aux core: introduce device 'allowed-connections' property 2021-07-27 17:51:10 +02:00
libnm-log-core logging: add _nm_log_full() macro 2021-04-12 16:46:01 +02:00
libnm-log-null build: remove shared/ directory 2021-02-24 12:49:13 +01:00
libnm-platform platform: don't add routes that are tracked as external routes 2021-07-21 10:09:09 +02:00
libnm-std-aux glib-aux: use NM_AUTO_PROTECT_ERRNO() in nm_auto_close and nm_auto_fclose 2021-07-01 11:33:56 +02:00
libnm-systemd-core dhcp/systemd: ignore FORCERENEW requests for DHCPV4 to workaround CVE-2020-13529 2021-06-21 16:26:04 +02:00
libnm-systemd-shared trivial: fix code style 2021-07-08 09:59:27 +02:00
libnm-udev-aux build/meson: cleanup dependencies for libnm-udev-aux 2021-02-28 10:42:04 +01:00
libnmc-base libnmc-base: make transfer of memory ownership in try_spawn_vpn_auth_helper() clearer 2021-05-27 10:42:10 +02:00
libnmc-setting all: add a new ipv{4,6}.required-timeout property 2021-07-05 17:17:19 +02:00
libnmt-newt libnmt-newt: use cleanup macro in nmt_newt_button_build_component() 2021-05-11 13:56:50 +02:00
linux-headers platform: move "linux/nl802154.h" to "src/linux-headers/" 2021-03-05 11:27:15 +01:00
n-acd build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
n-dhcp4 n-dhcp4: add an accessor for the file name in the lease 2021-07-27 09:44:28 +02:00
nm-cloud-setup aliyun: reuse ipv4 gateway address returned by metadata server 2021-08-09 17:16:07 +02:00
nm-daemon-helper nm-daemon-helper: fix indentation 2021-06-16 18:33:59 +02:00
nm-dispatcher build: fix linking libnm-log-null into different test programs 2021-07-05 15:09:52 +02:00
nm-initrd-generator initrd: fix handling "ip=single-dhcp:..." in reader_parse_ip() 2021-07-28 17:56:58 +02:00
nm-online build: fix linking libnm-log-null into different test programs 2021-07-05 15:09:52 +02:00
nmcli nmcli: include 'searches' field for nmcli device show 2021-07-13 08:14:06 -03:00
nmtui tui: use internal _nm_utils_ip4_prefix_to_netmask() helper 2021-05-11 13:56:48 +02:00
tests/client nmcli: include 'searches' field for nmcli device show 2021-07-13 08:14:06 -03:00
meson.build core: add infrastructure for spawning a helper process 2021-06-11 21:59:11 +02:00