summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/dns (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Finish moving of dig(1) to /usr/bin/dig by removing the sources in theflorian2020-02-11216-53536/+0
| | | | | old location. dig(1) sources can be found in src/usr.bin/dig. ok deraadt@
* iterated_hash is unusedflorian2020-02-044-10/+5
|
* bit.h and events.h are unused.florian2020-02-044-136/+2
|
* Nothing sets DNS_RDATASETATTR_NEGATIVE; remove code dealing with thatflorian2020-02-046-762/+5
| | | | and then remove ncache.c.
* dig is not generating DS records.florian2020-02-043-150/+3
|
* keydata.c is unused.florian2020-02-043-135/+2
|
* soa.c is unused.florian2020-02-043-249/+2
|
* We are not going to generate nsec or nsec3 RRsets.florian2020-02-046-1104/+3
|
* dig(1) only needs tsig support so we can delete all non-HMACflorian2020-02-048-1663/+7
| | | | crypto code.
* just use netdb.h directlyflorian2020-02-041-2/+2
|
* Remove unused typedefs that got left behind in previousflorian2020-02-041-9/+1
| | | | | | | | 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.
* Remove a bunch of unused functions who access the filesystem and thenflorian2020-02-043-81/+3
| | | | get rid of lib/isc/unix/dir.c
* We are not going to generate sig0 records so we can rip out theflorian2020-02-045-1931/+5
| | | | sig0key which in turn lets us delete all of dnssec.c
* Use opendir(3) to not depend on lib/isc/unix/dir.c.florian2020-02-042-113/+24
| | | | No change in generated .h files in obj.
* unusedflorian2020-02-041-16/+0
|
* Remove unused files.florian2020-02-042-18/+0
|
* Nuke autohell from orbit. It's the only way to be sure.florian2020-01-284-306/+0
| | | | OK sthen
* Switch to Makefile based builds.florian2020-01-2823-69/+46
| | | | | | | | 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
* get rid of lib/isc/nothreadsflorian2020-01-263-26/+2
| | | | OK tedu
* Switch once to isc_boolean_t in preparation of nothreads removalflorian2020-01-263-36/+18
| | | | OK tedu, jca
* Remove now unused unix/file.c and unix/fsaccess.cflorian2020-01-263-7/+7
| | | | OK jca, tedu
* We are not going to write keys to disk.florian2020-01-266-732/+11
| | | | OK jca, tedu
* dns/master is unusedflorian2020-01-255-3604/+5
|
* we are not using rwlocksflorian2020-01-251-2/+2
|
* Since we are no longer using config.h we can remove a lot of featureflorian2020-01-241-7/+7
| | | | | | | | | 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.
* unusedflorian2020-01-234-297/+4
|
* config.h and platform.h are unused nowflorian2020-01-2235-64/+64
|
* unifdef the last config.h bitsflorian2020-01-223-69/+2
| | | | OK millert
* get rid if ISC_{UN,}LIKELY it's in the way and not useful.florian2020-01-222-12/+12
| | | | OK millert
* delete version detailing in all libraries; ok tedu florianderaadt2020-01-223-77/+2
|
* unifdef openssl, specifically with passing this to unifdef(1) andflorian2020-01-2212-2119/+7
| | | | | | | | | | | | | | | | | | | | | | a bit of hand massaging: define HAVE_EVP_SHA256 define HAVE_EVP_SHA384 define HAVE_EVP_SHA512 undef HAVE_FIPS_MODE undef HAVE_OPENSSL_AES define HAVE_OPENSSL_ECDSA undef HAVE_OPENSSL_ED25519 undef HAVE_OPENSSL_ED448 define HAVE_OPENSSL_EVP_AES undef HAVE_OPENSSL_GOST define ISC_PLATFORM_OPENSSLHASH define OPENSSL_VERSION_NUMBER 0x20000000L define USE_EVP define ECDSA_R_RANDOM_NUMBER_GENERATION_FAILED define OPENSSL Guidance & OK tb
* remove mutex.h etc. since this code is now unthreaded.tedu2020-01-214-46/+3
| | | | ok florian
* Whack last remaining LIBRESSL_VERSION_NUMBER check in the C code.tb2020-01-211-1/+1
|
* Set --enable-openssl-hash to use digests from libcrypto insteadtb2020-01-213-4/+4
| | | | | | | | of the isc-provided ones. Get rid of most LIBRESSL_VERSION_NUMBER checks in the C code to avoid hacky workarounds that were implemented for old LibreSSL versions. ok florian
* Rip out custom memory allocator.florian2020-01-20179-1651/+900
| | | | OK otto
* As millert@ points out we can replace isc_string_touint64 withflorian2020-01-2024-42/+42
| | | | | strtoull(3) and then get rid of lib/isc/string.c OK millert
* Do not use a message catalog for error messages.florian2020-01-207-152/+10
| | | | | It's not installed anyway. OK millert
* Reduce tsig support to what is needed by dig et al by removing theflorian2020-01-2010-6625/+24
| | | | | | server side support and keyrings. This allows us to get rid of a red-black-tree implementation. OK millert
* Remove acl supportflorian2020-01-206-1140/+7
| | | | OK millert
* Cleanup in lib/dns, mostly support bits to run a nameserver which weflorian2020-01-18109-106989/+80
| | | | | won't use in the tools. OK sthen
* Use normal int types like int32_t instead of isc_int32_t.florian2020-01-09154-1166/+1172
| | | | OK millert
* Nuke atomics support. This gets rid of 4k lines of code including a bunchflorian2020-01-0919-1652/+43
| | | | | | | of assembly code. It's used for various statistics gathering in the bind daemon which we won't need in dig etc. OK millert
* avoid use of sprintf, this is 2020deraadt2020-01-091-4/+4
|
* Replace entropy.c, random.c and an outdated arc4random copy withflorian2020-01-0923-436/+84
| | | | | | calls to libc's arc4random. Minus about 3k lines. prodding deraadt@
* First round of OPENSSL unifdef:florian2020-01-097-312/+4
| | | | | | | | | #define OPENSSL #undef OPENSSL_LEAKS #undef USE_ENGINE #undef DNS_CRYPTO_LEAKS prodding deraadt@
* Assorted unifdefs:florian2020-01-0921-97/+69
| | | | | | | | | | | | | | | | | | | | #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@
* unifdef gss-api:florian2020-01-0917-4308/+28
| | | | | | | | | | #undef GSSAPI #undef HAVE_GSSAPI_GSSAPI_H #undef HAVE_GSSAPI_GSSAPI_KRB5_H #undef HAVE_GSSAPI_H #undef HAVE_GSSAPI_KRB5_H prodding deraadt
* unifdef pkcs11:florian2020-01-0924-10358/+35
| | | | | | | | | | | | | | | | | #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@
* unifdef printf and string functions:florian2020-01-0937-84/+89
| | | | | | | | | | | | | | #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
* We are not windows. Minus 500 lines.florian2020-01-079-369/+5
| | | | OK millert