Commits
- Commit:
6b5c4000434cc5dc67e202d8aede2f543b5b2bf3- From:
- rsadowski <rsadowski@openbsd.org>
- Date:
Standardize logging with bgpd
OK claudio@
- Commit:
754759d678506a17ec8fb2feac05db61c71387a6- From:
- claudio <claudio@openbsd.org>
- Date:
Use imsg_get_fd()
As usual proc_forward_imsg() is never forwarding a file descriptor so
just use -1 there. This should be replaced by imsg_forward().
All other changes are simple conversions.
OK tb@
- Commit:
6d9ea5e778a9646b28e4429add33fe8abac6f14b- From:
- dv <dv@openbsd.org>
- Date:
relayd(8): change agentx_getsock to return void
Only has one return value and it's never checked.
ok martijn@, tb@
- Commit:
3dbaa1b8837a5feba5f8cca6b3bf9fc098c49add- From:
- martijn <martijn@openbsd.org>
- Date:
Make "relayctl reload" when agentx enabling is toggled in relayd.conf work
consistently.
OK benno@
- Commit:
42c7a8a595f5bcf8080722cd08c891564c64396c- From:
- martijn <martijn@openbsd.org>
- Date:
Add some additional INT32_MAX overflow checks. These are unlikely to hit,
but better safe then sorry.
OK tb@
- Commit:
189a23326dc4bc1df675c433b38ff4eef27e817f- From:
- martijn <martijn@openbsd.org>
- Date:
Let relayd make use of libagentx. No functional change intended.
OK tb@
Enthousiasm from Mischa Peters
- Commit:
fe4b71bd3d51e9a1ebb71c357e2bd451c482f86a- From:
- denis <denis@openbsd.org>
- Date:
Remove trailing spaces & tabs
- Commit:
04a2f9536b27f11bd789df2ae153cc14c073ce4b- From:
- martijn <martijn@openbsd.org>
- Date:
Rewrite the agentx code of relayd. This new framework should allow us
to add new objects easier if so desired and should handle a lot more
corner-cases.
This commit should also fix the following:
- On most (all) tables it omits the *Entry elements, making it not map to
OPENBSD-RELAYD-MIB.txt.
- sstolen returns the size of the sockaddr_in{,6}, instead of the
sin{,6}_addr resulting in garbage data to be put in the ip-field.
- relaydSessionPortIn and relaydSessionPortOut are swapped
- relaydSessions only uses relaydSessionIndex, while
OPENBSD-RELAYD-MIB.txt says it should have 2 indices
- miscellaneous minor things related to the AGENTX-protocol, like wonky
index handeling and returning NOSUCHINSTANCE where NOSUCHOBJECT
should be returned, etc.
This commit does remove traps, but it's large enough as is and I intent
on adding it soon(tm). It also deprecates the snmp keyword in favour of
an agentx keyword. The snmp keyword is still available, but will be
removed in the future.
Tweaks and OK denis@ on the relayd parts
Tweaks and OK claudio@ on the agentx parts
"Get it in" deraadt@
