<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rescached, branch v4.4.2</title>
<subtitle>DNS resolver cache daemon, DNS server with caches support.</subtitle>
<id>http://git.kilabit.info/rescached/atom?h=v4.4.2</id>
<link rel='self' href='http://git.kilabit.info/rescached/atom?h=v4.4.2'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/'/>
<updated>2023-11-09T14:54:29Z</updated>
<entry>
<title>Release rescached v4.4.2 (2023-11-10)</title>
<updated>2023-11-09T14:54:29Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-09T14:10:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=cddfc60f10b51b02f58f223fd7177e28c0343cb7'/>
<id>urn:sha1:cddfc60f10b51b02f58f223fd7177e28c0343cb7</id>
<content type='text'>
* all: remove loading system hosts file::

  Loading and caching system hosts file (for example, /etc/hosts in
  POSIX) will leaks internal hosts if the rescached server is open to
  public.

  The system hosts file are handled by nssswitch.conf "files" internally
  so no need to loading it.

* cmd/resolver: replace "math/rand" with "crypto/rand"::

  The random number from "math/rand" is predictable if the seed is
  known. Even though the random number here is only for generating unique
  request ID, we still need to prevent this by using more secure random
  number.
</content>
</entry>
<entry>
<title>_AUR: update for next release</title>
<updated>2023-11-09T14:54:29Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-09T14:46:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=40ed71777ebffc5b6954c490ad65010f2445be60'/>
<id>urn:sha1:40ed71777ebffc5b6954c490ad65010f2445be60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>_sys: update all man pages</title>
<updated>2023-11-09T14:54:29Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-09T14:32:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=0022f479092168a945108f399768119e33cb9a55'/>
<id>urn:sha1:0022f479092168a945108f399768119e33cb9a55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>go.mod: update share and ciigo modules</title>
<updated>2023-11-09T14:06:42Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-09T14:06:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=7110b36c65969ed5065e55ad66faeb93995ea54c'/>
<id>urn:sha1:7110b36c65969ed5065e55ad66faeb93995ea54c</id>
<content type='text'>
= Release share v0.50.1 (2023-11-05)

This release bring many enhancements to "lib/memfs", a library for
caching file system in memory.

===  Enhancements

* lib/memfs: return nil in AddChild if file not exist
* lib/memfs: quote the path in the returned error
* lib/memfs: add method Child to Node
* lib/memfs: call the Init method in the embedded file
* lib/memfs: include empty directory
* lib/memfs: re-scan directory content on Node’s Update

= Release share v0.50.0 (2023-10-04)

This release bring many enhancements thanks to linters like revive,
fieldaligment, and shadow.

This release also replace "math/rand.Seed" with "crypto/rand".
Since Go 1.20 the "math/rand.Seed" is considered deprecated (the initial
value of rand is seeded automatically, not zero).
Now, it is the time to replace "math/rand" with more secure random
number generator, from "crypto/rand".
This changes affect tests in package "lib/email", "lib/http", and
"lib/stmp".

= Release ciigo v0.10.1 (2023-11-07)

In this release, update on asciidoctor-go add new features to parse
unordered list with '-' and some bug fixes related to rendering list.

The update on share module fix for permission error when scanning using
memfs and HTTP redirect for request to directory that does not end with
slash.
</content>
</entry>
<entry>
<title>cmd/resolver: replace "math/rand" with "crypto/rand"</title>
<updated>2023-09-23T06:55:28Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-09-23T06:52:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=97bdd0d7b8411135c67d78441e73b8e2d6aff170'/>
<id>urn:sha1:97bdd0d7b8411135c67d78441e73b8e2d6aff170</id>
<content type='text'>
The random number from "math/rand" is predictable if the seed is known.
Even though the random number here is only for generating unique request
ID, we still need to prevent this by using more secure random number.
</content>
</entry>
<entry>
<title>go.mod: update all dependencies and set Go mod version to 1.20</title>
<updated>2023-09-23T06:55:28Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-09-23T06:48:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=1b10f5c1d9b0d91e9675963b8307180cbf222b4e'/>
<id>urn:sha1:1b10f5c1d9b0d91e9675963b8307180cbf222b4e</id>
<content type='text'>
The update on share module affect the following changes,

* lib/dns: removing dns.ZoneRecords, replacing it with
  map[string][]*dns.ResourceRecord

* lib/dns: file Name in Zone renamed to Origin

* lib/dns: replace call to Caches.InternalPopulate with
  InternalPopulateZone that accept zone as parameter
</content>
</entry>
<entry>
<title>Makefile: replace golangci-lint linter</title>
<updated>2023-09-23T06:18:28Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-09-23T06:18:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=fb9c1047024a47497318b15dcc8d0d4ed782397a'/>
<id>urn:sha1:fb9c1047024a47497318b15dcc8d0d4ed782397a</id>
<content type='text'>
The golangci-lint become unusable.
Even running "make" on the their master branch does not works.
Since I use go tip (master) on local, sometimes golangci-lint does not
run.

This changes replace golangci-lint with "go vet", fieldalignment and
shadow (from x/tools), and revive.
</content>
</entry>
<entry>
<title>all: remove loading system hosts file</title>
<updated>2023-09-23T06:11:35Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-09-23T06:11:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=bbc3ebac7e823ca7bf9874d223c71f3270258c24'/>
<id>urn:sha1:bbc3ebac7e823ca7bf9874d223c71f3270258c24</id>
<content type='text'>
Loading and caching system hosts file (for example, /etc/hosts in POSIX)
will leaks internal hosts if the rescached server is open to public.

The system hosts file are handled by nssswitch.conf "files" internally
so no need to loading it.
</content>
</entry>
<entry>
<title>Release rescached v4.4.1 (2023-04-01)</title>
<updated>2023-04-01T09:15:27Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-04-01T08:31:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=631dd476ac3fd7d7c8045b6e6ca59b63955bca67'/>
<id>urn:sha1:631dd476ac3fd7d7c8045b6e6ca59b63955bca67</id>
<content type='text'>
===  Enhancements

* go.mod: set Go version to 1.19 and update share module

  The latest share module has several fixes and enhancements regarding
  DNS library, including

  * lib/dns: simplify unpackDomainName return value for end
  * lib/dns: use the packet length to derive current offset
  * lib/dns: handle zone file with CRLF line ending
  * lib/dns: allow parsing TXT rdata without quote in zone file
  * lib/dns: fix parsing SRV record from zone file
  * lib/dns: fix packing and unpacking resource record HINFO
  * lib/dns: fix packing, parsing, and saving MINFO resource data

* _www/doc: update the index and resolver documentation
</content>
</entry>
<entry>
<title>all: update go doc comments</title>
<updated>2023-04-01T09:15:08Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-04-01T09:11:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=3e188c30249222b58504ca87da66564b31f63d11'/>
<id>urn:sha1:3e188c30249222b58504ca87da66564b31f63d11</id>
<content type='text'>
While at it, use "_" for unused parameter on methods.
</content>
</entry>
</feed>
