summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2020-02-04iterated_hash is unusedFlorian Obser
2020-02-04bit.h and events.h are unused.Florian Obser
2020-02-04lwres no longer deals with lists.Florian Obser
2020-02-04Nothing sets DNS_RDATASETATTR_NEGATIVE; remove code dealing with thatFlorian Obser
and then remove ncache.c.
2020-02-04dig is not generating DS records.Florian Obser
2020-02-04keydata.c is unused.Florian Obser
2020-02-04soa.c is unused.Florian Obser
2020-02-04We are not going to generate nsec or nsec3 RRsets.Florian Obser
2020-02-04dig(1) only needs tsig support so we can delete all non-HMACFlorian Obser
crypto code.
2020-02-04isc/stat.h is unusedFlorian Obser
2020-02-04just use netdb.h directlyFlorian Obser
2020-02-04Remove unused typedefs that got left behind in previousFlorian Obser
shreddings from types.h and get rid of offset.h while here by just using off_t in the one place where it's needed. However offset.h brought in limits.h and sys/types.h so sprinkle some includes over the tree to have various _MAX and intX_t defined.
2020-02-04Get rid of getopt(3) compat code.Florian Obser
2020-02-04Remove a bunch of unused functions who access the filesystem and thenFlorian Obser
get rid of lib/isc/unix/dir.c
2020-02-04We are not going to generate sig0 records so we can rip out theFlorian Obser
sig0key which in turn lets us delete all of dnssec.c
2020-02-04Use opendir(3) to not depend on lib/isc/unix/dir.c.Florian Obser
No change in generated .h files in obj.
2020-02-04unusedFlorian Obser
2020-02-04We are not using aes.Florian Obser
2020-02-04Remove unused files.Florian Obser
2020-02-03ORCPT addresses are prefixed with an address type, the stricter check causeGilles Chehade
the prefix to be rejected as it contains a character not allowed in address reported by Scott Vanderbilt
2020-02-03now that mail.local(8) relies on lockspool(1) for mailbox locking, have theGilles Chehade
mailbox created by smtpd for mbox before privileges are dropped then we can call mail.local(8) with the recipient privileges. ok millert@
2020-02-02add SENDER to mda environment and teach lmtp to use that instead of commandGilles Chehade
line parameter. this allows simplifying lmtp command line and it would have prevented the unpriv command exec for LMTP in recent advisory. ok millert@ and jung@
2020-02-02Fix MD in "ldomctl dump"kn
Commit below merged duplicate code into hv_config() but forgot to call the helper function from dump(). Noticed by "ldomctl dump" returning zero, dumping both MD and PRI but leaving the former empty, sorry. revision 1.32 date: 2020/01/03 19:45:51; author: kn; state: Exp; lines: +69 -46; Move code into new hv_config(), defer to commands needing it
2020-02-01be much stricter about ORCPT, it isn't in the code path of local deliveryGilles Chehade
and doesn't have an associated context variable, but let's be paranoid. ok millert@
2020-02-01condition to enter mda_mbox() is too strict, if user have commands in theirGilles Chehade
forward file they're not supposed to enter that code path.
2020-01-31introduce mda_mbox() to handle mbox delivery in its own code path, and makeGilles Chehade
it use execle() since we know all parameters and don't need command line to be parsed. ok millert@ and jung@
2020-01-30Properly determine era 0 or era 1, making it possible to move pastOtto Moerbeek
the ntp timestamp wrapping in 2036.
2020-01-30Bump smtpd version after recent changessolene
ok gilles@
2020-01-28Fix a security vulnerability discovered by Qualys which can lead to aGilles Chehade
privileges escalation on mbox deliveries and unprivileged code execution on lmtp deliveries, due to a logic issue causing a sanity check to be missed. ok eric@, millert@
2020-01-28Nuke autohell from orbit. It's the only way to be sure.Florian Obser
OK sthen
2020-01-28Switch to Makefile based builds.Florian Obser
Delete a bunch of files that were no longer built but still lying around. Since there are no subdirectories below obj any more we need to prefix dns/{log,time,result}.c with dns_ to not conflict with the same names used by lib/isc/. OK sthen
2020-01-28We only need to be able to parse tsig key files, rip out all the restFlorian Obser
from the parser. OK sthen
2020-01-28Implement map functions min(), max() and sum().Martin Pieuchot
For the moment map values are currently limited to integers.
2020-01-28Use %left to prevent S/R conflicts, arithmetic precedence is still broken.Martin Pieuchot
2020-01-28banish implicit returnMarc Espie
2020-01-28Simplify statement rules by using an optional new line.Martin Pieuchot
2020-01-28usr.sbin/ldapd: replace TAILQ concatenation loop with TAILQ_CONCATbket
OK florian@
2020-01-28usr.sbin/bgpd: replace TAILQ concatenation loop with TAILQ_CONCATbket
OK florian@, benno@
2020-01-28usr.sbin/snmpd: replace TAILQ concatenation loop with TAILQ_CONCATbket
OK florian@, martijn@. reads ok benno@
2020-01-28Implement delete() and @map[key] access.Martin Pieuchot
2020-01-28Rename *_concat() into *_append() to match reality.Martin Pieuchot
2020-01-28match opendir with closedir... not that important as the thing was mostMarc Espie
probably GC'd.
2020-01-28Parse '==' without error in filters.Martin Pieuchot
From Benjamin Baier.
2020-01-27Implement builtin time() function.Martin Pieuchot
2020-01-26Log the old kernel version before doing the upgrade. Makes it easierSebastian Benoit
to figure out what version you were tunning before the upgrade when you hit a bug/problem after the upgrade. ok sthen@
2020-01-26Support for queries on ports != 53Jeremie Courreges-Anglas
- dig(1) -p now works, as already supported by dig(1) from ports/net/isc-bind thanks to sthen@ - "set port=..." also works in nslookup(1) - host(1) has no support for alternate destination ports This adds "inet" to the pledge promises of all three programs, a compromise deemed reasonable and suggested by deraadt@; instead of slightly more complicated patches by myself and florian@ to avoid "inet" in the general case. Suggested by deraadt@, ok florian@ sthen@
2020-01-26give pkg_create knowledge of WRKOBJDIR, so it can error out if a symlinkMarc Espie
points in there. okay aja@ sthen@
2020-01-26Remove unused code from socket.cFlorian Obser
OK tedu
2020-01-26reduce isc/stdio to what is usedFlorian Obser
OK tedu
2020-01-26get rid of lib/isc/nothreadsFlorian Obser
OK tedu