summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2020-09-01Rename [READ|WRITE]_BIG to [READ|WRITE]_10. Rename struct scsi_rw_big toKenneth R Westerback
struct scsi_rw_10. ok gnezdo@ jmatthew@ (who also did sparc64 compile test)
2020-08-30If no replies are received for a while due to connectivity issuesOtto Moerbeek
go into unsynced mode. The existing code to check if we're unsycned is only done on receiving an ntp packet which does not happen if there are connectivity issues. Prodded by naddy@ ok @florian
2020-08-29typo; pointed out by Matthias (mpfr AT fn.de), thanks!Florian Obser
2020-08-27add missing "regex" keyword; from heddi nabbisenJason McIntyre
ok martijn
2020-08-26Set fastcgi socket default on server and location.Florian Obser
This allows "fastcgi" directly inside of a server directive without giving specifying socket. OK tracey
2020-08-25check that fcgiport string value is within rangetracey
remove redundant error message tweaks and ok florian@
2020-08-24Add support for non-localhost fastcgi sockets.tracey
Lots of review time kn@ Lots of review time, tweaks, and ok florian@
2020-08-24The kernel provides sufficiently randomised ports.Florian Obser
OK sthen
2020-08-24merge unbound 1.11.0Stuart Henderson
2020-08-24update to unbound 1.11.0, tests tb@ dtucker@, ok tb@Stuart Henderson
2020-08-23Merge listen_sock into address, since there's a 1:1 correlation. Save someMartijn van Duren
overhead and 18LoC. OK jan@
2020-08-21Fix wrong fall through. The IMSG_CTL_SHOW_DB_INTRA case should onlyjan
send back LSA with type LSA_TYPE_INTRA_A_PREFIX. LSA_TYPE_INTER_A_PREFIX should not be included there. OK claudio@
2020-08-21Remove redundent code.jan
OK claudio@, looks fine from tb@
2020-08-21Fix column spacing for disk transfer speedskn
"IO rates above 100 MB/s are common with SSD; this patch expands the column so it stays neatly printed." - report and initial diff from John Carmack, Refinements and adjustment of missing views from me, OK benno
2020-08-20Use the ROUTE_FLAGFILTER setsockopt to filter out routing socket messagesJonathan Matthew
for L2 and broadcast routes, since we don't need them at all. ok kn@ remi@ dlg@
2020-08-19add unveil(2) againRicardo Mestre
this allows reading from anywhere in the filesystem (in order to read the config file and those ones included from it), but also executing, which I missed from my last attempt, because it's required for "check script(s)". even though it's a broad permission, and the main proc cannot be pledged due to forbidden ioctls, then this at least prevents it from creating/writing/deleting files which is not required here. OK benno@ a long time ago
2020-08-17Previous commit broke two things:Martijn van Duren
1) Bulkget broke because mps_getbulkreq doesn't exactly do what it says on the tin, so use it how it works for now. 2) A break statement got left behind resulting in only a single varbind being answered. Reported and tested by sthen@
2020-08-17add geneve option printing.David Gwynne
mostly modelled on the nsh md2 printing.
2020-08-17don't need to shift the vxlan vni twice.David Gwynne
2020-08-17add initial support for handling geneve packets.David Gwynne
it's like vxlan, but different. the most interesting difference to vxlan is that the protocol adds support for adding optional metadata to packets (like nsh). this diff currently just skips that stuff and just handles the payload. for now.
2020-08-16Reflect recent wsfontload(8) changes in the man page.Frederic Cambus
We are now getting the default values for font height and width using the WSDISPLAYIO_GETSCREENTYPE ioctl, so they always match the currently loaded font metrics.
2020-08-13Be compatible with bpftrace(8)'s output when printing stack traces in maps.Martin Pieuchot
This allows us to use `stackcollapse-bpftrace.pl' from Brendan Gregg's FrameGraph without pre-processing outputs.
2020-08-13When dealing with integers, it seems that [1] and [1, 2) are the same.Martin Pieuchot
2020-08-13Improve documentation.Martin Pieuchot
2020-08-09Some times ago we disabled in-kernel timeout for pppx(4) relatedmvs
pipex(4) sessions. We did this for prevent use after free issue caused by pipex_timer(). By default "idle-timeout" is not set in npppd.conf(5) and I guess this is reason for we forgot to describe this exception in npppd.conf(5). Since it's pppx(4) related bug description was added to BUGS section of pppx(4) man page. npppd.conf(5) has this exception described in "idle-timeout" section. ok jmc@ yasuoka@
2020-08-08Greatly simplify snmpe_parsevarbinds.Martijn van Duren
except for some minor changes in the handling of snmp_intotal{req,set}vars no functional changes intended. OK jan@
2020-08-07Do not hardcode the key length.Martin Pieuchot
2020-08-05Get the default values for font height and width in wsfontload(8) usingFrederic Cambus
the WSDISPLAYIO_GETSCREENTYPE ioctl. This ensures that they always match the currently loaded font metrics. Previously, wsfontload(8) hardcoded the default height and width values for the font to be loaded as 12x22 when using framebuffer consoles, and as 8x16 when in text mode. The 12x22 value wasn't correct in case we felt back to the smaller 8x16 font for screen widths smaller than 960px, and wasn't valid anymore since we replaced Gallant 12x22 by Spleen 12x24 on all architectures but sparc64. OK jcs@, mpi@
2020-08-03remove unused functionsSebastian Benoit
from Ross L Richardson <openbsd AT rlr DOT id DOT au>, Thanks ok claudio@
2020-08-03remove another tautologySebastian Benoit
from Ross L Richardson <openbsd AT rlr DOT id DOT au>, Thanks ok claudio@
2020-08-03remove unused assignmentSebastian Benoit
from Ross L Richardson <openbsd AT rlr DOT id DOT au>, Thanks ok claudio@
2020-08-03remove tautological conditionSebastian Benoit
from Ross L Richardson <openbsd AT rlr DOT id DOT au>, Thanks ok claudio@
2020-08-03remove dead assignmentsSebastian Benoit
from Ross L Richardson <openbsd AT rlr DOT id DOT au>, Thanks ok claudio@
2020-07-31Replace warnc() with warnx() + strerror() since the first is less portable.Claudio Jeker
Should hopefully fix an issue seen by Robert Scheck OK deraadt@
2020-07-30Remove the unused function canonicalize_host(), it was copied from relayd.Sebastian Benoit
Found by Ross L Richardson, Thanks.
2020-07-28-Separate out the adding of trust anchors into a separate function thanBob Beck
what is used for adding other certificates. -Don't call X509_verify on trust anchors for no reason. -Add basic checks for TA certificate (subject can parse, cert is not expired) -Add some useful error reporting if the TA cert we fetched is no good. ok claudio@
2020-07-28One tiny step towards adding RRDP support in rpki-client.Claudio Jeker
Extract the notify URL from the cert if it is available and pass it back to the parent process. The parent process can then use this info to load the repo via RRDP instead of rsync. OK benno@ (some long time ago)
2020-07-27Fix return value check for openssl API. Do not return success if pkey is NULL.tobhe
Feedback and ok cladio@ ok patrick@, tb@
2020-07-25remove unsused enum key_type, copied initialy from relays.Sebastian Benoit
found by Ross L Richardson, thanks! ok deraadt@
2020-07-25Add a EXIT STATUS sectionsolene
"no objection" ajacoutot@
2020-07-25More DESC -> DESCR; spotted by espie@Antoine Jacoutot
2020-07-25tyop: DESC -> DESCRAntoine Jacoutot
ok landry@ robert@
2020-07-24fix sentence grammar in AUTHORS;Jason McIntyre
2020-07-24make it a bit clearer that -p is a path to a package repository,Jason McIntyre
not just a regular file path; patient explanation (neccessary) and eventual ok espie
2020-07-23Fix strlcpy() usage. The size argument should be the full size ofTodd C. Miller
the buffer, not the number of bytes to copy. The strlcpy() return value should be checked to verify that truncation did not occur. OK florian@
2020-07-23Update to 4.3.2.Florian Obser
2020-07-22sensorsd(8) reported an unveil failure due to chdir / . CallAlexander Bluhm
chdir(2) before unveil(2). Use absolute config path after chdir, also necessary for SIGHUP. /etc/sensorsd.conf.db must be unveiled, cgetent(3) tries to open it. OK beck@
2020-07-22force long-names on msdos filenames, so that folk can see pretty namesTheo de Raadt
later. ok kettenis gkoehler
2020-07-21Avoid integer underflow due to tiny snaplenkn
For DLT_NULL and DLT_LOOP interfaces, print-null.c passes `caplen - NULL_HDRLEN' as length to default_print() which takes an unsigned integer, hence if caplen is smaller than the header itself (four octets), this difference wraps around. Exit early in such cases and print the expected truncation marker "[|null]" instead. Feedback OK dlg
2020-07-20Add a new column to wsfontload -l output, to report the number ofFrederic Cambus
characters contained in a loaded font. It's especially useful with user loaded fonts as they can contain more than 256 characters. OK sthen@