summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2017-01-25Hopefully the last of the struct rib rototilling. Peer just points to aClaudio Jeker
struct rib and not rib_desc since the full descriptor is almost never needed. This should now allow the update code to be changed.
2017-01-25Switch rde_generate_update and rde_send_kroute to accept a struct rib insteadClaudio Jeker
of the id. For this we move the rtableid into struct rib. Also move the update code in rib.c up to where the kroute code is. Makes more senses like that.
2017-01-25Flag the Loc-RIB with F_RIB_LOCAL so we can remove one ugly hack somewhere elseClaudio Jeker
2017-01-24Save some space in struct rib_entry so it is back to 64bytes (on 64bit archs).Claudio Jeker
Doing this by folding the lock flag into a pointer and providing an accessor function for the rib pointer. This is an acceptable middle path for this important structure. OK benno@ on an earlier version
2017-01-24do not need sys/proc.hTheo de Raadt
2017-01-24Tell traceroute6 to choose source address based on correct routingFlorian Obser
table. From dhill, tweeks by me. OK benno
2017-01-24Make returns consistent and remove parentheses per style(9).Joel Sing
Transformed with coccinelle. Requested by and ok tb@
2017-01-24sort SEE ALSO;Jason McIntyre
2017-01-24nuke extra brackets. discussed with jsingTheo Buehler
2017-01-24Complete jsing's coccinelle cleanup... by handTheo de Raadt
ok jsing
2017-01-24correct usage format; ok beck claudio bennoTheo de Raadt
2017-01-24errx() does not need extra newlineTheo de Raadt
2017-01-24add ocspcheck to see alsoBob Beck
2017-01-24fix mode on open() and ftruncate(), noticed byBob Beck
bcook@
2017-01-24hook ocspcheck into the buildBob Beck
2017-01-24Say no to two line error messages on failureBob Beck
2017-01-24Replace comparisons between a constant or enum and an expression, withJoel Sing
a comparison between the expression and the constant or enum. This significantly improves readability. Transformed with coccinelle. Requested by deraadt@
2017-01-24s/returns/exits/Bob Beck
2017-01-24Break run-on sentence into two.Bob Beck
2017-01-24sort previous;Jason McIntyre
2017-01-24string terminator is called a NULTheo de Raadt
2017-01-24Actually load the cafile when providede, and error message cleanupBob Beck
2017-01-24move the opening of /dev/pf from the parent process to the pfe processSebastian Benoit
where it is used. Currently pf is opened on every reload, that will no longer be possible in the future with pledged programms that do ioctls. This prepares relayd for that change. ok deraadt@, meinetwegen reyk@
2017-01-24use warn, I have errno here. noticed by theoBob Beck
2017-01-24Yes the "if (const == val" idiom provides some safety, but it grates onTheo de Raadt
us too much. ok beck jsing
2017-01-24knfBob Beck
2017-01-24revert accidental commit of theo diffBob Beck
2017-01-24Just don't bother with OpenSSL error strings, they are mostlyBob Beck
irrelevant and look gross here anyway.. we don't need them
2017-01-24SVM: vmd(8) support for SVMMike Larkin
2017-01-24Add a workaround for the fact that 'install -d' without explicit modeTheo Buehler
defaults to 755, which is incompatible with WOBJUMASK. Make sure that obj/util has permissions :wobj 770, as all other directories in obj/. Issue also found by jmc, actual reason tracked down by ajacoutot. ok ajacoutot
2017-01-24various cleanup;Jason McIntyre
2017-01-24slight cleanupsTheo de Raadt
2017-01-24s/exit/exist/ typoBob Beck
2017-01-24mark start -m as optional; reorder start synopsis to match vmctl usageRichard Procter
ok mlarkin@
2017-01-24New ocspcheck utility to validate a certificate against its ocsp responderBob Beck
and save the reply for stapling ok deraadt@ jsing@
2017-01-24string terminator is called a NULTheo de Raadt
2017-01-24vmctl start -k is optional; also emphasise it specifies a path on the hostRichard Procter
ok mlarkin@
2017-01-24sync log.c from relayd et al to ospfd.Sebastian Benoit
there is still a little difference regarding handling of the verbosity value that will be handled later. ok claudio@
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
there is still a little difference regarding handling of the verbosity value that will be handled later. ok claudio@ florian@
2017-01-24remove unused junk definitionsTheo de Raadt
2017-01-23Mission accomplished, bgpctl is now fatal free.Claudio Jeker
2017-01-23Kill the timer.c reacharound it is not needed.Claudio Jeker
2017-01-23cleanup log* functions that break with bgpd reacharoundSebastian Benoit
ok claudio@
2017-01-23Make util.c fatal() free by allowing undefined behaviour in prefix_compare.Claudio Jeker
If you pass in crap then you will not get gold back.
2017-01-23Rename rib pointer in struct prefix to re since it points to a rib_entry.Claudio Jeker
While there also remove a comment that is since a few years at least. OK gcc
2017-01-23Introduce a struct rib sitting between struct rib_desc and struct rib_tree.Claudio Jeker
This way the tree becomes a bit better decoupled.
2017-01-23Revert the struct rib_tree rename. I need a struct in between because ofClaudio Jeker
how struct rib_entry is used.
2017-01-23Build on arm64.Mark Kettenis
2017-01-23More rototilling, make rib_new and rib_find return a point to struct rib_descClaudio Jeker
2017-01-23Now rename struct rib_tree to struct rib. Again OK gccClaudio Jeker