| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
old location. dig(1) sources can be found in src/usr.bin/dig.
ok deraadt@
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
get rid of lib/isc/unix/dir.c
|
| |
|
|
| |
OK sthen
|
| |
|
|
|
|
|
|
| |
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 tedu
|
| |
|
|
| |
OK tedu
|
| |
|
|
| |
OK tedu
|
| |
|
|
| |
OK jca, tedu
|
| |
|
|
| |
hints all possible uses are TOCTOU)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
checks from configure. Work started by tedu, I tossed a bunch more.
"go ahead" tedu
This is not comprehensive but returns where diminishing in terms of
saved build time. The next step would probably be to remove configure
entirely.
|
| |
|
|
| |
OK deraadt
|
| |
|
|
| |
OK deraadt
|
| |
|
|
|
| |
While here cleanup net.h.
OK deraadt
|
| | |
|
| |
|
|
| |
OK millert
|
| |
|
|
|
| |
socklen_t.
OK millert
|
| |
|
|
| |
ok florian
|
| | |
|
| | |
|
| |
|
|
| |
ok florian
|
| |
|
|
|
|
|
|
|
| |
(bind, dig, nslookup, host..) the library is being used by, this flag is cleared
using a constructor-like mechanism in a .c file which is not compiled nor called.
if the flag is cleared, the library acts differently in 40+ functions.
Imagine if our libc had such a global variable??
delete all of that.
ok florian
|
| |
|
|
| |
OK otto
|
| |
|
|
|
| |
strtoull(3) and then get rid of lib/isc/string.c
OK millert
|
| |
|
|
|
| |
It's not installed anyway.
OK millert
|
| |
|
|
| |
input & OK millert
|
| |
|
|
| |
OK millert
|
| |
|
|
| |
OK millert
|
| | |
|
| |
|
|
|
|
|
| |
Minus 3k lines.
Input deraadt
OK millert
|
| |
|
|
| |
previous commit.
|
| |
|
|
| |
OK millert
|
| |
|
|
|
|
|
| |
of assembly code. It's used for various statistics gathering in the
bind daemon which we won't need in dig etc.
OK millert
|
| |
|
|
|
|
| |
calls to libc's arc4random. Minus about 3k lines.
prodding deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#define ISC_PLATFORM_HAVESALEN 1
#define ISC_PLATFORM_HAVEIPV6 1
#undef ISC_PLATFORM_NEEDIN6ADDRANY
#undef ISC_PLATFORM_NEEDIN6ADDRLOOPBACK
#define ISC_PLATFORM_HAVEIN6PKTINFO 1
#undef ISC_PLATFORM_HAVEINADDR6
#define ISC_PLATFORM_HAVESCOPEID 1
#undef ISC_PLATFORM_NEEDNTOP
#undef ISC_PLATFORM_NEEDPTON
#undef ISC_PLATFORM_NEEDPORTT
#undef ISC_PLATFORM_HAVELIFCONF
#undef ISC_PLATFORM_HAVEIF_LADDRCONF
#undef ISC_PLATFORM_HAVEIF_LADDRREQ
#define ISC_NET_BSD44MSGHDR 1
#define ISC_PLATFORM_HAVEIFNAMETOINDEX 1
#undef ISC_PLATFORM_FIXIN6ISADDR
#define ISC_PLATFORM_HAVESOCKADDRSTORAGE 1
#define ISC_PLATFORM_HAVEKQUEUE 1
#undef ISC_PLATFORM_HAVEEPOLL
#undef ISC_PLATFORM_HAVEDEVPOLL
prodding deraadt@
|
| |
|
|
| |
OK millert
|
| |
|
|
|
|
| |
crazy random port allocation for dns 'security' in USERLAND because the
KERNEL has automatically done port-randomization since 1996 (wow the year
of BSE in Britain)
|
| | |
|
| |
|
|
|
|
|
|
| |
defines, but is trying to determine if the kernel has it enabled/disabled,
mostly by performing tests against localhost. instead, just declare dscp
works.
since dscp probing happens late, it runs into problems with pledge. we
prefer pledge over this lovecraftian horror.
|
| |
|
|
| |
here (since this codebase will only support dig & nslookup)
|
| | |
|