OpenBSD CVS

CVS log for src/usr.bin/dig/dig.h


[BACK] Up to [local] / src / usr.bin / dig

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Fri May 17 23:56:19 2024 UTC (32 hours, 44 minutes ago) by jsg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +0 -3 lines
Diff to previous 1.15 (colored)

remove prototypes with no matching function; ok florian@

Revision 1.15 / (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_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, 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, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.14: +6 -6 lines
Diff to previous 1.14 (colored)

We have sockaddr_storage these days, get rid of isc_sockaddr_t.
OK beck, "beautiful" deraadt

Revision 1.14 / (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.13: +2 -1 lines
Diff to previous 1.13 (colored)

The various sockaddr structures have length fields these days.
OK beck

Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 14 08:40:43 2020 UTC (3 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.12: +18 -19 lines
Diff to previous 1.12 (colored)

Mechanically replace isc_boolean_t with int.
OK deraadt

Revision 1.12 / (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.11: +3 -0 lines
Diff to previous 1.11 (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.11 / (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.10: +0 -8 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Tue Feb 25 17:01:56 2020 UTC (4 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)

traditional nslookup would not fatal if the server name was undiscoverable.
change lower level code to return an error, and bump the fatal for host(1)
upwards, then tweak nslookup to work nicely

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 24 13:49:38 2020 UTC (4 years, 2 months ago) by jsg
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

remove some uneeded includes

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 16 18:05:08 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Replace isc_time_t and interval_t with struct timespec.
Input & OK millert

Revision 1.7 / (download) - annotate - [select for diffs], Sat Feb 15 10:58:14 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.6: +0 -4 lines
Diff to previous 1.6 (colored)

get path to resolv.conf from resolv.h

Revision 1.6 / (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.5: +1 -0 lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Thu Feb 13 16:57:55 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

expand ISC_FORMAT_PRINTF and get rid of formatcheck.h

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 13 13:53:00 2020 UTC (4 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.3: +0 -5 lines
Diff to previous 1.3 (colored)

remove macros which defined extern "C" for C++

ok florian@

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 13 12:03:51 2020 UTC (4 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.2: +1 -5 lines
Diff to previous 1.2 (colored)

remove more uneeded include statements and files

Revision 1.2 / (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.1: +0 -6 lines
Diff to previous 1.1 (colored)

remove unused dig_query_start()

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 7 09:58:52 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.