Commits
Commit:
b050bb01c7ce0e454b545a4c0ccbe6996c5e6e5e (master)
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Thu Jan 21 04:01:37 2021
UTC
replicant process doesn't need UDP AXFR ports, those are for UDP and TCP
Commit:
415c42bcd9c06ff26a85d45afe83f8e56ab38a58
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Thu Jan 21 03:26:39 2021
UTC
plug a file descriptor leak
Commit:
8f8f2f0f1e74fc24cb131d142da0a6d379a18bd5
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Wed Jan 20 08:37:08 2021
UTC
plug more potential memory leakage. When we remove_rbt() and we can't find
an rr as pointed to in an rrset, don't just return.. free the rrset and
continue as there may be more data.
Commit:
93677ea47d9bf77d05d3ef6561e59d357e8106f0
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Jan 18 14:57:27 2021
UTC
There is a circumstance where reply_refused() is called without having done
any build_question() prior. The filter "" {} would core to this, this fixes
it. This will be backported to 1.5.1.
Commit:
4b80da13c000be9d9f5816bf5c71ef608b3337aa
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Jan 11 09:00:47 2021
UTC
a usleep makes it unnecessary slow, I guess it forces a context switch...
Commit:
eecc4ba7beee2c83eba54ae989b27a0c7f022e2f
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Jan 11 08:45:46 2021
UTC
move computation of value up so that we don't waste time securing a lock.
Commit:
dc3efd68e4c6a4366659294ed4e417f89b5024e4
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Jan 11 08:17:33 2021
UTC
add a sm_lock()/sm_unlock()
convert all '*' lockings to these
convert struct parsequestion imsg transfer to use shared memory, this should
speed this up a little perhaps, not sure if it will be noticeable, the UDP
and TCP parse childs share this memory region and so do several -n childs
hopefully the shared memory segment is big enough.
Commit:
59a4c750dfc572285cd24406acee64a45be6700c
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Jan 11 05:43:44 2021
UTC
simplify around sm_init (shared memory init) and sm_size...this saves a bit of
code and is much easier to read.
Commit:
7a4db4871d504a487f60bcc37f2fa888466ae8aa
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Fri Jan 8 09:24:23 2021
UTC
big OOPS! Since the 7th at 8:05AM CEST dnssec was broken, this is the fix.
I didn't check for all flag_rr()'s. This fixes commit:
a0b7a6744b2bb1800a33d0c22a5aec064bccc021
Commit:
c5b4d7a25f5e9c11bf7464974fddb6c98a80921b
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Fri Jan 8 08:13:43 2021
UTC
update CHANGES
- rdomain support in OpenBSD
- fudgesize in forwarding mode for setting higher FUDGE value
- ntphack in main daemon for allowing *.ntp.org through
- setproctitle setting of an identifier for identifying a delphinusdnsd in
systems that have multiple delphinusdnsd running
Commit:
253014dc33f9c37dadb196cce3d2dba975cd5d3b
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Fri Jan 8 08:10:58 2021
UTC
one more of the recent TODO's done
Commit:
7acf3ccadf8f095beac19e92425a6c0a9fcd80ae
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Fri Jan 8 08:07:44 2021
UTC
this allows an rdomain to be set on the main options and the forward options
allowing for example:
options "" {
...
rdomain 1;
}
forward "" {
...
rdomain 0;
}
This setup would allow a delphinusdnsd to answer on rdomain 1 interface but
look up its info on rdomain 0. If forward has left out its rdomain 0; it will
be in the same rdomain as options. Similarily if options has no rdomain but
forward has rdomain 2; then I would thing that it looks up all data on rdomain
2. I don't use this setup yet, but may in the future.
Commit:
42ed861f04b7d7c0ead726459a7879819b222b7c
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Thu Jan 7 20:05:36 2021
UTC
forgot to add this. Here it is. the tsigpassname routines...
Commit:
0da288c6ef2bdffa17f4f18fa2192c3caac97b0a
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Thu Jan 7 17:42:13 2021
UTC
another one off my TODO list
Commit:
acfb68bd7a998e846c3a86dd296c26e2fa16dbd1
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Thu Jan 7 17:28:50 2021
UTC
Add tsigpassname option to the tsig options. This overrides the time of day
and fudge check for certain domain names. It is good in case of pool.ntp.org
for example. But beware as soon as this is used you must change the passphrase
for the TSIG key in question, otherwise you invite a replay attack if the link
was monitored. It is a cheap hack but does bypass the chicken-egg problem of
DNS vs. NTP (which relies on DNS). This is a good hack for SBC's that don't
have a real time clock.
Commit:
ea68cf5b9e48276a72b95d2a3c507e1135d61491
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Thu Jan 7 12:34:16 2021
UTC
add caa, rp and hinfo to RR list in manpage that was forgotten at 1.5.0 release
add fudge option to forward options.
Commit:
f3f9943d40581ec8705bd2100233ebf83dd0a043
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Thu Jan 7 12:29:03 2021
UTC
update copyrights to reflect the year 2021
Commit:
7b337843e28c6c52e157916222a0b232f3039d86
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Thu Jan 7 12:27:33 2021
UTC
make additional_tsig()'s fudge value variable, add a "fudge" keyword with
value in the forwarding options (from 1 through 65535), set this value in
forwarding additional_tsig(). This allows hosts who are preposterously out
of time to temporarily raise their fudge window (at the cost of replay security)
Commit:
a0b7a6744b2bb1800a33d0c22a5aec064bccc021
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Thu Jan 7 08:05:03 2021
UTC
attempt to shave some time off answering cache contents by flagging the RBT
RBT_CACHE, which I just introduced. It may be a millisecond faster now.
Commit:
7eb938ccb2b4a6d4409a9e58197406ec81e671d4
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Wed Jan 6 22:47:29 2021
UTC
oops, zonenumber has to be 0 - this fixes a caching problem
Commit:
ad312b4a7817dfeb507888a05289833f74912220
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Wed Jan 6 14:36:09 2021
UTC
document option -I in the manpages
Commit:
33b5f14b10eb7fd9c89caf9c06641c049ecba65d
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Wed Jan 6 14:23:26 2021
UTC
* fix up error messages that either used -i instead of -I or didn't have the
correct wording.
Spotted after last push/sync.
Commit:
3d492c44d84bd5d8260ca89a9190f9eaa30aef03
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Wed Jan 6 14:18:34 2021
UTC
mark identstring as done
Commit:
9306778b26e7838cd94bfe9ec7df4f06f9ee653e
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Wed Jan 6 14:17:47 2021
UTC
add the -I option to dddctl start/stop/restart and delphinusdnsd, this options
allows one to identify a delphinusdnsd quickly either in process listing (ps)
or by specifying -I identstring.
This is good for environments where there is a lot of delphinusdnsd's running.
Commit:
081e24641552ecaf1cd302ed358d27f19bfed00e
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Wed Jan 6 13:15:26 2021
UTC
Here is a list of minor TODO's that I thought out over new years long weekend.
The eventual direction for the 1.6.0 release is to have it ready to be run in
a production environment with many delphinusdnsd's (a pod? :-))
Commit:
a3e4174b5fe4cd484395fa0bf604eb871334c85f
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Tue Jan 5 16:05:07 2021
UTC
remove mention of CVS, we changed to git/got on November 23rd, 2020
Commit:
3070fbd313f0a8affd7cc622adfd25274fc2b672
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Tue Jan 5 08:42:57 2021
UTC
fix the last commit, it was too slow, this speeds it up by identifying what
domainname is used as glue with match_zoneglue() because those are identified
with 2 different zone numbers
Commit:
28c8ba3dab2d8af2b24899f5f96a53939f6dc43f
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Tue Jan 5 05:59:45 2021
UTC
enumerate every zone with a zonenumber, this is then later used to differentiate
between glue data and zone data, unfortunately it also slows down the time
to start in populate_zone(), but perhaps I can refine the alg later
Commit:
0e11ceddb1030b81b4ed66a667abe051699588b8
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Jan 4 17:12:13 2021
UTC
TODO / Add windows portation work, move DNS Updates to the back (1.7.0 release)
time permitting I'd do everything this year but I want to reflect some reality
here too. I do want a windows port for another project (and work opportunity
of mine).
Commit:
e3915a9efe8026b977cb6f5e3d5c1fc51a05a083
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Jan 4 16:12:18 2021
UTC
Second wave of hunting for a memory leak. I nailed a big leak here.
Introduce remove_rbt() function to remove an entire rbtree and underlying
objects otherwise these pointers may just be dangling around.
Update Copyright to 2021.
Commit:
154ed813a635d235ae6d2e324dd8f8df5222f2fc
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Jan 4 16:08:33 2021
UTC
update copyright
Commit:
795b49147c9f12c4064976c061bdce21f2593b8f
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Jan 4 16:07:44 2021
UTC
find_rrset() returns with data, which needs to be static.
First wave of safening around the forward process, looking for a memory leak.
Commit:
b8037e2031590d5f1b3097eb8c0ee8f1b4fda99a
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Jan 4 16:04:43 2021
UTC
copy the EDNS0 packetsize from query, reset all additional packets to 0
Commit:
6068b04f25dc0e0e7b48a963a4592e259394bc54
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Jan 4 16:02:32 2021
UTC
I wrote this a few hours before New Years 2021, finally get the chance to
commit it. This moves compress_label() to util.c and hardens it and does
a logic correction. I tested this for 4 days and it doesn't seem to have
fallout.
Commit:
c26bb58234f57c1dbab286c73a0ce0e21c524978
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Wed Dec 30 02:55:26 2020
UTC
split out two issues that were one in the todo
Commit:
96918cf5909c303d451b5790db923bfae110da09
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Wed Dec 30 02:32:53 2020
UTC
OpenBSD just changed its software checking for NULL, so we do the same.
Thank you OpenBSD! The change is with getifaddrs()...
Commit:
216f641c5cfd718049f3eb6884fc52a4fced9695
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Wed Dec 30 02:26:58 2020
UTC
Remove $Id$ now that we're on git/got it doesn't make sense to keep this
around. There is no real equivalent in git afaik, and after some research.
Commit:
10975a55944bcee28e44e3060994a7bd624c58f5 (tags/RELEASE_1_5_0)
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Nov 23 09:03:04 2020
UTC
bump versions
Commit:
e331c904c1ec20a872f9228569302c6cf3c505a8
Committer:
Peter J. Philipp <pjp@delphinusdns.org>
Date:
Mon Nov 23 08:57:13 2020
UTC
take out IODINE functionality (it may make it back one day)
Commit:
776b2bbb25da6864555e21a0200eec4fb9b93dc4
Committer:
pjp <pjp@delphinusdns.org>
Date:
Thu Nov 19 09:25:28 2020
UTC
update README before 1.5.0 release
Commit:
47ee9af5aae9dfe3df0769e38e5ce7953890e32e
Committer:
pjp <pjp@delphinusdns.org>
Date:
Thu Oct 22 05:18:38 2020
UTC
last commit was still wrong, I was trying to avoid what I have here now but
it seems that's the only way.
Commit:
17cf4b4e09de8d1c49bfd3e6fff0dbe7c680012b
Committer:
pjp <pjp@delphinusdns.org>
Date:
Wed Oct 21 14:04:03 2020
UTC
attempt fixing last commit, I think I wasn't thinking right then...
Commit:
f398e6160430b06028a2f2d71f33df2503fa9657
Committer:
pjp <pjp@delphinusdns.org>
Date:
Thu Oct 15 07:11:48 2020
UTC
up the debug a bit further while we're chasing a bug.
Commit:
b8d21958fbcd8e12c468ac417aa4a29492a73739
Committer:
pjp <pjp@delphinusdns.org>
Date:
Fri Oct 9 08:33:51 2020
UTC
add example on how to create a ZSK and a KSK key and nothing else
Commit:
f3b481b342574ea0d053a7ecb72bbb756380a7fe
Committer:
pjp <pjp@delphinusdns.org>
Date:
Fri Oct 9 07:45:42 2020
UTC
put RFC 7858 (DNS over TLS) as a want/TODO for the forwarding mode.
Commit:
0d929e9a33bc2b7e548b9c73d745009c74663473
Committer:
pjp <pjp@delphinusdns.org>
Date:
Wed Oct 7 06:42:44 2020
UTC
Fix a segmentation fault.
It just so happens that res can equal NULL in odd configs, in order to avoid
a segfault, just continue here. Found the hard way by Ricardo M. Santos.
tested on OpenBSD/amd64
Commit:
6c26d7dc75e32ef75534257f34bd40ca536da716
Committer:
pjp <pjp@delphinusdns.org>
Date:
Wed Sep 30 12:01:51 2020
UTC
update delphinusdnsd.conf(5) manpage for max-udp-payload option
Commit:
8392c4dfa2d3865419b2f64915b3dcdebb69bded
Committer:
pjp <pjp@delphinusdns.org>
Date:
Wed Sep 30 10:09:56 2020
UTC
add a max-udp-payload section in time for dns flag day 2020.
Commit:
e3a24a0fbd54e7e68685aca8891b54584c427256
Committer:
pjp <pjp@delphinusdns.org>
Date:
Wed Sep 30 10:07:31 2020
UTC
add a max-udp-payload option that is setable (defaults to 0xffff and will
most likely always be overridden by edns0) that allows an operator to force
udp sizes, just in case there is resolvers out there that don't do 1232 size
by means of edns0. This makes us compliant to DNS Flag day 2020.
https://dnsflagday.net/2020/
Tested on OpenBSD
Commit:
8be9de15186214083fd9903c4ca16fcf7d5e922a
Committer:
pjp <pjp@delphinusdns.org>
Date:
Wed Sep 30 07:28:06 2020
UTC
do not reply AA on BADVERS