ngie
3a6e63dcae
Be more strict about IpAddress type in snmp_value_parse(..)
...
- Use inet_pton with AF_INET instead of doing longhand with sscanf.
- Use gethostbyname2 with AF_INET to ensure that the hostname isn't
accidentally parsed with another address family, e.g. AF_INET6.
NB: IpAddress per RFC-2578 is IPv4 only. Work is in progress to add
the InetAddress type and friends documented in RFC-4001 and
elsewhere (which supports IPv4, IPv6, and more).
MFC after: 2 weeks
2016-12-24 11:41:16 +00:00
..
2016-11-14 00:33:03 +00:00
2016-09-29 09:16:02 +00:00
2016-12-16 00:35:59 +00:00
2016-10-04 23:10:43 +00:00
2016-12-19 23:38:07 +00:00
2016-12-24 11:41:16 +00:00
2016-12-13 22:16:02 +00:00
2016-12-02 20:17:41 +00:00
2016-09-19 14:36:16 +00:00
2016-12-16 01:48:55 +00:00
2016-12-16 01:42:51 +00:00
2016-07-01 05:48:45 +00:00
2016-11-07 15:54:47 +00:00
2016-10-22 01:57:15 +00:00
2016-09-05 18:02:37 +00:00
2016-12-10 12:02:32 +00:00
2016-11-17 03:00:56 +00:00
2016-08-28 19:48:08 +00:00
2016-12-04 21:13:26 +00:00
2016-07-14 06:10:16 +00:00
2016-12-17 02:07:08 +00:00
2016-12-06 17:05:02 +00:00
2016-11-26 15:01:35 +00:00
2016-09-04 21:54:24 +00:00
2016-07-25 03:58:19 +00:00
2016-07-30 01:16:06 +00:00
2016-07-14 09:45:07 +00:00
2016-08-03 20:21:58 +00:00
2016-10-01 00:14:01 +00:00
2016-07-03 01:35:27 +00:00
2016-12-21 14:06:44 +00:00
2016-10-18 13:37:59 +00:00
2016-08-27 20:33:19 +00:00
2016-12-10 22:08:33 +00:00
2016-11-22 08:30:32 +00:00
2016-09-24 17:50:11 +00:00
2016-09-03 23:04:56 +00:00
2016-09-20 12:58:28 +00:00
2016-07-20 03:52:04 +00:00
2016-08-24 12:32:24 +00:00
2016-12-01 07:50:44 +00:00
2016-12-06 18:58:42 +00:00
2016-07-14 09:40:42 +00:00
2016-12-06 18:50:22 +00:00
2016-08-30 20:30:29 +00:00
2016-09-05 08:27:04 +00:00
2016-10-08 17:46:29 +00:00
2016-12-04 23:23:59 +00:00
2016-09-29 18:24:29 +00:00