joel
44b4398f7d
Remove end of line whitespace.
2012-06-17 11:36:28 +00:00
joel
f7ba751662
Minor mdoc fixes.
2012-06-17 11:33:55 +00:00
emax
a70df32bec
Count both IPv4 and IPv6 TCP connections in tcpCurrEstab
...
Timeout from: current, syrinx
MFC after: 1 week
2012-06-06 18:00:38 +00:00
gjb
8670397617
General mdoc(7) and typo fixes.
...
PR: 167734
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days
2012-05-11 20:06:46 +00:00
harti
aee83c9da8
memset() wants the size of the structure to clear, not the size
...
of the pointer to it.
Submitted by: Pawel Worach
2012-03-18 19:28:52 +00:00
bz
d13adceee2
Adter r228571 unbreak architectures with strict alignment rules
...
by copying rather than casting.
2011-12-17 11:06:22 +00:00
trociny
a17e44c258
Include sys/queue.h: snmpmod.h uses TAILQ.
...
PR: bin/153153
MFC after: 2 weeks
2011-12-11 17:10:33 +00:00
uqs
eb3a891009
Fix broken mdoc.
...
Found by: manlint
Approved by: re (kib)
2011-08-01 22:21:18 +00:00
ru
7c2eec4da4
Properly detect interface's state in the LINK_STATE_UNKNOWN case.
...
MFC after: 1 week
2011-05-03 10:11:44 +00:00
ru
34a7fa4984
Don't spam syslog with "inet_ntop(): Address family not supported
...
by protocol family" when processing requests received from the
UNIX domain socket.
MFC after: 3 days
2011-04-20 08:38:25 +00:00
harti
c5d144bf12
Bring the list of OIDs up-to-date to prevent conflicts.
2011-02-03 15:19:18 +00:00
syrinx
3830b0c9c7
Unbreak the build by temprorarily not using include directives in
...
bsnmpd(1)' def files, until bsd.snmpmod.mk & Makefiles are fixed to
pass proper include path flags to gensnmptree.
2010-12-20 22:56:50 +00:00
syrinx
cdf73327e5
Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.
...
Sponsored by: The FreeBSD Foundation
Reviewed by: philip
Approved by: philip
2010-12-20 17:13:14 +00:00
syrinx
c913d3117c
Silence the compiler warnings in libbsnmp by removing several (now)
...
unsed parameters.
Sponsored by: The FreeBSD Foundation
Reviewed by: philip@
2010-12-16 11:20:37 +00:00
syrinx
69401abe0a
Add a forgotten file from r216294 and unbreak the build.
...
Sponsored by: The FreeBSD Foundation
Reviewed by: philip@ (mostly)
Approved by: philip@
2010-12-08 15:52:06 +00:00
syrinx
ed79f703fb
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@
2010-12-08 13:51:38 +00:00
uqs
26a4fa1adc
Remove mention of non-existant -o flag for debugging options.
...
MFC after: 3 days
2010-10-23 12:27:39 +00:00
uqs
7fc6083fed
mdoc: drop even more redundant .Pp calls
...
No change in rendered output, less mandoc lint warnings.
Tool provided by: Nobuyuki Koganemaru n-kogane at syd.odn.ne.jp
2010-10-19 12:35:40 +00:00
joel
ab18e93a15
Fix two minor typos.
2010-08-16 21:12:26 +00:00
uqs
11c22bb909
Bump document date after content changes.
...
Pointy hat to: uqs
2010-08-16 19:05:10 +00:00
uqs
4e3308a5f6
Wordsmithing of bsnmpd.1
...
PR: docs/149157
Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 1 week
2010-08-16 18:47:35 +00:00
yongari
c21b4e698b
Fix a typo introduced in r210936 which broke build.
2010-08-06 18:44:07 +00:00
jhb
7909344bdf
Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but
...
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
2010-08-06 15:09:21 +00:00
uqs
e5ed83efa9
mdoc: consistently spell our email addresses <foo@FreeBSD.org>
...
Reviewed by: ru
Approved by: harti
2010-05-24 06:26:38 +00:00
antoine
157223c604
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
...
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.
Approved by: harti@
2010-03-27 13:43:18 +00:00
uqs
04da0ca274
Fix typo in macro name and macro usage.
...
Found by: make manlint
Reviewed by: ru
Approved by: harti, philip (mentor)
2010-03-12 11:05:37 +00:00
syrinx
3f6e5c4df5
Fix a problem with high CPU consumption (up to 30%) by bsnmpd on a loaded 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
2009-12-03 16:08:00 +00:00
imp
ad4207874a
Add an extra (void *) cast. The struct if_msghdr has an 8 byte
...
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.
2009-02-18 19:59:27 +00:00
qingli
ec826ad5c7
This main goals of this project are:
...
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
2008-12-15 06:10:57 +00:00
syrinx
2dc85bfeba
This commit was generated by cvs2svn to compensate for changes in r176892,
...
which included commits to RCS files with non-trunk default branches.
2008-03-07 09:33:29 +00:00
syrinx
1f644f50df
Vendor patch: Prevent bsnmpd from dumping core when a module's init hook
...
returns an error.
Approved by: bz (mentor), harti
2008-03-07 09:33:29 +00:00
harti
fa063e4787
Vendor patch: synthesize the initial value for sysObjectId from the value
...
of uname -r in FreeBSD. This value can be overwritten in the configuration
file.
Suggested by: phk
2006-10-31 09:00:35 +00:00
harti
3d94b0ab35
This commit was generated by cvs2svn to compensate for changes in r163820,
...
which included commits to RCS files with non-trunk default branches.
2006-10-31 09:00:35 +00:00
harti
e52b461598
Vendor patch: improve readability by using the IF_Mbps macro.
...
Submitted by: glebius
2006-10-30 16:56:38 +00:00
harti
32ea778f93
This commit was generated by cvs2svn to compensate for changes in r163799,
...
which included commits to RCS files with non-trunk default branches.
2006-10-30 16:56:38 +00:00
harti
f467eea07a
Vendor patch: add support for the BITS construct and enumerations in both
...
gensnmpdef and gensnmptree. Add include and typedef directives to gensnmptree.
Submitted by: soc-sheryana (partly)
2006-05-30 07:46:52 +00:00
harti
934871b0b1
This commit was generated by cvs2svn to compensate for changes in r159063,
...
which included commits to RCS files with non-trunk default branches.
2006-05-30 07:46:52 +00:00
harti
c798bc7cd6
Don't import tree.h from the distribution - we have our own one in sys.
2006-03-13 09:30:26 +00:00
harti
9b4fc3d8f1
Virgin import of bsnmpd 1.12
2006-02-27 16:16:18 +00:00
harti
247524ddce
This commit was generated by cvs2svn to compensate for changes in r156066,
...
which included commits to RCS files with non-trunk default branches.
2006-02-27 16:16:18 +00:00
harti
a923e07ab3
Vendor fix: make mibII HC counters really 64-bit on 32-bit platforms by polling
...
the kernel periodically.
Submitted by: glebius (partly)
2006-02-13 14:11:18 +00:00
harti
2515c2ee04
This commit was generated by cvs2svn to compensate for changes in r155602,
...
which included commits to RCS files with non-trunk default branches.
2006-02-13 14:11:18 +00:00
harti
af0ed09791
Vendor patch: Make the link traps more RFC-conform.
...
Submitted by: glebius
2006-02-10 16:49:49 +00:00
harti
6f93f5275e
This commit was generated by cvs2svn to compensate for changes in r155506,
...
which included commits to RCS files with non-trunk default branches.
2006-02-10 16:49:49 +00:00
harti
d548c36029
Vendor patch: string_get_max() function to return strings with a maximum
...
SNMP string length.
2006-02-07 15:48:37 +00:00
harti
d480a7b5a1
This commit was generated by cvs2svn to compensate for changes in r155429,
...
which included commits to RCS files with non-trunk default branches.
2006-02-07 15:48:37 +00:00
harti
8981065828
Vendor patch: prevent a core dump when the trace option is not followed
...
by an option value.
Submitted by: Shteryana Shopova <shteryana@yahoo.com>
2006-01-31 14:59:07 +00:00
harti
6736c7fe94
This commit was generated by cvs2svn to compensate for changes in r155094,
...
which included commits to RCS files with non-trunk default branches.
2006-01-31 14:59:07 +00:00
harti
574aae598d
Vendor fix: the routing table can change while we are fetching it from
...
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
2006-01-10 11:59:31 +00:00
harti
3b616a90c3
This commit was generated by cvs2svn to compensate for changes in r154184,
...
which included commits to RCS files with non-trunk default branches.
2006-01-10 11:59:31 +00:00