| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Implement ZONEMD (RFC8976), based on DS (ds_43.c) | 2021-04-02 | 3 | -2/+124 | |
| | | | | | OK sthen | ||||
| * | spelling | 2021-03-12 | 1 | -3/+3 | |
| | | |||||
| * | Rewrite parse_netprefix to no longer use isc_sockaddr_fromin{,6}. | 2020-12-21 | 3 | -92/+20 | |
| | | | | | | Since this was the last user of those functions we can delete them. OK otto | ||||
| * | Fix EDNS Client Subnet option (+subnet=) | 2020-12-20 | 1 | -1/+3 | |
| | | | | | | This got broken when we introduced ecs_plen so that we can use natural socket types. | ||||
| * | Fix IPv6 link-local address handling for nameservers to talk to as | 2020-12-20 | 2 | -33/+40 | |
| | | | | | | | | well as address to bind to. Reported by Jordan Geoghegan (jordan AT geoghegan.ca), thanks! Debugged by & initial fix by otto Input & OK otto | ||||
| * | Fix copy-pasto when selecting the addresses read from resolv.conf by | 2020-12-20 | 1 | -1/+1 | |
| | | | | | address family. ok florian@ | ||||
| * | Use IN_MULTICAST correctly, so it checks the IP address rather than the | 2020-11-28 | 1 | -2/+2 | |
| | | | | | | | pointer to it. ok florian@ | ||||
| * | Implement Extended DNS Error (RFC 8914). | 2020-11-01 | 2 | -1/+78 | |
| | | | | | OK otto, sthen | ||||
| * | Do not "fall through" to the last "else" when we parsed the character. | 2020-10-19 | 1 | -1/+5 | |
| | | | | | | | | rev 1.9 of lex.c broke the parser by deleting an outer "if" block when only the inner was supposed to go. OK tb | ||||
| * | We have sockaddr_storage these days, get rid of isc_sockaddr_t. | 2020-09-15 | 10 | -148/+165 | |
| | | | | | OK beck, "beautiful" deraadt | ||||
| * | The various sockaddr structures have length fields these days. | 2020-09-15 | 6 | -20/+17 | |
| | | | | | OK beck | ||||
| * | we no longer need isc_netaddr_t | 2020-09-15 | 7 | -226/+32 | |
| | | | | | OK beck, deraadt (who also OK'ed the previous two diffs) | ||||
| * | remove 3 unused protos; ok florian | 2020-09-15 | 1 | -8/+1 | |
| | | |||||
| * | rewrite generating of IPv6 reverse names, lets us get rid of byaddr. | 2020-09-15 | 4 | -224/+30 | |
| | | | | | OK beck | ||||
| * | move islinklocal, ismulticast, issitelocal from netaddr to sockaddr | 2020-09-15 | 3 | -76/+14 | |
| | | | | | OK beck | ||||
| * | Fix botched conversion. This was not converted from parse_uint() which | 2020-09-15 | 1 | -2/+2 | |
| | | | | | | took a maxlength of 10 but isc_parse_uint32 which took a base of 10 and unlimited lenght. Use a maxval of 128 for prefix lengths instead. | ||||
| * | Mechanically replace isc_boolean_t with int. | 2020-09-14 | 102 | -1243/+1194 | |
| | | | | | OK deraadt | ||||
| * | Bunch of dead stores and otherwise unused stuff lets us get rid of | 2020-09-14 | 24 | -242/+42 | |
| | | | | | | | unix/net.{c.h}. We need to sprinkle in a few #includes that net.h dragged in. OK deraadt | ||||
| * | Rewrite isc_time_microdiff() as uelapsed() and put it directly | 2020-09-14 | 8 | -122/+54 | |
| | | | | | | into dig sources, lets us get rid of unix/time.{c,h} OK deraadt | ||||
| * | Get rid of isc_parse_uint32() and replace it with strtonum. | 2020-09-13 | 8 | -231/+108 | |
| | | | | | | | While here use the standard strtonum error messages. input & OK beck, OK kn | ||||
| * | remove unused lex states | 2020-09-13 | 1 | -55/+1 | |
| | | |||||
| * | remove unused LEX_OPTs | 2020-09-13 | 2 | -103/+5 | |
| | | |||||
| * | No need to refcount the parser, we never hold more than one reference. | 2020-09-13 | 2 | -37/+12 | |
| | | |||||
| * | Remove unused callback mechanism / indirection. | 2020-09-12 | 1 | -37/+9 | |
| | | | | | OK deraadt, millert | ||||
| * | fix socket_log() calls, EVENT expands to three comma separated | 2020-05-10 | 1 | -4/+4 | |
| | | | | | values; spotted by gcc; ok florian@ | ||||
| * | Make sure cmsgbufs are properly aligned by using the idiom from the | 2020-05-08 | 1 | -5/+15 | |
| | | | | | CMSG_DATA man page. Avoids SIGBUS on landisk; ok kettenis@ jca@ | ||||
| * | Rather than attempting to lookup the keyword "set" as a hostname, | 2020-04-28 | 1 | -4/+6 | |
| | | | | | | | issue a usage message. This matches both historical behaviour, and the operation upon other keywords. ok florian | ||||
| * | Replace a bunch of hand rolled date / time math with gmtime(3). | 2020-04-02 | 2 | -87/+24 | |
| | | | | | | | | | | While here fix dns_time64_from32() to correctly deal with unsigned 32 bit cyclic time that I accidentally broke when I switched "now" from isc_std_time (unsiged 32 bit) to time_t (64 bit). input kettenis, millert, otto, cheloha OK cheloha | ||||
| * | unused constants | 2020-03-27 | 1 | -16/+1 | |
| | | |||||
| * | no need to go through RETERR when we return a constant | 2020-02-26 | 5 | -22/+22 | |
| | | |||||
| * | In preparation of compiling lib/dns/rdata/ files individually we need | 2020-02-26 | 59 | -524/+426 | |
| | | | | | | | global visibility of str_totext. Rename it to isc_str_tobuffer, put it into buffer.c and delete duplicate implementations. | ||||
| * | In preparation of compiling lib/dns/rdata/ files individually we need | 2020-02-26 | 63 | -228/+178 | |
| | | | | | | | global visibility of mem_tobuffer. Rename it to isc_mem_tobuffer, put it into buffer.c and delete duplicate implementations. | ||||
| * | Always printing unknown types as TYPE%u and not sometimes as %u | 2020-02-26 | 79 | -458/+63 | |
| | | | | | | | considerably simplifies dns_rdatatype_attributes() since we then only care about reserved types. tweaks jsg | ||||
| * | Rewrite dns_rdatatype_fromtext to use a binary search over a static | 2020-02-26 | 2 | -258/+125 | |
| | | | | | array. | ||||
| * | use timingsafe_bcmp and get rid of now unused safe.c | 2020-02-25 | 7 | -89/+15 | |
| | | |||||
| * | use freezero() rather that explicit_bzero() when free() is immediately | 2020-02-25 | 2 | -14/+8 | |
| | | | | | | after. pointed out by jsing | ||||
| * | traditional nslookup would not fatal if the server name was undiscoverable. | 2020-02-25 | 4 | -11/+27 | |
| | | | | | | change lower level code to return an error, and bump the fatal for host(1) upwards, then tweak nslookup to work nicely | ||||
| * | malloc(a * b) -> reallocarray(NULL, a, b) | 2020-02-25 | 9 | -44/+24 | |
| | | | | | ok jsing jca florian | ||||
| * | unused file | 2020-02-25 | 1 | -59/+0 | |
| | | |||||
| * | declare isc_appctx_t once where it is used | 2020-02-25 | 2 | -9/+2 | |
| | | | | | | Should fix typedef redefinition build error on gcc3 reported by aoyama@. ok florian@ | ||||
| * | Do not generate dns_rdatatype_attributes and dns_rdatatype_totext. | 2020-02-25 | 2 | -36/+360 | |
| | | | | | OK jung | ||||
| * | reduce multiple newlines | 2020-02-25 | 121 | -606/+92 | |
| | | |||||
| * | remove some unused typedefs | 2020-02-25 | 3 | -21/+2 | |
| | | |||||
| * | remove some unused defines | 2020-02-25 | 1 | -15/+0 | |
| | | |||||
| * | Stop generating rdatastruct.h and put the dns_rdata_* structs for | 2020-02-24 | 89 | -2574/+51 | |
| | | | | | cname, ns, soa, and tsig directly into rdata.h | ||||
| * | Delete a few more fromstruct_*, tostruct_* and freestruct_* functions | 2020-02-24 | 6 | -356/+4 | |
| | | | | | missed in previous. Also delete now unused utility functions. | ||||
| * | We only need to create cname, ns, soa and tsig structs. | 2020-02-24 | 81 | -2248/+143 | |
| | | | | | OK jsg | ||||
| * | We only need to fill a wire format buffer from soa and tsig structs. | 2020-02-24 | 81 | -1548/+131 | |
| | | | | | OK jsg | ||||
| * | We only need to free cname, ns, soa and tsig structs. | 2020-02-24 | 81 | -796/+122 | |
| | | | | | OK jsg | ||||
| * | We are never required to "render glue first" since we just print what | 2020-02-24 | 2 | -39/+2 | |
| | | | | | we get from the net. | ||||
