New commits:
commit 6f2f664d23be6367c8754e0612896cab28d9e71c
Author: Andrew Cagney <[email protected]>
Date:   Mon Jan 4 16:55:43 2021 -0500

    ip: hack ttoaddr()/domain_to_address() so that it prefers IPv4
    
    Whack, unless told otherwize, defaults to IPV4.  This is at odds with
    ttoaddr() which prefers IPv6 (has since forever).  If whack's default
    is removed, configurations in the field using DNS will suddenly flip
    from IPv4 to IPv6.
    
    While the correct fix is probably to try both addresses, we're not
    there yet.  So instead prefer IPv4 over IPv6.
    
    This affects the following lookups:
    
    - redirect when it resolves the GW Identity received over the wire
    - resovling pluto's option --global-redirect-to <address>
    - resolving DNS hostname
    
    (whack --initiate calls ttoaddr() but throws away the result).

_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit

Reply via email to