Skip to content

Releases: spc476/SPCDNS

Bug fix---use calculated max number of segments

26 Jun 00:29
Compare
Choose a tag to compare

Per Tony Finch [1], the maximum number of segments are:

I had a quick look and I noticed that it sets the maximum number of labels to 100. The actual maximum is 128, because the maximum length of a DNS name is 255, and the minimum length of a label is 2 (except for the root which is 1), and (255 - 1)/2 + 1 == 128.

https://lobste.rs/s/tukocy/network_protocols_sans_i_o_2016#c_495uaz

Bug fix---Luarocks will be the death of me.

26 Jun 00:28
Compare
Choose a tag to compare

I just can never get a simple luarocks update to work for me. Never!

Bug fix---one of these days, I'll get a rockspec change right.

26 Jun 00:24
Compare
Choose a tag to compare

Bug fix---one of these days, I'll get a rockspec change right.

The "Support Private Records" Version

15 Nov 19:55
Compare
Choose a tag to compare
  • Support the encoding of private RRs
  • bug fix---allow RR_OPT in answer section (sigh)

Bug fix---fix compilation error on Mac OS-X

31 Aug 00:22
Compare
Choose a tag to compare

The Mac compiler doesn't define unix, so we need to check APPLE as well.

Add support for bare metal embedded platforms (#15)

31 Aug 00:21
2442559
Compare
Choose a tag to compare

Conditional compilation to support some enbedded systems.

Bug fix---surpress spurious warnings from clang and MSVC

11 Feb 22:51
Compare
Choose a tag to compare

Surpress some warnings that I do not agree with.

Bug fix---better support for Windows

08 Feb 20:28
Compare
Choose a tag to compare

User oviano on Github reported issues with compiling the code under Windows using a compiler other than MinGW. After some back and forth, it seems that MinGW uses <wspiapi.h>, but others (or just the compiler oviano was using) needs <ws2tcpip.h>. This is the minimum change required to meet both oviano's and alperakcan's use cases.

        alperakan
                https://github.com/spc476/SPCDNS/pull/7

        oviano
                https://github.com/spc476/SPCDNS/pull/12

Bug fix---remove VLAs from codebase.

16 Jun 23:41
Compare
Choose a tag to compare

The Windows C compiler doesn't support variable length arrays. It's now considered optional in C11, so might as well avoid them.

Bug fix---it's always the rockspecs that get me

13 Apr 01:46
Compare
Choose a tag to compare

Sign. Why can I not ever get this right?