| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
old location. dig(1) sources can be found in src/usr.bin/dig.
ok deraadt@
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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@
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
OK otto
|
| |
|
|
|
| |
strtoull(3) and then get rid of lib/isc/string.c
OK millert
|
| |
|
|
|
|
|
|
|
|
|
| |
of query options:
* Add some missing information and improve some wordings.
* List the supported opcodes.
* Mention that +nosubnet is valid.
* Stop documenting the confusing +noednsflags
because it does the same as +ednsflags.
Using feedback from florian@ and wording help from jmc@; OK jmc@.
|
| |
|
|
| |
OK millert
|
| |
|
|
| |
OK millert
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#define ISC_PLATFORM_NEEDSYSSELECTH 1
#define ISC_PLATFORM_HAVESTATNSEC 1
#define ISC_PLATFORM_RLIMITTYPE rlim_t
#define ISC_PLATFORM_HAVELONGLONG 1
#undef ISC_PLATFORM_BRACEPTHREADONCEINIT
#undef ISC_PLATFORM_USEDECLSPEC
#define ISC_PLATFORM_HAVESYSUNH 1
#define ISC_PLATFORM_HAVESTRINGSH 1
#define ISC_PLATFORM_WANTAES 1
#define ISC_PLATFORM_USESIT 1
#define LIBISC_EXTERNAL_DATA
#define LIBDNS_EXTERNAL_DATA
#define LIBISCCFG_EXTERNAL_DATA
#define LIBBIND9_EXTERNAL_DATA
#define LIBTESTS_EXTERNAL_DATA
prodding deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#undef USE_PKCS11
#undef PKCS11_TOOLS
#undef PKCS11CRYPTO
#undef HAVE_PKCS11_GOST
#undef HAVE_PKCS11_ECDSA
#undef HAVE_PKCS11_ED25519
#undef HAVE_PKCS11_ED448
#define PK11_DH_DISABLE
#define PK11_DSA_DISABLE
#define PK11_FLAVOR
#define PK11_MD5_DISABLE
#undef PK11_SOFTHSMV2_FLAVOR
prodding deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
#undef ISC_PLATFORM_NEEDVSNPRINTF
#undef ISC_PLATFORM_NEEDSPRINTF
#undef ISC_PLATFORM_NEEDPRINTF
#undef ISC_PLATFORM_NEEDFPRINTF
#define ISC_PLATFORM_QUADFORMAT "ll"
#undef ISC_PLATFORM_NEEDSTRSEP
#undef ISC_PLATFORM_NEEDSTRLCPY
#undef ISC_PLATFORM_NEEDSTRLCAT
#undef ISC_PLATFORM_NEEDSTRTOUL
#undef ISC_PLATFORM_NEEDMEMMOVE
#undef ISC_PLATFORM_NEEDSTRCASESTR
|
| |
|
|
| |
OK millert
|
| |
|
|
| |
OK millert
|
| |
|
|
|
|
| |
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@
|
| |
|
|
|
| |
pattern of "###" for argument names evrywhere it makes sense, but shortened it
to "#";
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
| |
some macro simplifications from schwarze
ok schwarze deraadt kn
|
| | |
|
| | |
|
| |
|
|
| |
late, pledge "dns" is enough and "inet" is not required.
|
| |
|
|
|
| |
(pre MPL), v4/v6-only wasn't working correctly (trying to use an v6-mapped
v4 address when set for v6-only)
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
We only use this tree to build dig and nslookup. Our previous version
predated edns0 support in those tools, and we want that. This is the worst
code I've looked at in years, with layers and layers of spaghetti abstraction
clearly unfit for reuse, but then reused anyways, and the old ones remain
behind. So this is a 8MB diff.
florian, sthen, and otto tried this merge before but failed.
|
| |
|
|
|
|
| |
make it an error otherwise instead of a warning that may be overlooked.
reported by Peter van Dijk
ok deraadt
|
| |
|
|
|
| |
as a test idiom, either when pledge was young or during the transition
to strings.... dunno
|
| |
|
|
|
|
|
| |
ISC library to use socket(2) with the SOCK_DNS flag. As a result, the
port commands are disabled (such practice is rare in the wild these days,
and pretty incompatible with the DNS vs regular socket concept in pledge..)
ok bluhm phessler reyk, etc
|
| |
|
|
| |
ok deraadt@
|
| | |
|
| | |
|
| |
|
|
|
| |
the code easier to read.
OK deraadt
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
work by me, useful feedback from krw, jakob, tedu, and tholo
|
| | |
|
| | |
|
| |
|