summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2020-04-25Document 'ikectl show sa'.tobhe
2020-04-25update filter documentation after protocol changeEric Faurot
from Gilles Chehade
2020-04-25point out that the "junk" filter decision adds the X-Spam headerEric Faurot
from Ryan Kavanagh
2020-04-24Simplify the grammar by letting the lexer handle builtin keywords.Martin Pieuchot
Also clarify various constructs by using commonly understood names like 'expr' and 'vargs'.
2020-04-24Print given identifier in the error message when no matching probe exist.Martin Pieuchot
2020-04-24strip trailing CRs at smtp level rather than io levelEric Faurot
ok millert@
2020-04-23 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;Jason McIntyre
2020-04-23replace examples of "Ic arg Ic arg" with "Ic arg arg" and stop the spread;Jason McIntyre
2020-04-23Implement builtin 'cpu' keyword.Martin Pieuchot
This is useful to know which CPU recorded a given event. While here document 'retval' and comment out 'ustack' until we have a way to capture userland stacks.
2020-04-23Try to document 'no local-address'Claudio Jeker
2020-04-23Store local-address by address family. This allows to configure bothClaudio Jeker
an IPv4 and IPv6 local-address on a group and the neighbors bind to the right local-address. Also implement 'no local-address' to reset a previously set local address back to zero. This should help with IBGP and multihop session config and hopefully reduce repetition in bgpd configs. OK sthen@ benno@
2020-04-23Correctly parse "0/0" as the default route when specifyingKenneth R Westerback
the classless-[ms-]static-routes options in dhcpd.conf. Brings dhcpd.conf CIDR parsing in line with dhclient.conf, dhcp-options(5) and the command lines of various utilities. Inconsistency noted and fix tested by Freda Bundchen. Thanks!
2020-04-23Extend map to support keys composed of multiple arguments.Martin Pieuchot
Keys are still strings representing the output value. The following example is now possible to count the number of "on CPU" events ordered by thread ID and executable name: # btrace -e 'tracepoint:sched:on__cpu { @[tid, comm] = count() }' ^C @[138836, idle0]: 830941 @[161307, sshd]: 716476 @[482901, softnet]: 582008 @[104443, systqmp]: 405749 @[269230, update]: 396133 @[326533, softclock]: 316926 @[61040, sshd]: 177201 @[453567, reaper]: 119676 @[446052, ksh]: 85675 @[26270, syslogd]: 66625 @[504699, sshd]: 52958 @[446052, sshd]: 32207 @[44046, tset]: 13333 @[162960, zerothread]: 101 @[313046, ntpd]: 1
2020-04-23Always initialize cachedir and outputdir.Sebastian Benoit
ok job@
2020-04-23Make debug output less verbose.Martin Pieuchot
2020-04-22Check for the dispatcher name in the envelope validation function.Eric Faurot
Fixes a possible crash and caching issue when manually moving an envelope to the queue with smtpctl discover. ok millert@
2020-04-21tweak previous;Jason McIntyre
2020-04-21vmd: improve concurrency control in pausepd
Previous implementation hit a deadlock sometimes as the pthread_cond_broadcast for the pause mutex could happen before pthread_cond_wait. This implementation uses a barrier which is hit when all vpcus are paused. ok mpi@
2020-04-20Document the suggested interval in man pagejob
2020-04-20Strip the 'in bgpd' in the title of the rpki-client man page.Claudio Jeker
rpki-client is not only for bgpd (especially in the portable version). From Robert Scheck. OK job@ benno@
2020-04-18rename the "options" field to "flags" (as suggested by millert): an optionalJason McIntyre
options field was difficult to describe concisely; - tweak wording accordingly - sort flags - condense STANDARDS to avoid text repitition, as suggested by deraadt - document flags may be combined, now deraadt fixed the parsing ok millert deraadt
2020-04-18Rewrite the flag-parsing code to be getopt-like. Tight formations likeTheo de Raadt
-ns are now possible, as well as (useless) repetition like -nnn. ok millert
2020-04-18use correct path for the default cache dir in rpki-client(8). ok claudio@Stuart Henderson
2020-04-18improve whitespaces in usageTheo de Raadt
2020-04-17switch email and result fields in mail-from/rcpt-to event reportsEric Faurot
and bump protocol version. discussed with jung@, martijn@ and Gilles. ok jung@
2020-04-17Document using /etc/ethers to look up ethernet addresses. ok krw@,Darren Tucker
wordsmithing jmc@
2020-04-17Log skipped jobs in job_add() not job_runqueue().Todd C. Miller
We want to log when the job is added but will not be run, not every time the run queue is processed.
2020-04-16Support looking up ethernet addresses in /etc/ethers at dhcpd startup time.Darren Tucker
If the lookup fails it falls back to parsing the ethernet address normally. ok krw@
2020-04-16Reflow text so that the -[nsq] options are described as an optional [options]Theo de Raadt
field before command, rather than muddling up the command description to explain them messily as some sort of exception ok millert
2020-04-16Add a mechanism to prevent cron jobs from running concurrently.Todd C. Miller
This adds a new "-s" flag to the command field which indicates that only a single instance of the job should run concurrenty. OK beck@ job@ deraadt@
2020-04-16remove the libcrypto cleanup before exit. Most of the functions areClaudio Jeker
officially deprecated and even if not exit(3) will take care of freeing all that memory anyway. Non of the functions do any cleanup beyond simple memory deallocation. OK benno@ deraadt@
2020-04-16It is unclear why data is memcpy-ed into a char buf[2] that is used asClaudio Jeker
argument to ntohs(). Just memcpy to a uint16_t value and ntohs this value. Fixes possible alignment issues as reported by newer gcc compilers. OK beck@
2020-04-16Revert last commit, this file slipped in.Claudio Jeker
2020-04-16Replace deprecated ERR_remove_state(0) with ERR_remove_thread_state(NULL);Claudio Jeker
OK tb@
2020-04-16Make the control socket name depend on the routing domain we are in.Florian Obser
That way, when slaacd gets started in a different rdomain with route exec things just work, no need to provide an alternative control socket. Pointed out by claudio Original diff by benno, but I like my bikeshed purple. OK benno, claudio
2020-04-15add support for printing RfC 2332 NBMA Next Hop Resolution Protocol (NHRP)remi
ok dlg@
2020-04-15Make map functions accept a "struct map *" instead of a "struct bt_var *".Martin Pieuchot
This is a step towards reducing the type casting crazyness.
2020-04-15Document filters: one type of predicates checked in kernel.Martin Pieuchot
By default a PID filter is set by dt(4) to not record events for the tracing program. The other type of predicates, which are checked in userland, is coming soon!
2020-04-15Crank key size to 256 to avoid conflicts when storing stack traces in maps.Martin Pieuchot
2020-04-15Stop including <machine/param.h> and <machine/vmparam.h>.Martin Pieuchot
There's no need to redefine the INKERNEL() macro in userland because stacktrace_save_at() only saves kernel stack traces. If we decide to use the same interface to unwind & save userland stack traces we can simply indicate that in the "struct stacktrace". Discussed with deraadt@ and kettenis@
2020-04-15Use the new random interval support in cron instead of a random sleep.Todd C. Miller
The random intervals used can be adjusted as needed. OK deraadt@
2020-04-15Add support for random values using the '~' operator.Todd C. Miller
For example "0~30" will result in a random value between 0 and 30 inclusive. If either (or both) of the numbers on either side of the '~' are omitted, the appropriate limit (low or high) for the field will be used. OK deraadt@ beck@ jmc@
2020-04-12If all addresses are numeric no use for dns probe; ok florian@ sthen@Otto Moerbeek
2020-04-11Avoid using libc SHA256File(), just perform the operation inline toTheo de Raadt
make things easier for -portable ok claudio
2020-04-11To help -portable, use a strrchr instead of basename, since we know whatTheo de Raadt
kinds of paths are coming in here. ok benno claudio
2020-04-11remove a __unused attribute, it's obvious and complicates things.Sebastian Benoit
ok claudio@
2020-04-11Zap double definition of conf and make ibuf_dns static to avoid doubleOtto Moerbeek
definition; from Michael Forney
2020-04-10When failing to validate a peer TLS certificate in the MTA due to theBob Beck
desired name of the MX not being present in the certificate, log that this is he reason for the failure and the name we couldn't find in the cert. ok millert@ martijn@
2020-04-09No need to check for NULL before free().Kenneth R Westerback
From Geoff Hill.
2020-04-08vmm(4): add IOCTL handler to sets the access protections of the eptpd
This exposes VMM_IOC_MPROTECT_EPT which can be used by vmd to lock in physical pages. Currently, vmd just terminates the vm in case it gets a protection fault in the future. This feature is used by solo5 which uses vmm(4) as a backend hypervisor. ok mpi@ Patch from Adam Steen <adam@adamsteen.com.au>