1. 27 Jan, 2022 2 commits
  2. 13 Jan, 2022 1 commit
  3. 24 Dec, 2021 9 commits
  4. 23 Dec, 2021 1 commit
  5. 22 Dec, 2021 1 commit
  6. 14 Dec, 2021 1 commit
  7. 13 Dec, 2021 1 commit
    • abousselmi's avatar
      Use getaddrinfo() instaed of gethostbyname() · 38a8b5e5
      abousselmi authored
      Like @louisroyer pointed out, gethostbyname() is deprecated and we
      should use getaddrinfo() instead.
      
      Note: the default behavior of getaddrinfo() is not the same as
      suggested by the man page when hints is set to null. It doesn't
      yield IPv6 addresses, and hints.ai_family seems to be set to
      AF_INET and not AF_UNSPEC by default.
      38a8b5e5
  8. 12 Dec, 2021 1 commit
  9. 10 Dec, 2021 2 commits
    • abousselmi's avatar
      Allow using FQDN along with IPv4 and IPv6 · 1e280bd8
      abousselmi authored
      This allows a name resolution attempt before checking IP versions.
      GetHostByName is already implemented but never been used. When used
      against an IP, it will yield the same IP. Therefore no regression
      would be implied by this.
      
      When the name resolution returns multiple IPv4 and IPv6 addresses,
      GetHostByName only returns the first element of the list which
      potentially is going to be an IPv4. This is not very convenient to
      have inside GetIp6, but the user can always specify manually the
      IPv6 to be used in the config file.
      1e280bd8
    • aligungr's avatar
      Configuration update command bug fix · b8c86919
      aligungr authored
      b8c86919
  10. 07 Dec, 2021 19 commits
  11. 03 Dec, 2021 2 commits