summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2014-07-14Track Connection: Keep-AliveReyk Floeter
2014-07-14unhardcode db paths.Marc Espie
put pruning of paths back early: these happen to be in the source db for the most part, so if we auto-detect source first, we lose.
2014-07-14Create a socketpair() and tie one end to /dev/klog using ioctl LIOCSFD.Theo de Raadt
This allows us to receive messages direct from programs using the fd-safe sendsyslog(2), aka. syslog_r(3). Thanks to guenther for this part of the solution. ok beck tedu miod guenther
2014-07-14first step towards keep-alive/persistent connections supportReyk Floeter
2014-07-14When a connection was spliced in one direction and in copy mode inAlexander Bluhm
the other direction, the timeouts did not work. They were longer than specified. Link the splicing and non-splicing timeouts. Found by make run-regress-args-timeout-http.pl OK reyk@
2014-07-13Use lerrx instead of errx since the logging subsystem is already initialized.Claudio Jeker
OK florian@
2014-07-13Some functions need to dup() before sending a socket by imsg and don'tYASUOKA Masahiko
need to close() after sending socket since imsg_compose() closes the passing socket.
2014-07-13remove all crypt choices other than bcrypt. ok afresh1 deraadtTed Unangst
2014-07-13Use errx() after getpwnam() failure since errno may not be set.Claudio Jeker
All other privsep / privdrop daemons do this the same way. OK florian@ some time ago
2014-07-13bye bye src url. Never amounted to much, we went another road a while agoMarc Espie
2014-07-13bundling base + packages was slow, as it needed to find lots of files.Marc Espie
different approach: mark the base system in one go, then hand pick the files from the pkglocatedb. quite a few unaccounted files yet, this will get better
2014-07-13Set KERN_PROC_NOBROADCASTKILL so that iscsid is not killed by initClaudio Jeker
when terminating multi-user so that we have a chance to sync the file systems mounted via iscsi.
2014-07-13When the three possible return values are -1, 0, and 1, != 1 is the sameKenneth R Westerback
as <= 0. And the latter is the normal idiom so use that. ok claudio@ henning@
2014-07-13tedu setlist support, superseded by the new locate dbs.Marc Espie
2014-07-13stuff no longer needed, now that base/x release install its own locate dbsMarc Espie
2014-07-13Remove a debug messageReyk Floeter
2014-07-13Since the event(s) passed to a callback can be a mask of all eventsKenneth R Westerback
of interest and EV_WRITE is or'ed into the interesting events, it is more correct to check both events each time. Pointed out by Claudio. ok henning@ claudio@
2014-07-13Sync file to be identical in relayd(8) and httpd(8).Reyk Floeter
2014-07-13Finish writing the output before closing the connectionReyk Floeter
(adopted from relayd).
2014-07-13Close the connection after the response is completed (no Keepalive yet).Reyk Floeter
2014-07-13Add support for media types (aka. MIME types): the types section isReyk Floeter
compatible to nginx' mime.types file which can be included directly. If not present, use a few built-in defaults for html, css, txt, jpeg, gif, png, and js.
2014-07-13Close connection/remove event handler when msgbuf_write() hits anKenneth R Westerback
EOF. ok jmatthew@ claudio@
2014-07-13Make error messages more obvious to the user.Bob Beck
ok reyk@ florian@
2014-07-13Also ignore examplessum.Antoine Jacoutot
2014-07-13improve log output for relays. adjust regress testsSebastian Benoit
ok reyk
2014-07-13repair matching of headers, add regress test for this errorSebastian Benoit
ok reyk
2014-07-12Use Comic Sans (or Chalkboard) as the default font for HTTP errorReyk Floeter
messages because we love web hipsters. ok beck@
2014-07-12Add httpd(8), an attempt to turn the relayd(8) codebase into a simpleReyk Floeter
web server. It is not finished yet and I just started it today, but the goal is to provide an HTTP server that a) provides minimal features, b) serves static files, c) provides FastCGI support, and d) follows common coding practices of OpenBSD. It will neither support plugins, nor custom memory allocators, EBCDIC support, PCRE or any other things that can be found elsewhere. httpd(8) is not intended to provide a fully-featured replacement for nginx(8) or the Apache, but it will provide enough functionality that is needed in the OpenBSD base system. ok deraadt@
2014-07-12don't check_security on newer *after* making sure the set doesn't haveMarc Espie
errors. Note that the errors are already signaling enough (conflicts, bad package etc)... And not having any errors mean we actually have proper plists. problem noticed by zhuk@
2014-07-12egsum -> examplessumAntoine Jacoutot
2014-07-12zap trailing whitespace;Jason McIntyre
2014-07-12Close connections when msgbuf_write() returns 0.Kenneth R Westerback
ok claudio@
2014-07-12Fix a potential bug. privsep.c didn't check the interface nameYASUOKA Masahiko
correctly if it's pppx.
2014-07-12oh well, remove -Q entirely... I'm probably the only one who ever used that.Marc Espie
2014-07-12security check in quirksMarc Espie
2014-07-12undocument -QMarc Espie
2014-07-12finish killing old experiment, less confusing codeMarc Espie
2014-07-12@endfake died a while agoMarc Espie
2014-07-12so, pkg_check can now troll thru the whole file system. Either useMarc Espie
a full pkglocatedb, or the system locate dbs...
2014-07-12Fix error in previous.YASUOKA Masahiko
2014-07-12msgbuf_write() <= 0 for a few more daemons.Kenneth R Westerback
ok claudio@
2014-07-12andone last (i hope) accept_rtadv sysctl remnant, also found by jmcHenning Brauer
2014-07-12Extend output a bit.Antoine Jacoutot
2014-07-12Use sha256(1) for compared files, just like we do for examples.Antoine Jacoutot
2014-07-12fix relay "append header" action, add regression test for appendSebastian Benoit
ok reyk
2014-07-12Initial support for /etc/examples.Antoine Jacoutot
2014-07-12Fix the sentence in the BUGS section. Colon is usable for password.YASUOKA Masahiko
Also add a mention about the escape sequence for the password. pointed out giovanni
2014-07-12Move HTTP error codes into http.h.Reyk Floeter
ok benno@
2014-07-12Sync msgbuf_write() changes from relayd.Reyk Floeter
Please note that proc.c should be kept identical in relayd, iked and snmpd (currently without the includes). ok benno@
2014-07-12Use imsg(3) for the IPC between the privileged process and theYASUOKA Masahiko
non-privileged process to be unify the way. Also fix style.