1. 28 Dec, 2021 1 commit
  2. 24 Dec, 2021 14 commits
  3. 23 Dec, 2021 1 commit
  4. 22 Dec, 2021 1 commit
  5. 14 Dec, 2021 1 commit
  6. 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
  7. 12 Dec, 2021 1 commit
  8. 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
  9. 07 Dec, 2021 18 commits