summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2017-01-15fix typo; from semarieTheo de Raadt
2017-01-13Make it possible to remove VMs from vmd(8)'s internal queue.Edd Barrett
The semantics agreed with reyk@ are: * ad-hoc created vms, created with `vmctl start`, are removed once stopped. * Stopped VMs defined in a config file are flushed before a `vmctl reload`. OK reyk@
2017-01-13Add support for draft-ietf-idr-shutdownPeter Hessler
BGP state = Idle, marked down with shutdown reason "goodbye, we are upgrading to openbsd 6.1", down for 00:00:17 developed by Peter van Dijk <peter.van.dijk@powerdns.com> and Job Snijders <job@ntt.net>, thank you! OK benno@
2017-01-13traceroute never sees a timeout when poll(2) returns when it receivesFlorian Obser
a packet not intended for us. E.g. a ping(8) is running in parallel. In this case we need to account for the time we already waited. Pointed out by Gabriel Nieto <gabnietof AT gmail>, thanks! Looks good to and input millert@
2017-01-13I accidentally committed three lines from the future.Reyk Floeter
2017-01-13Mention attempted graceful shutdown and vmmci(4)Reyk Floeter
2017-01-13Add host side of vmmci(4) to vmd(8).Reyk Floeter
It currently uses the device to request graceful shutdown of a VM on "vmctl stop myvm" but will be extended for reboot and a other edge cases. OK mlarkin@
2017-01-11Add imsg communication channel between vmd and invividual VMs.Reyk Floeter
For now, this is only used to forward "log verbose|brief" requests, but it will be used for better things later. OK mlarkin@
2017-01-11Match what the installer does:Antoine Jacoutot
- verify SHA256.sig and create SHA256 out of it - get the list of syspatches from the verified SHA256 - use sha256 against the verified SHA256 to checksum the syspatches
2017-01-11Instead of checking if /etc/X11 is around to know whether the xbase setAntoine Jacoutot
is installed, check if /var/sysmerge/xetc.tgz exists.
2017-01-11Drop FTP_KEEPALIVE, it's unused.Antoine Jacoutot
2017-01-09Rename control_dispatch_vmm to control_dispatch_vmd to reflect reality.Reyk Floeter
No function change.
2017-01-09log_verbose() -> log_setverbose()Reyk Floeter
2017-01-09Stop accessing verbose and debug variables from log.c directly.Reyk Floeter
This replaces log_verbose() and "extern int verbose" with the two functions log_setverbose() and log_getverbose(). Pointed out by benno@ OK krw@ eric@ gilles@ (OK gilles@ for the snmpd bits as well)
2017-01-09Replace hand-rolled for(;;) traversal of ctl_conns TAILQ withKenneth R Westerback
TAILQ_FOREACH(). No intentional functional change. ok reyk@
2017-01-09smtpd joins the 7 other daemons that share the same log.c file.Reyk Floeter
The only major difference was the "log_trace" concept that is only used by smtpd - move it from log.c into util.c and make it a local concept. This also needed to rename the global "verbose" variable to "tracing" in a few places. OK krw@ gilles@ eric@
2017-01-08Replace hand-rolled for(;;) traversal of ctl_conns TAILQ withKenneth R Westerback
TAILQ_FOREACH(). No intentional functional change. ok reyk@
2017-01-08Reduce "vmd -v" spam a bit by not printing useless exit information. TheseMike Larkin
were being printed because vmm(4) was in the middle of processing an exit that vmd(8) didn't care about, but still exited to vmd(8) because of a pending interrupt.
2017-01-08Sync log.c with the latest version from vmd/log.c that preserves errnoReyk Floeter
so it is safe calling log_* after an error without loosing the it.
2017-01-08delete three macro lines that have no effect, found with mandoc -TlintIngo Schwarze
2017-01-08add missing .An macrosIngo Schwarze
2017-01-05Replace hand-rolled for(;;) emptying of 'symhead' TAILQ with moreKenneth R Westerback
modern TAILQ_FOREACH_SAFE(). No intentional functional change. ok millert@ bluhm@ gilles@
2017-01-05Replace symset()'s hand-rolled for(;;) traversal of 'symhead' TAILQKenneth R Westerback
with more modern TAILQ_FOREACH(). This what symget() was already doing. Add paranoia '{}' around body of symget()'s TAILQ_FOREACH(). No intentional functional change. ok bluhm@ otto@
2017-01-04s/Signaled/Signalled/David Gwynne
2017-01-03document forward(5); from mkJason McIntyre
ok gilles
2017-01-02Syslogd accepted network input only for either IPv4 or IPv6. ToAlexander Bluhm
overcome this limitation, allow to specify more than one listen address for UDP and TCP. input jmc@; OK deraadt@ millert@
2017-01-01Hyphenate compound adjectives 'up-to-date', 'out-of-date' and 'well-known'Theo Buehler
if they precede the noun and omit hyphens otherwise. ok tj
2016-12-31The syspatch test repo can now be accessed over https.Antoine Jacoutot
2016-12-30When syslogd received a SIGHUP during startup, it died instead ofAlexander Bluhm
reloading its config. This could happen when multiple signals were sent during a short interval. So block SIGHUP until signal handlers are installed. OK deraadt@ jca@
2016-12-30markup from jan stary;Jason McIntyre
2016-12-28fix the remaining cases of .Xr with only one argumentIngo Schwarze
2016-12-27If syslogd was started with a relative path, the program could notAlexander Bluhm
re-exec itself. This exec is done during startup of the privsep parent or when syslogd restarts after a SIGHUP. Convert a relative path in argv[0] to an absolute one with realpath(3) before chdir(2). Do all the path handling in priv_init(). suggested by millert@; OK jca@
2016-12-27Replace struct rroute with struct kroute, as done in ospfdJeremie Courreges-Anglas
ok claudio@
2016-12-27struct rroute has been removed, rename variables.Jeremie Courreges-Anglas
ok claudio@
2016-12-26Typo, "more then" -> "more than"Jeremie Courreges-Anglas
2016-12-26Fix typo, happend -> happenedJeremie Courreges-Anglas
2016-12-25Add some {}'s to eliminate "ambiguous else" warnings from gcc.Kenneth R Westerback
ok tb@ millert@
2016-12-25Regenerate with -current rpcgen, eliminating "unused variable 'i'"Kenneth R Westerback
warning. ok millert@
2016-12-24Print metric and type for "redistribute" in ospf6d -v.Jeremie Courreges-Anglas
Similar diff as for ospfd, from Remi Locherer. ok stsp@
2016-12-23When the kernel message buffer overflows, a message is printed byAlexander Bluhm
syslogd(8) and the buffer is overwritten. But after a complete message buffer was read, we got a split line. This happened as syslogd did a partial read which ended within a line. To avoid the latter, syslogd has to reserve space for the kernel message buffer plus 64 chars for the buffer full message. OK millert@
2016-12-23Support p2p links where endpoints aren't in the same subnet.Jeremie Courreges-Anglas
Diff from Piotr Durlej, similar diff from chris@, ok mpi@
2016-12-23Replace the archaic n_time data type with u_int32_t. This also allows theLawrence Teo
removal of the <netinet/in_systm.h> include. ok mpi@ stsp@
2016-12-22Also print the mtu in detailed interface info.Jeremie Courreges-Anglas
Copied on the diff from Remi Locherer for ospfctl. ok benno@ claudio@
2016-12-22Let rde and ospfe know about all IFINFO messages (eg an interface MTU change).Jeremie Courreges-Anglas
The parent now passes all IFINFO messages down to the children, then looks whether he has any work to do. Same idea as ospfd. ok benno@ claudio@
2016-12-22Don't run the FSM if the interface state hasn't changed.Jeremie Courreges-Anglas
ok benno@ claudio@
2016-12-22Don't convert endianess for flow-mod command field, it is a 8 bit field.Rafael Zalamena
2016-12-22Learn remote switch flow tables properties to find out where to installRafael Zalamena
the default table-miss flow for OpenFlow 1.3.5. This is enough to make switchd(8) to work with switch(4) and HP 3800 switch out-of-the-box. ok reyk@
2016-12-21For IFINFO msgs, don't run the FSM if the interface state hasn't changed.Jeremie Courreges-Anglas
ok claudio@
2016-12-21When receiving an IFINFO message, also update the MTU of the interfaceJeremie Courreges-Anglas
Helps recovering from MTU mismatches. Prompted by a diff from Remi Locherer, ok claudio@
2016-12-21rework the end text somewhat so that the informatiom pertaining to -mJason McIntyre
and -u is a) not repeated and b) listed under the respective options instead of in isolation;