summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2018-04-27pledge earlier in preparation of pledgepathFlorian Obser
2018-04-27vmd(8): allow counter state readback via misc port for square wave modeMike Larkin
2018-04-27vmd(8): allow unlatch PIT readsMike Larkin
ok ccardenas
2018-04-26- fix some macro abuseJason McIntyre
- *an* smtp - format the list nicer ok eric
2018-04-26fix build for smtp(1) after log.h updateEric Faurot
2018-04-26sync log.h with other daemonsEric Faurot
ok gilles@
2018-04-26vmd(8): fix some bugs in PIT mode settingMike Larkin
PIT modes are now properly handled, including INTTC mode. This fixes some bootloader timeouts. ok brynet
2018-04-26vmd(8): some more long lines that got missed last timeMike Larkin
2018-04-26vmd(8): handle PIT channel 2 status readback via port 0x61Mike Larkin
Allow PIT channel 2 status (fired/counting) readback via port 0x61 bit 5. ok guenther@
2018-04-26vmd(8): wrap some long linesMike Larkin
2018-04-26vmd(8): bump virtio network max queue size to 256 (to match qemu)Mike Larkin
2018-04-26vmd(8): use #defines for queue indices and cleanup some codeMike Larkin
ok phessler
2018-04-26Prefer <fcntl.h> over <sys/fcntl.h> in userlandPhilip Guenther
While here, delete some extra #includes and apply style(9) sort rules. ok deraadt@ krw@ mpi@
2018-04-26fix OpenBSD releaseEric Faurot
2018-04-26vmd(8): fix broken networking on newer linux guest kernelsMike Larkin
Linux kernels after about 4.11.x or so exhibited problems with vmd(8)'s virtio implementation. This commit fixes two bugs - an descriptor index problem for the receive queue and a problem where the packet data was being copied into the secondary descriptor buffer (should now be the first descriptor's buffer, since that has enough size now for a non-jumbo frame). Verified on ubuntu 17.10 (linux 4.13.x) and regression tested on a variety of older linux guests and non-linux guests. ok ccardenas, phessler
2018-04-26Plug leak in error case of the common 'varset' implementations.Kenneth R Westerback
ok benno@
2018-04-26add a simple SMTP clientEric Faurot
ok gilles@
2018-04-26Globally remember the passwd entry for _syslogd. The user id isAlexander Bluhm
used for opening the pipe process. Move the getpwnam() lookup out of the privsep parent loop, so it does not need "getpw" pledge anymore. OK deraadt@
2018-04-26Minimal macro cleanup.Ingo Schwarze
The way the content is presented is still atrocious, but i'm not cleaning that up right now.
2018-04-26adjust to removed support for /etc/networksIngo Schwarze
2018-04-26Delete support for the networks.by{name,addr} YP maps.Ingo Schwarze
This is part of the project to delete /etc/networks support. OK deraadt@
2018-04-26Don't hide stderr; starting with 6.4 there will always be an SHA256.sig.Antoine Jacoutot
2018-04-26Do not call getnetbyname(3) when parsing securenet(5) and ypserv.acl(5).Ingo Schwarze
If anybody still uses these files, specify networks with numbers in there. This is part of the project to delete /etc/networks support. OK deraadt@
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@
2018-04-26reorg error handling so it's always passed to class methods that canMarc Espie
be overridden. Useful for nextgen update-plist
2018-04-26remove mail.file.{8,c}, unusedGilles Chehade
ok eric@
2018-04-26remove unused MakefileGilles Chehade
2018-04-26don't build mail.fileGilles Chehade
ok eric@
2018-04-26spelling error in log messageccardenas
2018-04-25vmd(8)'s early error messages weren't visible when started via /etc/rcMike Larkin
(such as errors relating to not having VMX/etc). Change the log_init to log to syslog so at least we have some chance of seeing these errors. requested and ok beck@
2018-04-25remove the largely out of date examples related to kernelJason McIntyre
building: more accurate information can be found elsewhere; while here, replace Gt sequences; prompted by a diff from il ka; ok deraadt guenther
2018-04-25we might not get update_info if unsigned!Marc Espie
2018-04-25Return-Path should be in brackets as per RFC5322Gilles Chehade
diff from Leo Gaspard, ok eric@ and I
2018-04-25you can't have wsmoused and x mouse together ;(Jason McIntyre
prompted by il ka
2018-04-23Allow escaping quote within quotes.Sunil Nimmagadda
Leah Neukirchen reports that according to RFC5322 escaping quote within quotes is valid and that postfix accepts it as well. https://github.com/OpenSMTPD/OpenSMTPD/issues/846 Ok gilles@
2018-04-22try logging, but if we're in pkg_info, we don't have the toolsMarc Espie
problem reported by TJ
2018-04-21spelling error in log messageMike Larkin
2018-04-20adjust the example to make it work;Jason McIntyre
from matt schwartz ok claudio
2018-04-18Remove RELAY_MAX_SESSIONS from relayd, there is no reason to limit relaysClaudio Jeker
to 1024 session per process (esp. with keep-alive). Now the fd limit is the new maximum and relayd will make sure to not accept too many sessions. The tcp backlog config maximum is now 512, adjust manpage accordingly. OK benno@ deraadt@
2018-04-17Drive i8253 with CLOCK_MONOTONIC.cheloha
Ensures that the olatch decrements uniformly, independent of system wall clock jumps. While here, roll the olatch computation in i8253_do_readback() into a loop, and leverage the timespec macros in sys/time.h. Both make the code a lot more readable. ok mlarkin@
2018-04-15Add TCP support to snmpd.Marco Pfatschbacher
This implements RFC 3430, with the exception of processing multiple incoming requests in parallel (Section 2.1). This required too much code and is optional anyway. Initial review by reyk@, very thorough reviews by jca@. Thanks! OK jca@, gerhard@
2018-04-14In case of a tcp read timeout, the destination host state needs to beSebastian Benoit
set to HOST_DOWN. Noticed and fixed by Rivo Nurges <Rivo DOT Nurges AT smit DOT ee> ok and reminder florian@
2018-04-13Close socket from vmm to parent after forking to vm process.Martijn van Duren
Ok ccardenas@
2018-04-11Make httpd listen on all IPv4 and IPv6 addresses forFlorian Obser
"listen on * port 80". While here accept up to 16 addresses from DNS or interface groups. requested by & "lovely" deraadt@ OK kn@
2018-04-10Schedule events against the monotonic clock.cheloha
So that events fire punctually, even if the system clock is changed. ok jca@
2018-04-10Fix previous. Use inet_net_pton(3) instead of inet_pton(3) asSunil Nimmagadda
addresses could be listed with prefix. Initial diff from Ryan Kavanagh, tweaked by me. Ok millert@ gilles@
2018-04-09Check for legitimate IPv4, IPv6 addrs before printing.Sunil Nimmagadda
Ryan Kavanagh reported on github that certain domains have misconfigured SPF records. https://github.com/OpenSMTPD/OpenSMTPD/issues/844 Ok millert@ gilles@
2018-04-09Do not discourage IPv6, it's working fine in LDOMs.kn
OK jca, stsp
2018-04-08We warned long enough, also sysmerge(8) should have handled theFlorian Obser
removal of the agreement url by now. OK benno
2018-04-08AF_LOCAL was a failed attempt (by POSIX?) to seem less UNIX-specific, butPhilip Guenther
AF_UNIX is both the historical _and_ standard name, so prefer and recommend it in the headers, manpages, and kernel. ok miller@ deraadt@ schwarze@