Up to [local] / src / usr.bin / dig
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.20 / (download) - annotate - [select for diffs], Wed Sep 6 04:57:28 2023 UTC (9 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
HEAD
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored) to selected 1.16 (colored)
add void to function decls with no args
Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 20 11:27:47 2020 UTC (3 years, 5 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9
Changes since 1.18: +31 -20 lines
Diff to previous 1.18 (colored) to selected 1.16 (colored)
Fix IPv6 link-local address handling for nameservers to talk to as well as address to bind to. Reported by Jordan Geoghegan (jordan AT geoghegan.ca), thanks! Debugged by & initial fix by otto Input & OK otto
Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 15 11:47:42 2020 UTC (3 years, 8 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE,
OPENBSD_6_8
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.16 (colored)
We have sockaddr_storage these days, get rid of isc_sockaddr_t. OK beck, "beautiful" deraadt
Revision 1.17 / (download) - annotate - [select for diffs], Tue Sep 15 11:46:19 2020 UTC (3 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)
The various sockaddr structures have length fields these days. OK beck
Revision 1.16 / (download) - annotate - [selected], Mon Sep 14 08:40:43 2020 UTC (3 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.15: +115 -116 lines
Diff to previous 1.15 (colored)
Mechanically replace isc_boolean_t with int. OK deraadt
Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 14 08:39:12 2020 UTC (3 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.14: +9 -21 lines
Diff to previous 1.14 (colored) to selected 1.16 (colored)
Bunch of dead stores and otherwise unused stuff lets us get rid of unix/net.{c.h}. We need to sprinkle in a few #includes that net.h dragged in. OK deraadt
Revision 1.14 / (download) - annotate - [select for diffs], Mon Sep 14 08:37:08 2020 UTC (3 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.13: +24 -22 lines
Diff to previous 1.13 (colored) to selected 1.16 (colored)
Rewrite isc_time_microdiff() as uelapsed() and put it directly into dig sources, lets us get rid of unix/time.{c,h} OK deraadt
Revision 1.13 / (download) - annotate - [select for diffs], Sun Sep 13 09:33:39 2020 UTC (3 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.12: +62 -59 lines
Diff to previous 1.12 (colored) to selected 1.16 (colored)
Get rid of isc_parse_uint32() and replace it with strtonum. While here use the standard strtonum error messages. input & OK beck, OK kn
Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 24 13:49:38 2020 UTC (4 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) to selected 1.16 (colored)
remove some uneeded includes
Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 18 18:11:27 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored) to selected 1.16 (colored)
Get rid of ISC_MAGIC and ISC_MAGIC_VALID macros. While pulling on that it turns out we can / need git rid of a isc_task -> isc__task, isc_taskmgr -> isc__taskmgr, isc_timer -> isc__timer and isc_socket -> isc__socket indirection. OK millert
Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 17 18:58:39 2020 UTC (4 years, 3 months ago) by jung
Branch: MAIN
Changes since 1.9: +1 -8 lines
Diff to previous 1.9 (colored) to selected 1.16 (colored)
remove unused code ok florian
Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 15 11:57:11 2020 UTC (4 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.16 (colored)
test pointers against NULL not 0
Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 13 19:29:47 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored) to selected 1.16 (colored)
+trace has the RD bit cleared however it asks the nameserver from /etc/resolv.conf for a list of root name servers. Arguably corectly configured recursive nameservers should REFUSE to answer this question to prevent cache snooping. Upstream fixed this after the license change by sending the first query with RD set. We go a different route, built in a list of root name servers and ask them. Otherwise known as a priming query. This way +trace does not depend on any localy configured nameserver in /etc/resolv.conf "I have no other quibbles" deraadt@ input & OK sthen
Revision 1.7 / (download) - annotate - [select for diffs], Thu Feb 13 16:55:20 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.6: +1 -11 lines
Diff to previous 1.6 (colored) to selected 1.16 (colored)
Move DNS_NAME_INITABSOLUTE and DNS_NAME_INITNONABSOLUTE to a comon header to not have multiple copies.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Feb 13 10:40:24 2020 UTC (4 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.5: +1 -3 lines
Diff to previous 1.5 (colored) to selected 1.16 (colored)
remove unused macros ok florian@
Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 13 09:38:34 2020 UTC (4 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.4: +1 -6 lines
Diff to previous 1.4 (colored) to selected 1.16 (colored)
remove unused dig_query_start()
Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 12 14:46:36 2020 UTC (4 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.16 (colored)
Standardize argument naming for "sourceaddr" and unify the wording a bit, similar to what deraadt@ recently did in other manual pages.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Feb 11 23:26:11 2020 UTC (4 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.2: +1 -6 lines
Diff to previous 1.2 (colored) to selected 1.16 (colored)
remove uneeded #include lines ok florian@
Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 11 16:50:58 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.1: +1 -44 lines
Diff to previous 1.1 (colored) to selected 1.16 (colored)
Remove ~/.digrc support which feels like a misfeature. Commands should not suddenly change behaviour in scripts just because someone placed a .rc file in the home directory. OK millert, deraadt
Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 7 09:58:52 2020 UTC (4 years, 4 months ago) by florian
Branch: MAIN
Diff to selected 1.16 (colored)
Move dig(1) and needed DNS libraries into it's own source directory in usr.bin/dig. From the beginning when we started to remove unneeded nameserver code, it was our goal to extract dig functionality from the bind sources, for everyone's benefit as this is easier to reason about. In total we removed about 2/3 or over 300.000 lines of code. We kept the lib/ subdirectory layout but moved the content of bin/ to the top from the old bind source directory. Previous sources and history can be found in the src/usr.sbin/bind Attic. With & OK deraadt Proposed directory layout sounds good to sthen