Revision tags: release/14.0.0, 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 |
|
#
0bf56da3 |
| 01-Apr-2020 |
Hartmut Brandt <harti@FreeBSD.org> |
Merge release 1.14 of bsnmp.
|
Revision tags: release/12.1.0, release/11.3.0 |
|
#
32312513 |
| 09-Jan-2019 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Timer interval is correctly counted in ticks (1/100 s) in mibif_reset_hc_timer(). Multiplication by 10 is erroneous and is probably a blind copy and paste from next function.
PR: 132993 Submitted
Timer interval is correctly counted in ticks (1/100 s) in mibif_reset_hc_timer(). Multiplication by 10 is erroneous and is probably a blind copy and paste from next function.
PR: 132993 Submitted by: Vitezslav Novy <vnovy vnovy.net>
show more ...
|
Revision tags: release/12.0.0 |
|
#
3611ec60 |
| 18-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r337646 through r338014.
|
#
1a498d2e |
| 18-Aug-2018 |
Eugene Grosbein <eugen@FreeBSD.org> |
bsnmpd(8): fix and optimize interface description processing
* correctly prepare a buffer to obtain interface description from a kernel and truncate long description instead of dropping it altoget
bsnmpd(8): fix and optimize interface description processing
* correctly prepare a buffer to obtain interface description from a kernel and truncate long description instead of dropping it altogether and spamming logs; * skip calling strlen() for each description and each SNMP request for MIB-II/ifXTable's ifAlias. * teach bsnmpd to allocate memory dynamically for interface descriptions to decrease memory usage for common case and not to break if long description occurs;
PR: 217763 Reviewed by: harti and others MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D16459
show more ...
|
#
8e9b3e70 |
| 03-Jul-2018 |
Hartmut Brandt <harti@FreeBSD.org> |
Update bsnmp to version 1.13. This does not bring user-visible changes. For developers gensnmptree can now generate functions for enums to convert between enums and strings and to check the validity
Update bsnmp to version 1.13. This does not bring user-visible changes. For developers gensnmptree can now generate functions for enums to convert between enums and strings and to check the validity of a value. The sources in FreeBSD are now in sync with the upstream which allows to bring in IPv6 modifications.
show more ...
|
Revision tags: release/11.2.0 |
|
#
3a4fc8a8 |
| 13-Apr-2018 |
Brooks Davis <brooks@FreeBSD.org> |
Remove support for the Arcnet protocol.
While Arcnet has some continued deployment in industrial controls, the lack of drivers for any of the PCI, USB, or PCIe NICs on the market suggests such users
Remove support for the Arcnet protocol.
While Arcnet has some continued deployment in industrial controls, the lack of drivers for any of the PCI, USB, or PCIe NICs on the market suggests such users aren't running FreeBSD.
Evidence in the PR database suggests that the cm(4) driver (our sole Arcnet NIC) was broken in 5.0 and has not worked since.
PR: 182297 Reviewed by: jhibbits, vangyzen Relnotes: yes Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D15057
show more ...
|
Revision tags: release/10.4.0, release/11.1.0 |
|
#
b0cc56ed |
| 09-Jan-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r311692 through r311807.
|
#
0ab70469 |
| 09-Jan-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Use nitems(mib) instead of hardcoding mib's length when calling sysctl(3)
MFC after: 3 days
|
#
a0e0e1ff |
| 31-Dec-2016 |
Enji Cooper <ngie@FreeBSD.org> |
MIB-II: use strlcpy instead of strcpy when copying {descr,name}
This is of course to avoid buffer overruns
The remaining strcpy instance in the module needs to be audited for correctness
MFC after
MIB-II: use strlcpy instead of strcpy when copying {descr,name}
This is of course to avoid buffer overruns
The remaining strcpy instance in the module needs to be audited for correctness
MFC after: 1 week Reported by: Coverity CID: 1006827, 1006828
show more ...
|
#
02ff676c |
| 31-Dec-2016 |
Enji Cooper <ngie@FreeBSD.org> |
MIB-II: use strlcpy when copying interface names to .ifr_name
.ifra_name is assumed to be NUL terminated; using strlcpy(3) ensures that it's indeed NUL terminated whereas strncpy does not.
Tested a
MIB-II: use strlcpy when copying interface names to .ifr_name
.ifra_name is assumed to be NUL terminated; using strlcpy(3) ensures that it's indeed NUL terminated whereas strncpy does not.
Tested and verified as follows with a combination of ifconfig, snmpget, and snmpset:
% ifconfig create lo1 127.0.0.2/8 % SNMPARGS="-v 3 -n '' -u bsnmp -A bsnmptest -l authPriv -a sha -x des -X bsnmptest localhost" % snmpget $SNMPARGS IF-MIB::ifAdminStatus.4 IF-MIB::ifAdminStatus.4 = INTEGER: up(1) % snmpset $SNMPARGS IF-MIB::ifAdminStatus.4 i 2 IF-MIB::ifAdminStatus.4 = INTEGER: down(2) % snmpget $SNMPARGS IF-MIB::ifAdminStatus.4 IF-MIB::ifAdminStatus.4 = INTEGER: down(2) % snmpset $SNMPARGS IF-MIB::ifAdminStatus.4 i 1 IF-MIB::ifAdminStatus.4 = INTEGER: up(1) % snmpget $SNMPARGS IF-MIB::ifAdminStatus.4 IF-MIB::ifAdminStatus.4 = INTEGER: up(1)
MFC after: 2 weeks Reported by: Coverity CID: 1009652-1009656, 1349850
show more ...
|
#
83739935 |
| 31-Dec-2016 |
Enji Cooper <ngie@FreeBSD.org> |
Guard against use-after-free after calling mibif_free(..)
Set variables to NULL after calling free.
Also, remove unnecessary if (x != NULL) checks before calling free(x)
MFC after: 1 week
|
#
2fd30e01 |
| 30-Dec-2016 |
Enji Cooper <ngie@FreeBSD.org> |
Fix whitespace in a comment and fixing a spelling error in a comment
MFC after: 3 days
|
#
e1d581b2 |
| 28-Dec-2016 |
Enji Cooper <ngie@FreeBSD.org> |
style(9): clean up trailing whitespace
MFC after: 3 weeks
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
#
bbb51924 |
| 08-Feb-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
a49d8b6e |
| 06-Feb-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r294961 through r295350.
|
#
2414e864 |
| 03-Feb-2016 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
MfH @r295202
Expect to see panics in routing code at least now.
|
#
ce42ce03 |
| 03-Feb-2016 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Try to fix a bug introduced in r228623. We started to copy the ifa_msghdr as otherwise platforms with strict alignment would break. It's unclear to me if there's also a problem with access to the a
Try to fix a bug introduced in r228623. We started to copy the ifa_msghdr as otherwise platforms with strict alignment would break. It's unclear to me if there's also a problem with access to the address list following the structure. However we never copied the address list after the structure and thus are pointing at random memory. For now just use a pointer to the original memory for accessing the address list making it at least work on platforms with weak memory access.
PR: 195445 Reported by: wolfgang lyxys.ka.sub.org Tested by: wolfgang lyxys.ka.sub.org (x86) MFC after: 3 days
show more ...
|
#
f9421853 |
| 25-Jan-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
d9b9dae1 |
| 22-Jan-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r294169 through r294598.
|
#
009e81b1 |
| 22-Jan-2016 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
MFH @r294567
|
#
5edd0d3a |
| 21-Jan-2016 |
Hartmut Brandt <harti@FreeBSD.org> |
Fill the ifAlias leaf of the ifXTable with the interface description if there is one available and it fits into the maximum size (64 characters).
|
Revision tags: release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0 |
|
#
d1d01586 |
| 05-Sep-2013 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge from head
|
#
40f65a4d |
| 07-Aug-2013 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r254014
|
#
552311f4 |
| 17-Jul-2013 |
Xin LI <delphij@FreeBSD.org> |
IFC @253398
|
#
cfe30d02 |
| 19-Jun-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge fresh head.
|