New commits:
commit 4af9072e62237daad9fea9bb769f6dfbdf2e4ea1
Author: D. Hugh Redelmeier <h...@mimosa.com>
Date:   Thu May 6 15:18:02 2021 -0400

    libswan/ttoaddress.c: use getaddrinfo(3) instead of gethostbyname2(3) 
(attempt 2)
    
    Modernization.  Much simplification.
    
    I'm not sure if we lose support for hex representation of IP
    addresses.  Unit tests still pass.
    
    I'm not sure if what happens when putitive domain names contain bad
    characters.  Unit tests still pass.
    
    If there is an IPv4 result from getaddrinfo(3), we return the first.
    Otherwise we return the first of all results returned.
    
    The diagnostics from getaddrinfo(3) leave a lot to be desired.  Our
    previous hand-rolled code was much more descriptive.

commit 12904485cf450db89bf9ca8f32d5e27acb11affe
Author: D. Hugh Redelmeier <h...@mimosa.com>
Date:   Thu May 6 15:02:39 2021 -0400

    testing: testing/programs/ipcheck/ip_address_check.c: test DNS resolution 
better
    
    - allow the "family" to be 0 (AF_UNSPEC) for inferring family from text
    
    - do a few more DNS tests.
    
      + families AF_UNSPEC and AF_INET6
    
      + non-resolvable domains
    
      + IPV6-only and IPv4-only domains.
    
    There's a lot of room for more tests.

commit d55306239d81a6a98a1627c4dcff1dfa5dc6e558
Author: D. Hugh Redelmeier <h...@mimosa.com>
Date:   Thu May 6 15:00:41 2021 -0400

    include/ip_sockaddr.h: spelling in comments

_______________________________________________
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit

Reply via email to