summaryrefslogtreecommitdiffstats
path: root/contrib/bsnmp
Commit message (Collapse)AuthorAgeFilesLines
* Bring the list of OIDs up-to-date to prevent conflicts.harti2011-02-031-1/+19
|
* Unbreak the build by temprorarily not using include directives insyrinx2010-12-204-4/+40
| | | | | bsnmpd(1)' def files, until bsd.snmpmod.mk & Makefiles are fixed to pass proper include path flags to gensnmptree.
* Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.syrinx2010-12-2018-82/+1970
| | | | | | Sponsored by: The FreeBSD Foundation Reviewed by: philip Approved by: philip
* Silence the compiler warnings in libbsnmp by removing several (now)syrinx2010-12-163-21/+18
| | | | | | | unsed parameters. Sponsored by: The FreeBSD Foundation Reviewed by: philip@
* Add a forgotten file from r216294 and unbreak the build.syrinx2010-12-081-0/+404
| | | | | | Sponsored by: The FreeBSD Foundation Reviewed by: philip@ (mostly) Approved by: philip@
* In bsnmpd(1) add support for SNMPv3 message processing model, including ↵syrinx2010-12-0829-254/+4517
| | | | | | | | message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415). Sponsored by: The FreeBSD Foundation Reviewed by: philip@ (mostly) Approved by: philip@
* Remove mention of non-existant -o flag for debugging options.uqs2010-10-231-5/+3
| | | | MFC after: 3 days
* mdoc: drop even more redundant .Pp callsuqs2010-10-191-1/+0
| | | | | | No change in rendered output, less mandoc lint warnings. Tool provided by: Nobuyuki Koganemaru n-kogane at syd.odn.ne.jp
* Fix two minor typos.joel2010-08-161-2/+2
|
* Bump document date after content changes.uqs2010-08-161-1/+1
| | | | Pointy hat to: uqs
* Wordsmithing of bsnmpd.1uqs2010-08-161-18/+16
| | | | | | PR: docs/149157 Submitted by: Warren Block <wblock@wonkity.com> MFC after: 1 week
* Fix a typo introduced in r210936 which broke build.yongari2010-08-061-1/+1
|
* Ethernet vlan(4) interfaces have valid Ethernet link layer addresses butjhb2010-08-061-0/+1
| | | | | | | | use a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLAN interfaces like IFT_ETHER interfaces when handling link layer addresses. Reviewed by: syrinx (bsnmpd) MFC after: 1 week
* mdoc: consistently spell our email addresses <foo@FreeBSD.org>uqs2010-05-249-18/+18
| | | | | Reviewed by: ru Approved by: harti
* (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.antoine2010-03-272-2/+2
| | | | | | | Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. Approved by: harti@
* Fix typo in macro name and macro usage.uqs2010-03-122-2/+3
| | | | | | Found by: make manlint Reviewed by: ru Approved by: harti, philip (mentor)
* Fix a problem with high CPU consumption (up to 30%) by bsnmpd on a loaded ↵syrinx2009-12-035-3/+77
| | | | | | | | | | | | | system. Instead of constantly calling the mibII_idle function when the server is not busy call the function only once every 10 seconds to avoid bsnmpd constantly doing gettimeofday syscalls. Make the idle polling interval confugurable via begemotIfDataPoll. Reported and tested by: misho (at) aitbg (dot) com Oked by: harti MFC after: 1 week
* Add an extra (void *) cast. The struct if_msghdr has an 8 byteimp2009-02-181-1/+1
| | | | | | | | | | | | | | alignment requirement, while rt_msghdr has a 4 byte alignment requirement. The root cause is that if_msghdr has an struct if_data which has an 8-byte alignment requirement due to a time_t that's embedded in it. On MIPS, time_t is a 64-bit number, so must be 64-bit aligned. Since we don't access ifm_data.ifi_epoch, a simple cast is all that's necessary here. It is likely the case that ifi_epoch should *NOT* be a time_t because it is an uptime (time delta) an not an absolute time since 1970. u_long is likely sufficient there since that gives an uptime of 136 years will suffice for the foreseeable future.
* This main goals of this project are:qingli2008-12-152-76/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. separating L2 tables (ARP, NDP) from the L3 routing tables 2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations 3. simplify the logic in the routing code, The most notable end result is the obsolescent of the route cloning (RTF_CLONING) concept, which translated into code reduction in both IPv4 ARP and IPv6 NDP related modules, and size reduction in struct rtentry{}. The change in design obsoletes the semantics of RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland applications such as "arp" and "ndp" have been modified to reflect those changes. The output from "netstat -r" shows only the routing entries. Quite a few developers have contributed to this project in the past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and Andre Oppermann. And most recently: - Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing - Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews - Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion
* This commit was generated by cvs2svn to compensate for changes in r176892,syrinx2008-03-071-0/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: Prevent bsnmpd from dumping core when a module's init hooksyrinx2008-03-071-0/+2
| | | | | | | | | | | | returns an error. Approved by: bz (mentor), harti
* | This commit was generated by cvs2svn to compensate for changes in r163820,harti2006-10-312-28/+63
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: synthesize the initial value for sysObjectId from the valueharti2006-10-312-28/+63
| | | | | | | | | | | | | | of uname -r in FreeBSD. This value can be overwritten in the configuration file. Suggested by: phk
* | This commit was generated by cvs2svn to compensate for changes in r163799,harti2006-10-301-5/+6
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: improve readability by using the IF_Mbps macro.harti2006-10-301-5/+6
| | | | | | | | Submitted by: glebius
* | This commit was generated by cvs2svn to compensate for changes in r159063,harti2006-05-305-114/+915
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: add support for the BITS construct and enumerations in bothharti2006-05-305-114/+915
| | | | | | | | | | | | gensnmpdef and gensnmptree. Add include and typedef directives to gensnmptree. Submitted by: soc-sheryana (partly)
* | Don't import tree.h from the distribution - we have our own one in sys.harti2006-03-131-0/+1
| |
* | This commit was generated by cvs2svn to compensate for changes in r156066,harti2006-02-2727-78/+377
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of bsnmpd 1.12harti2006-02-2727-78/+377
| |
* | This commit was generated by cvs2svn to compensate for changes in r155602,harti2006-02-136-19/+207
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor fix: make mibII HC counters really 64-bit on 32-bit platforms by pollingharti2006-02-136-19/+207
| | | | | | | | | | | | the kernel periodically. Submitted by: glebius (partly)
* | This commit was generated by cvs2svn to compensate for changes in r155506,harti2006-02-101-9/+12
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: Make the link traps more RFC-conform.harti2006-02-101-9/+12
| | | | | | | | Submitted by: glebius
* | This commit was generated by cvs2svn to compensate for changes in r155429,harti2006-02-072-0/+25
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: string_get_max() function to return strings with a maximumharti2006-02-072-0/+25
| | | | | | | | SNMP string length.
* | This commit was generated by cvs2svn to compensate for changes in r155094,harti2006-01-311-1/+3
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: prevent a core dump when the trace option is not followedharti2006-01-311-1/+3
| | | | | | | | | | | | by an option value. Submitted by: Shteryana Shopova <shteryana@yahoo.com>
* | This commit was generated by cvs2svn to compensate for changes in r154184,harti2006-01-101-9/+19
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor fix: the routing table can change while we are fetching it fromharti2006-01-101-9/+19
| | | | | | | | | | | | | | the kernel. Instead of complaining if we get an ENOMEM (meaning it got larger than our buffer is) reallocate the buffer and loop. Submitted by: maxim
* | This commit was generated by cvs2svn to compensate for changes in r154182,harti2006-01-101-0/+1
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor fix: initialize the flag field of a newly created node to be 0.harti2006-01-101-0/+1
| | | | | | | | Submitted by: jasone
* | This commit was generated by cvs2svn to compensate for changes in r154180,harti2006-01-102-3/+17
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor fix: make the default read and write communities NULL. Thisharti2006-01-102-3/+17
| | | | | | | | | | | | basically disables any access unless other strings are set in the config file. Note, that there is no way to set the communities back to NULL once they're set to something not NULL.
* | This commit was generated by cvs2svn to compensate for changes in r154178,harti2006-01-101-3/+4
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: fix a bug when parsing the include path.harti2006-01-101-3/+4
| |
* | This commit was generated by cvs2svn to compensate for changes in r151970,harti2005-11-021-3/+17
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: fix the reporting of ifOperStatus. We now consider anharti2005-11-021-3/+17
| | | | | | | | | | | | | | | | | | | | interface up when it is running AND the link is not down (that is, it is up or unknown). If the interface is running but the link is down, we return state 'dormant', because we're waiting for an external event. Otherwise the interface is 'down'. Submitted by: csjp Reviewed by: glebius
* | This commit was generated by cvs2svn to compensate for changes in r150974,harti2005-10-055-10/+32
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor fix for the build problem of snmp_pf. Move the fallback definitionsharti2005-10-055-10/+32
| | | | | | | | | | for U?INT32_{MAX,MIN} from asn1.h into the .c files that actually require them (the .h file doesn't refer to these macros).
OpenPOWER on IntegriCloud