Laine Stump
a6f9af8292
network: validate network NAT range
...
This patch modifies virSocketAddrGetRange() to function properly when
the containing network/prefix of the address range isn't known, for
example in the case of the NAT range of a virtual network (since it is
a range of addresses on the *host*, not within the network itself). We
then take advantage of this new functionality to validate the NAT
range of a virtual network.
Extra test cases are also added to verify that virSocketAddrGetRange()
works properly in both positive and negative cases when the network
pointer is NULL.
This is the *real* fix for:
https://bugzilla.redhat.com/show_bug.cgi?id=985653
Commits 1e334a and 48e8b9 had earlier been pushed as fixes for that
bug, but I had neglected to read the report carefully, so instead of
fixing validation for the NAT range, I had fixed validation for the
DHCP range. sigh.
2015-08-10 13:06:56 -04:00
..
2015-07-22 19:05:09 +03:00
2015-06-16 13:46:21 +02:00
2015-03-26 09:19:59 +01:00
2015-05-22 10:14:01 -04:00
2015-06-09 13:56:00 -04:00
2015-06-02 12:40:07 -04:00
2015-06-02 12:40:07 -04:00
2015-07-21 07:08:35 -04:00
2015-08-03 08:38:47 -04:00
2015-08-09 22:29:25 -04:00
2015-08-10 15:05:34 +02:00
2015-08-09 21:35:00 -04:00
2015-04-20 16:43:13 -04:00
2015-06-15 17:25:33 -04:00
2015-06-15 17:25:33 -04:00
2015-07-24 11:23:45 -04:00
2015-07-24 11:23:45 -04:00
2015-05-25 20:52:57 -04:00
2015-05-21 18:13:18 +02:00
2015-08-10 13:15:56 +02:00
2015-04-14 19:33:02 +02:00
2015-06-16 13:46:20 +02:00
2015-05-18 12:46:16 -06:00
2015-04-16 16:11:01 -06:00
2015-07-22 19:05:09 +03:00
2015-04-23 17:08:48 -04:00
2015-04-27 10:04:38 +02:00
2015-04-23 17:08:48 -04:00
2015-04-27 10:04:38 +02:00
2015-04-23 17:08:48 -04:00
2015-04-20 16:43:43 -04:00
2015-05-22 10:14:01 -04:00
2015-06-25 09:11:15 +02:00
2015-08-10 13:15:56 +02:00
2015-04-23 17:08:48 -04:00
2015-08-03 08:38:46 -04:00
2015-06-09 13:56:00 -04:00
2015-04-23 17:08:48 -04:00
2015-04-23 17:08:48 -04:00
2015-06-02 12:40:07 -04:00
2015-08-03 08:38:46 -04:00
2015-08-03 08:38:47 -04:00
2015-04-23 17:08:48 -04:00
2015-04-23 17:08:48 -04:00
2015-04-20 16:40:09 -04:00
2015-04-23 17:08:48 -04:00
2015-05-18 09:54:16 +02:00
2015-03-27 16:55:33 +01:00
2015-04-23 17:08:48 -04:00
2015-04-27 10:04:38 +02:00
2015-08-09 22:29:25 -04:00
2015-04-23 17:08:48 -04:00
2015-06-26 16:41:24 +02:00
2015-06-26 16:41:24 +02:00
2015-08-10 15:05:34 +02:00
2015-08-10 15:05:34 +02:00
2015-04-23 17:08:48 -04:00
2015-04-27 16:03:31 +02:00
2015-04-23 17:08:48 -04:00
2015-04-23 17:08:48 -04:00
2015-04-23 17:08:48 -04:00
2015-08-10 13:06:56 -04:00
2015-04-23 17:08:48 -04:00
2015-04-23 17:08:48 -04:00
2015-06-15 17:25:33 -04:00
2015-07-24 11:23:45 -04:00
2015-04-23 17:08:48 -04:00
2015-05-21 18:13:18 +02:00
2015-05-04 15:01:27 +02:00
2015-04-23 17:08:48 -04:00
2015-04-23 17:08:48 -04:00
2015-06-22 16:03:33 -04:00
2015-03-26 09:19:59 +01:00
2015-04-20 16:40:26 -04:00
2015-06-08 12:54:32 +02:00
2015-07-24 06:49:54 -04:00
2015-04-15 10:29:41 -04:00
2015-04-23 17:08:48 -04:00
2015-04-23 17:08:48 -04:00
2015-06-24 13:47:05 +02:00
2015-07-13 15:59:32 -04:00
2015-04-09 09:43:36 +02:00
2015-04-23 17:08:48 -04:00
2015-08-10 13:15:56 +02:00
2015-04-17 10:18:58 +02:00
2015-04-14 19:33:02 +02:00
2015-04-14 19:33:02 +02:00
2015-06-11 12:11:18 +01:00
2015-08-04 12:28:24 +01:00
2015-04-23 17:08:48 -04:00
2015-04-23 17:08:48 -04:00
2015-06-02 09:20:31 -04:00
2015-04-15 18:41:20 +02:00
2015-07-22 07:12:56 +02:00
2015-07-10 11:30:36 +02:00
2015-06-18 16:46:09 +02:00
2015-04-23 17:08:48 -04:00
2015-04-23 17:08:48 -04:00
2015-05-18 12:46:16 -06:00
2015-04-23 17:08:48 -04:00
2015-04-23 17:08:48 -04:00
2015-04-23 17:08:48 -04:00