NetworkManager/src/vpn
Thomas Haller 5f99512366 core: prevent invalid routes in NMIP4Config/NMIP6Config
Kernel requires that the host part of a route (based on network/plen)
is zero. Routes with non-zero host part don't really exist.

In settings (NMIPRoute), we don't enforce that. Hence we must ensure
that we don't let such invalid routes into NMIP4Config/NMIP6Config.

Also at other places where we obtain routes from untrusted sources,
we must sanitize them first.

Also add an assertion to catch such bugs.
2017-07-25 06:44:13 +02:00
..
nm-vpn-connection.c core: prevent invalid routes in NMIP4Config/NMIP6Config 2017-07-25 06:44:13 +02:00
nm-vpn-connection.h vpn-connection: use NMActiveConnectionStateReason 2017-03-17 10:21:19 +01:00
nm-vpn-manager.c build: rename "src/vpn-manager" to "src/vpn" 2016-11-21 14:07:47 +01:00
nm-vpn-manager.h build: rename "src/vpn-manager" to "src/vpn" 2016-11-21 14:07:47 +01:00