| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
| |
Approved by: harti
|
|
|
|
| |
Spotted by: obrien
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
altq is not present (just disable the altq bits in that case).
PR: 89601
Submitted by: Juraj Lutter <otis -at- sk.freebsd.org>
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
already care to pick up the correct version of the file depending on how
we build.
|
|
|
|
| |
configuration flags to CFLAGS.
|
|
|
|
|
|
|
| |
PR: bin/83467
Submitted by: Dan Lukes <dan -at- obluda.cz>
Prodded by: glebius
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
that have at least 3 characters.
MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.
|
|
|
|
|
|
|
| |
been bumped since RELENG_5.
Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)
|
|
|
|
|
|
| |
correct files are included from a temp. include directory.
Explained by: ru
|
|
|
|
| |
the correct path to the source headers.
|
| |
|
|
|
|
|
| |
local tick variable which is used to reduce the number of updates from
kernel structures and to ensure intra-PDU consistency also 64 bit.
|
|
|
|
| |
changes in the module interface.
|
|
|
|
| |
Submitted by: glebius
|
|
|
|
|
|
|
| |
hat for me? I'm running out of them.
Spotted by: des
Pointy hat to: philip
|