#
369830 |
|
19-May-2021 |
git2svn |
MFC r307882: bsnmpd: fix SNMPv3
This change fixes SNMPv3 for bsnmpd in stable/11. Note this is already fixed in stable/12 and above.
Original commit log:
Fix a regression introduced in SVN r256678 that breaks USM header parsing
Reviewed by: bz@
(cherry picked from commit 1108712cb5b14130380c93b00f4e9ef2a797a07d)
Git Hash: 271f9f2e8b93f0724d00b5405f8b53f6695408b2 Git Author: syrinx@FreeBSD.org
|
#
312048 |
|
13-Jan-2017 |
ngie |
MFC r310729:
Prevent improper memory accesses after calling snmp_pdu_free and snmp_value_free
snmp_pdu_free: set pdu->nbindings to 0 to limit the damage that could happen if a pdu was reused after calling the function, and as both stack and heap allocation types are used in contrib/bsnmp and usr.sbin/bsnmpd.
snmp_value_free: NULL out value->v.octetstring.octets after calling free on it to prevent a double-free from occurring.
|
#
311602 |
|
07-Jan-2017 |
ngie |
MFC r310501:
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).
|
#
310909 |
|
31-Dec-2016 |
ngie |
MFC r310500,r310660:
r310500:
Minor style(9) fixes
- Trailing whitespace cleanup - Sort variables in snmp_dialog(..) by alignment
No functional change
r310660:
style(9): fix whitespace in pdu_encode_secparams(..)
|
#
310901 |
|
31-Dec-2016 |
ngie |
MFC r310648:
style(9): clean up trailing whitespace
|
#
310672 |
|
28-Dec-2016 |
ngie |
MFC r310499:
Sort #includes
No functional change
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256678 |
|
17-Oct-2013 |
syrinx |
Fix SNMP Error response PDUs and properly encode them when using v3 auth/encryption.
Reported by: harti@
|
#
216594 |
|
20-Dec-2010 |
syrinx |
Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.
Sponsored by: The FreeBSD Foundation Reviewed by: philip Approved by: philip
|
#
216482 |
|
16-Dec-2010 |
syrinx |
Silence the compiler warnings in libbsnmp by removing several (now) unsed parameters.
Sponsored by: The FreeBSD Foundation Reviewed by: philip@
|
#
216294 |
|
08-Dec-2010 |
syrinx |
In bsnmpd(1) add support for SNMPv3 message processing model, including message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415).
Sponsored by: The FreeBSD Foundation Reviewed by: philip@ (mostly) Approved by: philip@
|
#
150921 |
|
04-Oct-2005 |
harti |
This commit was generated by cvs2svn to compensate for changes in r150920, which included commits to RCS files with non-trunk default branches.
|
#
150920 |
|
04-Oct-2005 |
harti |
Virgin import of bsnmpd 1.11
|
#
133211 |
|
06-Aug-2004 |
harti |
Virgin import of bsnmpd 1.7
|
#
124861 |
|
23-Jan-2004 |
harti |
Virgin import of bsnmpd 1.5a
|
#
122394 |
|
10-Nov-2003 |
harti |
Virgin import of bsnmp 1.4
|