freebsd-dev/contrib/bsnmp/lib
Enji Cooper 6521e5f846 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
..
asn1.3
asn1.c Fix a problem with OBJECT IDENTIFIER encoding: need to check the 2014-01-21 16:49:54 +00:00
asn1.h
bsnmpagent.3
bsnmpclient.3
bsnmplib.3 Remove end of line whitespace. 2012-06-17 11:36:28 +00:00
snmp.c Be more strict about IpAddress type in snmp_value_parse(..) 2016-12-24 11:41:16 +00:00
snmp.h Fix SNMP Error response PDUs and properly encode them when using v3 auth/encryption. 2013-10-17 11:49:46 +00:00
snmpagent.c Reply to a snmpEngineID discovery PDU with a Report PDU as per the 2016-11-10 20:51:26 +00:00
snmpagent.h
snmpclient.c Minor style(9) fixes 2016-12-24 11:30:24 +00:00
snmpclient.h
snmpcrypto.c Fix the function signatures when MK_CRYPT == no for snmp_get_local_keys and 2014-12-27 20:58:01 +00:00
snmppriv.h
support.c
support.h
tc.def Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00