| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
translating these manual pages. Minor corrections by me.
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
|
| |
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
| |
via bsnmpd(1). The module implements a private BEGEMOT-WIRELESS-MIB.
Sponsored by: The FreeBSD Foundation
Reviewed by: philip@
Approved by: philip@
|
|
|
|
|
|
|
| |
This makes it possible to use the hostres module when bsnmpd is not
running as root.
MFC after: 1 week
|
|
|
|
| |
Reviewed by: ru
|
|
|
|
|
|
|
|
|
|
|
|
| |
pfTablesAddrTable
and modify the BEGEMOT-PF-MIB to add support for IPV6 address' statistics in the PF
tables via pfTablesAddrNetType and pfTablesAddrNet. While here, upgrade the
pf_tree.def file to the new format that includes enumerated values. Also make sure
to return SNMP_ERR_NOSUCHNAME for ALTQ objects, if ALTQ is disabled, so that the agent
will know to skip the pfAltq subtree when servicing GETNEXT requests from SNMP clients
(otherwise snmpwalk on begemotPf would stop at the pfAltq subtree with bsnmpd returning
SNMP_ERR_GENERR).
|
|
|
|
|
|
|
|
|
|
|
| |
then find a specific entry, and get the requested value. So far, it found
the specific entry, refreshed the entry list if necessary, and got the
requested value from the found entry. The problem is that refreshing nukes
all old entries and replaces them with new ones and the obtained entry
pointer was no longer valid after the refresh.
Reviewed by: bz, philip
MFC after: 1 week
|
|
|
|
|
| |
PR: bin/132847
Submitted by: Szalai Andras <szalai (dot) bandi (at) gmail.com>
|
|
|
|
|
|
|
|
| |
the toplevel directory.
This does not change any WARNS level and survives a make universe.
Approved by: ed (co-mentor)
|
| |
|
| |
|
|
|
|
| |
Approved by: harti
|
|
|
|
|
|
|
| |
refreshing the list of pf tables.
OKed by: philip
MFC after: 1 week
|
|
|
|
|
|
|
| |
structure replication and improve manteneability.
Reviewed by: jhb, imp
Tested by: Riccardo Torrini <riccardo at torrini dot org>
|
|
|
|
|
|
|
|
| |
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.
Reviewed by: kib
Approved by: re (rwatson)
|
|
|
|
|
| |
PR: bin/129360
Submitted by: Ulrich Spoerlein
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
filling the table of ALTQ queues retrieved from the kernel.
It is possible for the kernel to return the queues not by pa.altq.qid order.
When this happens, pf_snmp would only partially fill its table.
PR: bin/120974
Submitted by: Mykola Dzham <i -at- levsha.org.ua>
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
object to control the value of the new 'PRIVATE' bridge members' flag.
While here, remove stale '__unused' compiler directives.
Reviewed by: bz
Approved by: re (bmah), bz (mentor)
|
|
|
|
|
|
|
|
| |
- move ftp-proxy from libexec to usr.sbin
- add tftp-proxy
- new altq mtag link
Approved by: re (kensmith)
|
|
|
|
|
|
| |
Reported by: jhb
Discussed with: deischen, des, doubg, harti
Approved by: re (kensmith)
|
| |
|
|
|
|
|
|
| |
Reviewed by: harti
Approved by: harti
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
MFCed to RELENG_6. We no longer need that to compile the bridge module
under both RELENG_6 and CURRENT.
Approved by: bz (mentor)
|
|
|
|
| |
(apart from powerpc where the build broke earlier).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change the API of bridge_get_basemac to take a maximum buffer length.
bridge_if.c
* Adopt to new API.
* In bridge_attach_newif() remove an additional pointer to the buffer
by shuffling the code a bit. Also makes the code more readable.
bridge_sys.c
* bridge_get_basemac():
- Adopt to the new API.
- Change check for error code of getifaddrs().
- First check for sa_family != AF_LINK.
- Copy sockaddr_dl * to get around alignment constraints on some
platforms.
- Use strcmp instead of strncmp so that "foo11" != "foo1".
* other functions:
- Allocate n times of the struct we need instead of arbitrary len,
cast to the type we want it to be and pass around struct *s instead
of char *s. This gets us around alignment restrictions on some
platforms and in addition it is more clear what data is passed around.
- Name variables for same types consistently.
Reviewed by: syrinx
|
|
|
|
| |
the bridge module from the build until this is fixed.
|
|
|
|
| |
Approved by: bz (mentor)
|
|
|
|
|
|
|
| |
1.12 bridgestp.h) and rename all PointToPoint related variables
from P2P to PTP (s/P2P/PTP/g s/p2p/ptp/g).
Approved by: bz (mentor)
|
|
|
|
| |
Approved by: bz (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SNMP option argument. That way the compiler will give a warning in
case of a missing or an extra but unknown 'case:'.
Do the same for SNMP LEAF objects to be prepared once gensnmptree will
auto-generate enums for those too.
Add an abort() after the switch() instead of the 'default:' to catch
any errors. The nice side effect is that the compiler will correctly
track supposed to be 'uninitialized' variables with that.
When trying to set a value sanity check it before calling the OS
dependent API of snmp_bridge to tell whether it is an attempt to
set a bad value or a general error.
Suggested by: harti (first part)
Approved by: bz (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add a default case to handle the situation when the variables are not
initialized.
Furthermore, abort() if the snmp agent passes an invalid option to the
bridge module. As the option (SET, GET, GETNEXT, COMMIT, ROLLBACK) is
determined by the snmp agent based on the operation requested by user,
this behaviour is unlikely to be abused as a source for a DoS, but if
ever hit will likely reveal a problem in the snmp agent or bridge
module.
Approved by: bz (mentor)
|
|
|
|
| |
Approved by: bz (mentor)
|
|
|
|
|
|
|
|
|
| |
via bsnmpd(1). The module implements IETF BRIDGE-MIB as defined in
RFC4188 and a private BEGEMOT-BRIDGE-MIB.
Sponsored by: Google Summer of Code 2006
Reviewed by: bz
Approved by: bz (mentor)
|
|
|
|
|
| |
the symbols to be extracted from the MIB and if that list of symbols is
changed, oid.h should be re-generated.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
instead of maximum sized arrays embedded in the table structures and (2)
using pointers to constant oids instead of copying the oid into each
table structure. This also fixes indexing in the case when a string used
for indexing is longer than the maximum size allowed in the MIB.
Submitted by: Victor Cruceru <soc-victor@>
|
| |
|
|
|
|
|
|
|
|
| |
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
|
| |
|
| |
|
|
|
|
| |
the new MIB files. Add a target to smilint the MIB files.
|
| |
|
|
|
|
|
|
|
| |
and runs on amd64, so revert the stopgap from rev. 1.10
Approved by: harti
Hardware borrowed from: simon
|
|
|
|
|
| |
Submitted by: Victor Cruceru <soc-victor>
Suggested by: Julian Elischer
|
|
|
|
| |
get the inital processor load. Also fix compilation on sparc64 without NDEBUG.
|
|
|
|
|
|
| |
disks.
Submitted by: Victor Cruceru <soc-victor@>
|
|
|
|
| |
Submitted by: Victor Cruceru <soc-victor>
|