Revision tags: release/14.0.0 |
|
#
b740e025 |
| 17-Apr-2023 |
Dimitry Andric <dim@FreeBSD.org> |
bsnmp: make single bit bitfields unsigned to avoid clang 16 warning
Clang 16 introduced a warning about single bit bitfields in structs, which is triggered by a declaration in bsnmp's snmpd.h:
bsnmp: make single bit bitfields unsigned to avoid clang 16 warning
Clang 16 introduced a warning about single bit bitfields in structs, which is triggered by a declaration in bsnmp's snmpd.h:
contrib/bsnmp/snmpd/trans_lsock.c:271:21: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion] peer->input.stream = 1; ^ ~
Signed one-bit bitfields can only have values -1 and 0, but the intent here is to use the field as a boolean, so make it unsigned.
MFC after: 3 days
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
#
9a696dc6 |
| 04-Apr-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead@r345880
|
#
04d17814 |
| 02-Apr-2019 |
Andrey V. Elsukov <ae@FreeBSD.org> |
Add IPv6 transport for bsnmp.
This patch adds a new table begemotSnmpdTransInetTable that uses the InetAddressType textual convention and can be used to create listening ports for IPv4, IPv6, zoned
Add IPv6 transport for bsnmp.
This patch adds a new table begemotSnmpdTransInetTable that uses the InetAddressType textual convention and can be used to create listening ports for IPv4, IPv6, zoned IPv6 and based on DNS names. It also supports future extension beyond UDP by adding a protocol identifier to the table index. In order to support this gensnmptree had to be modified.
Submitted by: harti MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D16654
show more ...
|
Revision tags: release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0 |
|
#
8d7f605b |
| 28-Dec-2016 |
Enji Cooper <ngie@FreeBSD.org> |
Fix bsnmpd sending/receiving with multi-homed configurations or INADDR_ANY used as the listening address in snmpd_input(..)
Stash the IPv4 address of the receiver via the recv(..) callback and use i
Fix bsnmpd sending/receiving with multi-homed configurations or INADDR_ANY used as the listening address in snmpd_input(..)
Stash the IPv4 address of the receiver via the recv(..) callback and use it in the send(..) callback for the transport by specifying IP_SENDSRCADDR for the control message type.
Add sendmsg logic to the UDP transport's send(..) callback and use the respective send(..) callback for the transport instead of calling sendto in snmpd_input(..).
MFC after: 3 weeks Obtained from: Isilon OneFS (^/onefs/branches/BR_8_0_0_DEV@r507595) Submitted by: Thor Steingrimsson <thor.steingrimsson@isilon.com> Sponsored by: Dell EMC Isilon
show more ...
|
#
e1d581b2 |
| 28-Dec-2016 |
Enji Cooper <ngie@FreeBSD.org> |
style(9): clean up trailing whitespace
MFC after: 3 weeks
|
#
0ba351ef |
| 26-Dec-2016 |
Enji Cooper <ngie@FreeBSD.org> |
Refactor transport sources a bit to facilitate changes coming down pipeline
Add recv callback to transport layer to better facilitate code reuse and readability and for symmetry with send callback.
Refactor transport sources a bit to facilitate changes coming down pipeline
Add recv callback to transport layer to better facilitate code reuse and readability and for symmetry with send callback. Move recv_dgram and recv_stream to udp_recv and lsock_recv, respectively, and make the beforementioned functions recv callbacks for the udp and lsock transports, respectively.
Consolidate the check_priv* functions in their relevant trans*.c source to limit scope/use.
Note: this code is roughly based content from the submitter, although this was modified to be more of a direct move from snmpd/main.c to the trans_*.c sources, and to reduce unnecessary static function declarations.
MFC after: 2 weeks Submitted by: Thor Steingrimsson <thor.steingrimsson@isilon.com> Sponsored by: Dell EMC Isilon
show more ...
|
#
88cdfafa |
| 24-Dec-2016 |
Enji Cooper <ngie@FreeBSD.org> |
Allow SNMPv3 authNoPriv and noAuthNoPriv protocols to discover snmpEngineTime as discussed in RFC-5343
This fixes interoperability with net-snmp.
Tested with the following invocations of snmpwalk (
Allow SNMPv3 authNoPriv and noAuthNoPriv protocols to discover snmpEngineTime as discussed in RFC-5343
This fixes interoperability with net-snmp.
Tested with the following invocations of snmpwalk (from net-snmp):
- noAuthNoPriv:
% snmpwalk -v 3 -n '' -u public localhost snmpEngineTime
- authNoPriv:
% snmpwalk -v 3 -n '' -u bsnmp -A bsnmptest -l authNoPriv -a sha localhost \ localhost snmpEngineTime
- authPriv:
% snmpwalk -v 3 -n '' -u bsnmp -A bsnmptest -l authPriv -a sha -x des \ -X bsnmptest localhost snmpEngineTime
MFC after: 1 week Obtained from: Isilon OneFS (5ec6d772cacbc, with minor tweaks) Submitted by: Austin Voecks <austin.voecks@isilon.com> Sponsored by: Dell EMC Isilon
show more ...
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
4aa1608a |
| 11-May-2016 |
Conrad Meyer <cem@FreeBSD.org> |
bsnmpd: Fix size of trapsink::comm to match other community arrays
This fixes a number of possible strcpy() buffer overruns between the various community strings in trap.c.
Reported by: Coverity CI
bsnmpd: Fix size of trapsink::comm to match other community arrays
This fixes a number of possible strcpy() buffer overruns between the various community strings in trap.c.
Reported by: Coverity CIDs: 1006820, 1006821, 1006822 Sponsored by: EMC / Isilon Storage Division
show more ...
|
Revision tags: release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
#
6d4b9715 |
| 09-Dec-2010 |
Dimitry Andric <dim@FreeBSD.org> |
Sync: merge r216133 through r216338 from ^/head.
|
#
135f7de5 |
| 08-Dec-2010 |
Shteryana Shopova <syrinx@FreeBSD.org> |
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 Founda
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@
show more ...
|
Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0 |
|
#
896052c1 |
| 06-Aug-2004 |
Hartmut Brandt <harti@FreeBSD.org> |
Virgin import of bsnmpd 1.7
|
#
495190c6 |
| 06-Aug-2004 |
Hartmut Brandt <harti@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r133211, which included commits to RCS files with non-trunk default branches.
|
Revision tags: release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1 |
|
#
70af00a1 |
| 23-Jan-2004 |
Hartmut Brandt <harti@FreeBSD.org> |
Virgin import of bsnmpd 1.5a
|
#
2172a5cb |
| 23-Jan-2004 |
Hartmut Brandt <harti@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r124861, which included commits to RCS files with non-trunk default branches.
|
Revision tags: release/5.2.0_cvs, release/5.2.0 |
|
#
f06ca4af |
| 10-Nov-2003 |
Hartmut Brandt <harti@FreeBSD.org> |
Virgin import of bsnmp 1.4
|
#
34877e74 |
| 10-Nov-2003 |
Hartmut Brandt <harti@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r122394, which included commits to RCS files with non-trunk default branches.
|
Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0 |
|
#
896052c1 |
| 06-Aug-2004 |
Hartmut Brandt <harti@FreeBSD.org> |
Virgin import of bsnmpd 1.7
|
#
495190c6 |
| 06-Aug-2004 |
Hartmut Brandt <harti@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r133211, which included commits to RCS files with non-trunk default branches.
|
Revision tags: release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1 |
|
#
70af00a1 |
| 23-Jan-2004 |
Hartmut Brandt <harti@FreeBSD.org> |
Virgin import of bsnmpd 1.5a
|
#
2172a5cb |
| 23-Jan-2004 |
Hartmut Brandt <harti@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r124861, which included commits to RCS files with non-trunk default branches.
|
Revision tags: release/5.2.0_cvs, release/5.2.0 |
|
#
f06ca4af |
| 10-Nov-2003 |
Hartmut Brandt <harti@FreeBSD.org> |
Virgin import of bsnmp 1.4
|
#
34877e74 |
| 10-Nov-2003 |
Hartmut Brandt <harti@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r122394, which included commits to RCS files with non-trunk default branches.
|