harti
c8c9ceea67
Use the new bsd.snmpmod.mk makefile to build the modules. The -I pointers
...
into the contrib directory are still necessary for some of the Makefiles,
because the C-sources there use non-canonical includes ("" includes) to get
at the header files.
2005-11-10 10:14:57 +00:00
harti
c01c7dd3d5
Use the canonical include name for snmpmod.h. The build infrastructure takes
...
already care to pick up the correct version of the file depending on how
we build.
2005-11-10 10:12:01 +00:00
harti
0b891ae48d
Catch up with the import of bsnmp-1.11. Add a couple of new
...
configuration flags to CFLAGS.
2005-10-04 15:03:39 +00:00
philip
5c88887dda
Fix unhandled malloc errors.
...
PR: bin/83467
Submitted by: Dan Lukes <dan -at- obluda.cz>
Prodded by: glebius
MFC after: 3 days
2005-08-29 10:08:04 +00:00
keramida
ac7c9f771d
Fix all the spelling mistakes I could find in the man pages for words
...
that have at least 3 characters.
MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.
2005-07-31 03:30:48 +00:00
kensmith
f97f77429f
Bump the shared library version number of all libraries that have not
...
been bumped since RELENG_5.
Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)
2005-07-22 17:19:05 +00:00
harti
0a57909c7b
No need to specify the include subdirectory. During buildworld the
...
correct files are included from a temp. include directory.
Explained by: ru
2005-05-25 12:04:44 +00:00
harti
deef278173
This module was wrongly including header from /usr/include. Give it
...
the correct path to the source headers.
2005-05-23 12:24:46 +00:00
philip
2ab3cf4f70
Catch up with the bsnmpd daemon's 64bit time ticks.
2005-05-23 11:41:14 +00:00
harti
86a6c190d6
The ticks delivered by the SNMP daemon are now 64-bit, so make our
...
local tick variable which is used to reduce the number of updates from
kernel structures and to ensure intra-PDU consistency also 64 bit.
2005-05-23 11:24:39 +00:00
harti
d6e5847091
Bump the shared library version number of the modules because of
...
changes in the module interface.
2005-05-23 11:22:54 +00:00
harti
a0758285d4
Enable tcp-wrapper support in the SNMP daemon.
...
Submitted by: glebius
2005-04-26 16:49:15 +00:00
philip
5c298acd0a
time_t is signed, so s/uintmax_t/intmax_t/g. Has anyone got an extra pointy
...
hat for me? I'm running out of them.
Spotted by: des
Pointy hat to: philip
2005-03-15 14:52:11 +00:00
philip
2e1bf3f218
Cast time_t to uintmax_t so they can be printed as %ju without breaking on
...
various architectures. This should appease tinderbox on alpha and not break
it anywhere else.
Suggested by: harti
2005-03-15 10:45:42 +00:00
philip
c78021cad6
Make this compile properly on 64bit machines.
...
Pointy hat to: philip
2005-03-14 23:01:25 +00:00
philip
ddd1bb70d9
Add snmp_pf, a bsnmpd module for monitoring (not managing!) pf firewalls.
...
Currently implemented are most things related to states and interfaces, todo
are address tables and altq. I've tried to keep this roughly in sync with a
project implementing this for net-snmpd.
Reviewed by: harti, dhartmei
MFC after: 1 month
2005-03-14 22:16:39 +00:00
harti
c7663fe856
Finish repo-copy of lib/libbsnmp/modules to usr.sbin/bsnmpd/modules.
...
These modules are modules for the daemon, not for the library so
they should be where the daemon is.
2005-03-14 17:32:16 +00:00
ru
6f67e58f8d
who's -> whose
2005-02-13 23:23:30 +00:00
ru
e68efdc747
Let bsd.prog.mk set SRCS and MAN to their default values.
2005-01-28 16:08:11 +00:00
ru
b8a9faaaa3
Fixed punctuation in xrefs.
2005-01-21 20:48:00 +00:00
ru
3b01b84505
NOATM -> NO_ATM
2004-12-21 09:08:06 +00:00
ru
5db2b9d5b3
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
keramida
65c5851ae2
Delete a .Fn that had no argument and
...
properly terminate a .Bl with a matching .El
MFC after: 3 days
2004-10-09 04:03:08 +00:00
trhodes
632ac71095
Fix build in the !NOATM case by using the begemot library in place of
...
using libisc which was a part of BIND8.
Discussed with: des, re, dougb
Submitted by: harti (one part)
Reviewed by: harti (previous version)
2004-09-24 22:10:34 +00:00
harti
f9ec393252
Link to the build again. The problem was that we need a new
...
gensnmptree for the .def file to parse. This was fixed in
Makefile.inc1.
2004-08-11 16:47:12 +00:00
harti
3d30ca08e0
Again something bad is happening so comment out the ATM module.
2004-08-11 16:01:46 +00:00
harti
90c7ff416f
Now, after the import of NgATM-1.1, re-enable the atm module.
2004-08-11 12:27:31 +00:00
scottl
5de16095d4
Disable the snmp_atm module until the source gets fixed. This will unbreak
...
this portion of the build.
2004-08-10 04:56:39 +00:00
harti
f9e42a4d23
Link the snmp_atm module to the build unless NOATM is defined.
2004-08-09 16:40:39 +00:00
harti
bcd06af9f6
Now that gensnmptree can read and merge more than one tree make
...
the rule so that the tree .c and .h files can be produced from several
trees.
2004-08-09 16:37:25 +00:00
harti
a150b8c437
A module for bsnmpd(1) that exports a MIB that contains information about
...
the local ATM interfaces and allows to change some parameters via SNMP.
2004-08-09 16:36:04 +00:00
ru
6651f20e0d
Sort SEE ALSO references (in dictionary order, ignoring case).
2004-07-04 20:55:50 +00:00
ru
01548ace15
Mechanically kill hard sentence breaks.
2004-07-02 23:52:20 +00:00
harti
360b53b9a2
Install the MIBs and the definition file to the new location under
...
/usr/share/snmp.
Noted by: bmah
2004-04-15 08:56:06 +00:00
harti
376040b33f
Use a MANFILTER to patch the man pages to point to the right path.
...
Noted by: phk
2004-04-14 16:31:54 +00:00
harti
c9204f6495
Put the name of the module first in the list of all .Nm calls with
...
argument. This makes the output of calling .Nm without an argument
more senseful later on.
2004-04-14 16:11:05 +00:00
harti
48c5eee60f
Compare with 0 if comparing an integer, not with NULL.
2004-04-14 16:09:20 +00:00
harti
7d1905e15b
Move the SNMP MIBs and tree definitions from /usr/share/bsnmp to
...
/usr/share/snmp. This mirrors the use of /usr/local/share/snmp and
makes also more sense when non-bsnmp-specific MIBs go in.
2004-04-14 16:06:19 +00:00
markm
0b0ae8e16e
Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
...
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).
There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.
Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".
Tested on: i386 sparc64
2004-03-05 08:10:19 +00:00
harti
b848950961
Rename the makefile variable MIBS to BMIBS so that it does not
...
conflict with the environment variable MIBS that is used by net-snmp.
2004-01-24 20:14:03 +00:00
harti
1a1e1de6a0
Rename the MIBS makefile variable to BMIBS so that it does not conflict
...
with the environment variable MIBS that is used by net-snmp.
2004-01-24 20:12:30 +00:00
harti
9576ee9b99
Create the OID and tree files while building the modules and the daemon
...
instead of creating them by hand and storing them in the CVS tree. Add
gensnmptree to the bootstrap tools (it is used to generated these files).
This simplifies the update procedure.
Submitted by: ru
2004-01-23 16:22:49 +00:00
harti
02c00b4d8a
Update generated files.
2004-01-23 11:08:47 +00:00
harti
243855a0bf
Catch up with import of version 1.5a of bsnmp.
2004-01-23 11:08:17 +00:00
harti
a329575b4e
Catch up with the import of version 1.5a of bsnmp.
...
Fix the script to insert $FreeBSD$ into the generated file instead
of the script's FreeBSD id.
2004-01-23 11:07:55 +00:00
harti
72a445939b
Style: remove an empty line.
2004-01-23 11:01:57 +00:00
ru
420b17a9ff
Clean up makefiles.
...
Reviewed by: harti
2004-01-19 19:26:02 +00:00
harti
91fb8e3f9c
Replace all uses of the old netgraph constants NG_*LEN by the new
...
constants NG_*SIZ that include the trailing NUL byte. This change
is mostly mechanical except for the replacement of a couple of snprintf()
and sprintf() calls with strlcpy.
2003-11-15 15:26:35 +00:00
harti
a13d5675bc
Add an empty definition of the MIBS variable so that the makefile does
...
not try to use a MIBS definition from the environment.
Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
2003-11-13 10:18:16 +00:00
harti
336e573a13
The snmp_netgraph module depends on libnetgraph. So add a dependency and
...
add libnetgraph to the list of prebuilt libraries in the main Makefile.
Reviewed by: ru
2003-11-12 17:09:13 +00:00