aboutsummaryrefslogtreecommitdiff
path: root/contrib/bsnmp
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken mdoc.Ulrich Spörlein2011-08-011-1/+1
| | | | | | | | Found by: manlint Approved by: re (kib) Notes: svn path=/head/; revision=224584
* Properly detect interface's state in the LINK_STATE_UNKNOWN case.Ruslan Ermilov2011-05-031-2/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=221373
* Don't spam syslog with "inet_ntop(): Address family not supportedRuslan Ermilov2011-04-201-2/+3
| | | | | | | | | | by protocol family" when processing requests received from the UNIX domain socket. MFC after: 3 days Notes: svn path=/head/; revision=220882
* Bring the list of OIDs up-to-date to prevent conflicts.Hartmut Brandt2011-02-031-1/+19
| | | | Notes: svn path=/head/; revision=218225
* Unbreak the build by temprorarily not using include directives inShteryana Shopova2010-12-204-4/+40
| | | | | | | | bsnmpd(1)' def files, until bsd.snmpmod.mk & Makefiles are fixed to pass proper include path flags to gensnmptree. Notes: svn path=/head/; revision=216605
* Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.Shteryana Shopova2010-12-2018-82/+1970
| | | | | | | | | Sponsored by: The FreeBSD Foundation Reviewed by: philip Approved by: philip Notes: svn path=/head/; revision=216594
* Silence the compiler warnings in libbsnmp by removing several (now)Shteryana Shopova2010-12-163-21/+18
| | | | | | | | | | unsed parameters. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ Notes: svn path=/head/; revision=216482
* Add a forgotten file from r216294 and unbreak the build.Shteryana Shopova2010-12-081-0/+404
| | | | | | | | | Sponsored by: The FreeBSD Foundation Reviewed by: philip@ (mostly) Approved by: philip@ Notes: svn path=/head/; revision=216299
* In bsnmpd(1) add support for SNMPv3 message processing model, including ↵Shteryana Shopova2010-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@ Notes: svn path=/head/; revision=216294
* Remove mention of non-existant -o flag for debugging options.Ulrich Spörlein2010-10-231-5/+3
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=214237
* mdoc: drop even more redundant .Pp callsUlrich Spörlein2010-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 Notes: svn path=/head/; revision=214054
* Fix two minor typos.Joel Dahl2010-08-161-2/+2
| | | | Notes: svn path=/head/; revision=211404
* Bump document date after content changes.Ulrich Spörlein2010-08-161-1/+1
| | | | | | | Pointy hat to: uqs Notes: svn path=/head/; revision=211402
* Wordsmithing of bsnmpd.1Ulrich Spörlein2010-08-161-18/+16
| | | | | | | | | PR: docs/149157 Submitted by: Warren Block <wblock@wonkity.com> MFC after: 1 week Notes: svn path=/head/; revision=211401
* Fix a typo introduced in r210936 which broke build.Pyun YongHyeon2010-08-061-1/+1
| | | | Notes: svn path=/head/; revision=210946
* Ethernet vlan(4) interfaces have valid Ethernet link layer addresses butJohn Baldwin2010-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 Notes: svn path=/head/; revision=210936
* mdoc: consistently spell our email addresses <foo@FreeBSD.org>Ulrich Spörlein2010-05-249-18/+18
| | | | | | | | Reviewed by: ru Approved by: harti Notes: svn path=/head/; revision=208483
* (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.Antoine Brodin2010-03-272-2/+2
| | | | | | | | | | Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. Approved by: harti@ Notes: svn path=/head/; revision=205729
* Fix typo in macro name and macro usage.Ulrich Spörlein2010-03-122-2/+3
| | | | | | | | | Found by: make manlint Reviewed by: ru Approved by: harti, philip (mentor) Notes: svn path=/head/; revision=205078
* Fix a problem with high CPU consumption (up to 30%) by bsnmpd on a loaded ↵Shteryana Shopova2009-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 Notes: svn path=/head/; revision=200063
* Add an extra (void *) cast. The struct if_msghdr has an 8 byteWarner Losh2009-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. Notes: svn path=/head/; revision=188760
* This main goals of this project are:Qing Li2008-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 Notes: svn path=/head/; revision=186119
* This commit was generated by cvs2svn to compensate for changes in r176892,Shteryana Shopova2008-03-071-0/+2
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=176893
| * Vendor patch: Prevent bsnmpd from dumping core when a module's init hookvendor/bsnmp/syrinx_20080307_bugfixShteryana Shopova2008-03-071-0/+2
| | | | | | | | | | | | | | | | | | | | returns an error. Approved by: bz (mentor), harti Notes: svn path=/vendor/bsnmp/dist/; revision=176892 svn path=/vendor/bsnmp/syrinx_20080307_bugfix/; revision=176894; tag=vendor/bsnmp/syrinx_20080307_bugfix
* | This commit was generated by cvs2svn to compensate for changes in r163820,Hartmut Brandt2006-10-312-28/+63
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=163821
| * Vendor patch: synthesize the initial value for sysObjectId from the valueHartmut Brandt2006-10-312-28/+63
| | | | | | | | | | | | | | | | | | | | of uname -r in FreeBSD. This value can be overwritten in the configuration file. Suggested by: phk Notes: svn path=/vendor/bsnmp/dist/; revision=163820
* | This commit was generated by cvs2svn to compensate for changes in r163799,Hartmut Brandt2006-10-301-5/+6
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=163800
| * Vendor patch: improve readability by using the IF_Mbps macro.Hartmut Brandt2006-10-301-5/+6
| | | | | | | | | | | | | | Submitted by: glebius Notes: svn path=/vendor/bsnmp/dist/; revision=163799
* | This commit was generated by cvs2svn to compensate for changes in r159063,Hartmut Brandt2006-05-305-114/+915
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=159064
| * Vendor patch: add support for the BITS construct and enumerations in bothHartmut Brandt2006-05-305-114/+915
| | | | | | | | | | | | | | | | | | gensnmpdef and gensnmptree. Add include and typedef directives to gensnmptree. Submitted by: soc-sheryana (partly) Notes: svn path=/vendor/bsnmp/dist/; revision=159063
* | Don't import tree.h from the distribution - we have our own one in sys.Hartmut Brandt2006-03-131-0/+1
| | | | | | | | Notes: svn path=/head/; revision=156677
* | This commit was generated by cvs2svn to compensate for changes in r156066,Hartmut Brandt2006-02-2727-78/+377
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=156067
| * Virgin import of bsnmpd 1.12Hartmut Brandt2006-02-2727-78/+377
| | | | | | | | Notes: svn path=/vendor/bsnmp/dist/; revision=156066
* | This commit was generated by cvs2svn to compensate for changes in r155602,Hartmut Brandt2006-02-136-19/+207
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=155603
| * Vendor fix: make mibII HC counters really 64-bit on 32-bit platforms by pollingHartmut Brandt2006-02-136-19/+207
| | | | | | | | | | | | | | | | | | the kernel periodically. Submitted by: glebius (partly) Notes: svn path=/vendor/bsnmp/dist/; revision=155602
* | This commit was generated by cvs2svn to compensate for changes in r155506,Hartmut Brandt2006-02-101-9/+12
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=155507
| * Vendor patch: Make the link traps more RFC-conform.Hartmut Brandt2006-02-101-9/+12
| | | | | | | | | | | | | | Submitted by: glebius Notes: svn path=/vendor/bsnmp/dist/; revision=155506
* | This commit was generated by cvs2svn to compensate for changes in r155429,Hartmut Brandt2006-02-072-0/+25
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=155430
| * Vendor patch: string_get_max() function to return strings with a maximumHartmut Brandt2006-02-072-0/+25
| | | | | | | | | | | | | | SNMP string length. Notes: svn path=/vendor/bsnmp/dist/; revision=155429
* | This commit was generated by cvs2svn to compensate for changes in r155094,Hartmut Brandt2006-01-311-1/+3
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=155095
| * Vendor patch: prevent a core dump when the trace option is not followedHartmut Brandt2006-01-311-1/+3
| | | | | | | | | | | | | | | | | | by an option value. Submitted by: Shteryana Shopova <shteryana@yahoo.com> Notes: svn path=/vendor/bsnmp/dist/; revision=155094
* | This commit was generated by cvs2svn to compensate for changes in r154184,Hartmut Brandt2006-01-101-9/+19
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=154185
| * Vendor fix: the routing table can change while we are fetching it fromHartmut Brandt2006-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 Notes: svn path=/vendor/bsnmp/dist/; revision=154184
* | This commit was generated by cvs2svn to compensate for changes in r154182,Hartmut Brandt2006-01-101-0/+1
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=154183
| * Vendor fix: initialize the flag field of a newly created node to be 0.Hartmut Brandt2006-01-101-0/+1
| | | | | | | | | | | | | | Submitted by: jasone Notes: svn path=/vendor/bsnmp/dist/; revision=154182
* | This commit was generated by cvs2svn to compensate for changes in r154180,Hartmut Brandt2006-01-102-3/+17
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=154181
| * Vendor fix: make the default read and write communities NULL. ThisHartmut Brandt2006-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. Notes: svn path=/vendor/bsnmp/dist/; revision=154180
* | This commit was generated by cvs2svn to compensate for changes in r154178,Hartmut Brandt2006-01-101-3/+4
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=154179
| * Vendor patch: fix a bug when parsing the include path.Hartmut Brandt2006-01-101-3/+4
| | | | | | | | Notes: svn path=/vendor/bsnmp/dist/; revision=154178
* | This commit was generated by cvs2svn to compensate for changes in r151970,Hartmut Brandt2005-11-021-3/+17
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=151971