summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2020-01-06Add "-n" to EXAMPLES in crontab(5)'s man pagejob
OK Ingo Schwarze
2020-01-06delete ridiculous DIAGNOSTICS section that goes without sayingIngo Schwarze
2020-01-06configure args fixes;Stuart Henderson
--disable-idn should be --without-idn --disable-openssl-version-check was a for some old versions of OpenSSL with security bugs and was removed some time ago fixes "Unrecognized options" that florian@ noticed was displayed by configure.
2020-01-06We don't need libbind9 if we remove a thick wrapper around getaddrinfoFlorian Obser
and move the remaining bits to dighost.c. Minus 4k lines. OK sthen
2020-01-06we are not using libiscccFlorian Obser
OK sthen
2020-01-06We only need the config parser from liblwres.Florian Obser
This pulls out the config object (lwres_conf_t) from the context (lwres_context_t), switches to libc functions (lwres_net_ntop vs inet_ntop etc ) and removes a lwres_ prefix from number types (lwres_uint8_t vs uint8_t etc). With that we can nearly empty out lib/lwres and lose about 20k lines in the process. OK sthen
2020-01-06We are not using libirs.Florian Obser
OK sthen
2020-01-06document the defaults for several query options;Ingo Schwarze
OK jmc@
2020-01-06make it more explicit that filters are unique processesGilles Chehade
2020-01-06do not allow passing options to smtpctl encryptGilles Chehade
2020-01-06provide a better error message for invalid smtpctl commandsGilles Chehade
2020-01-05Zero initialize cpus and memory variables up frontkn
2020-01-05In his original writeup, espie@ had the terse parenthetical remarkIngo Schwarze
"(yes/no answer instead of full list)" regarding how to use wantarray(). Flesh this out with an example and a bit of explanation to reduce the risk of misunderstandings and misuse. Discussed with espie@.
2020-01-04complete r1.21 "reboot primary" -> "reset machine" fixkn
2020-01-04Zap unneeded gid checkkn
Since the domain name is mandatory for "ldomctl console ...", gid is always set and guaranteed to be greater than zero. OK kettenis
2020-01-04mention $DB::inhibit_exit;Ingo Schwarze
my wording after espie@ explained what he had in mind; OK espie@
2020-01-04Add -n to init-system for validation onlykn
"ldomctl init-system -n ldom.conf" only parses the configuration file and exits; it is usable as unprivileged user, no devices are opened. OK kettenis
2020-01-04be a bit more precise about what %a and %v do in paths;Ingo Schwarze
OK espie@
2020-01-04New manual page OpenBSD::style(3p).Ingo Schwarze
Based on a writeup that espie@ posted to misc@ with tweaks by me and additional feedback from espie@.
2020-01-04Jason suggested that stating defaults with a postfix "(on/off by default)"Ingo Schwarze
is as clear, more concise, and reads better. In a few cases, it also allows shortening text that said the same twice. Tweak and OK jmc@.
2020-01-04Avoid the misleading term "toggle". There are no query optionsIngo Schwarze
that toggle anything. Quite to the contrary, all those touched in this commit are idempotent. OK florian@ jmc@
2020-01-03upon return of authentication we log the username and generate an smtp-inGilles Chehade
report for the authentication result, however we use a buffer that is too small and usernames from virtual accounts may get truncated in logs. reported by Bjorn Kalkbrenner
2020-01-03Move code into new hv_config(), defer to commands needing itkn
This moves setup code from main() into its own function so instead of upfront it can be used only when and where needed. With the exception of `create-vdisk' all currently open /dev/hvctl; for that command I added a rather quirky goto to avoid this unneeded step, but `list-io' for example does not need /dev/hvctl at all either. So instead of adding more quirks, split as per above and clearly call hv_config() from the commands that *do* require it. This also effectively defers such privileged operations after all argv[] parsing is done, that is the code fails earlier on invalid input without file I/O for nothing. With that in, I can easily add more commands not requiring hvctl access, e.g. a dry-run configuration check. OK kettenis
2020-01-03Remove unused variabledenis
2020-01-03Sync with ospfd's database.cdenis
OK remi@
2020-01-03Sync with ospfd's hello.cdenis
OK remi@
2020-01-03vmctl(8): fix vmctl send exit codepd
vmctl send always returned exit code 1 Patch by Benjamin Baier ok kn@
2020-01-02Correct information about default options: by default, +besteffortIngo Schwarze
is on, +dnsnegotiation is off, +timeout is 5s for UDP and 10s for TCP. OK florian@
2020-01-02another simple case of a default that i missed: +adflagIngo Schwarze
2020-01-02jmc@ suggested to just say "The default is +opt" rather than repeatingIngo Schwarze
the explanation of what +opt does, improving both conciseness and clarity, so let's do this in many trivial cases, and improve some markup in the vicinity while there
2020-01-02simple markup fixes:Ingo Schwarze
use .Cm for keywords, .Ar for placeholders, .Xr for resolv.conf, and use imperative rather than indicative
2020-01-02plain forgot about THAT optimization.Marc Espie
Let .so/.a print again in pkg_info -L noticed by Mikolaj Kucharski
2020-01-02When many prefixes are stored in pf tables it is not sensibleFlorian Obser
to export them via snmp. Introduce option filter-pf-addresses similar to filter-routes which prevents exporting below the OPENBSD-PF-MIB::pfTblAddrTable oid. Other pf table statistics are uneffected by this and still available. With this I can do a bulkwalk starting at pfMIBObjects without hitting timeouts and without spinning the cpu at 100% for days to export 300k prefixes. man page input kn OK claudio, sthen. martijn is also fine with it going in.
2020-01-02Correct the markup of option arguments involving = signs.Ingo Schwarze
Mostly, move the equal sign out of .Cm and .Ar because we consider it punctuation. Besides, use .Cm rather than .Ar for keywords like "ixfr" and do not mark up literal integer numbers with .Ar.
2020-01-02manual page: drop +sit because it is merely a deprecated alias for +cookieIngo Schwarze
usage(): drop +defname because it is merely an alias for +search both: correct option spelling +cl -> +class, +time -> +timeout feedback and OK sthen@, OK jmc@
2020-01-02Rename orig_rtr_lsa_area() to orig_rtr_lsa()denis
Now that area is part of iface, original orig_rtr_lsa() is useless. Also verifying that area != NULL is not needed in some cases (these are leftovers of the previous diff). OK remi@
2020-01-01Cleanup control.denis
"Looks fine" deraadt@
2020-01-01Instead of processing all imsg when reading them store peer specificClaudio Jeker
messages on a per peer queue. This queue is later processed one at a time resulting in a fairer processing of work and avoiding big table dumps to delay processing of other updates. OK denis@ benno@
2019-12-31totally sync the manpage queryopts with usage(); i've adopted the usageJason McIntyre
pattern of "###" for argument names evrywhere it makes sense, but shortened it to "#";
2019-12-31The MRT draft turned into RFC6396, adjust comment.Claudio Jeker
2019-12-31Rename print_timer() to show_timer() and move it to output.cClaudio Jeker
Currently this needs a bit of a hack because fmt_timeframe() does not really print a timeframe but instead needs a timestamp relative to now. This needs to be adjusted but will be done later.
2019-12-31In mrt_dump_hdr_rde() use clock_gettime(CLOCK_REALTIME, ) like it is doneClaudio Jeker
in mrt_dump_hdr_se(). Table dumps don't need time.tv_nsec like used in the _ET formats like for message and state changes but it keeps to code similar.
2019-12-31reloadtime is not needed anymore.Claudio Jeker
2019-12-30tidy up the query options list, sync it as best as possible with usage,Jason McIntyre
and remove some unneccessary text;
2019-12-30New config takes effect after machine reset, primary reboot is not enoughkn
2019-12-30add a list of valid queryopts to usage, and change "dig -h" to just displayJason McIntyre
this new usage; update the description of -h accordingly; SYNOPSIS remains unchanged, since the reader has a list of queryopts with explanations a few screens down
2019-12-29partial backout of 1.166: we still need to compute the pkgname without theMarc Espie
repo for debug packages, but we need the full path for the handle (for now) fixes regression noticed by bluhm@
2019-12-28Run cu(1) in restricted modekn
Users must not not be able to transfer files from the local hypervisor filesystem to VMs/LDOMs, especially since the "vmctl/ldomctl console ..." might be run as root. Disable all relevant escape sequences and cause cu to run under "stdio tty" pledge by using -r. OK deraadt mlarkin
2019-12-28Refactor link state ack/req.denis
OK remi@
2019-12-28The last argument of execl(3) should be cast explicitly.Theo Buehler
ok kn