New commits:
commit 8d08bb31eb332d2307cbb65b35f00f00b30df6ae
Author: Andrew Cagney <[email protected]>
Date:   Thu Oct 7 12:30:10 2021 -0400

    addr_lookup: when IPv6 + peer==group + seeking==prefsrc, add gateway to 
getroute request
    
    This is the newoe-20-ipv6 "clear" case where peer's address is
    %oppogroup, the gateway has been discovered, and the host's address is
    still %defaultroute.
    
    With this change, when seeking the host's address, the request adds:
    
       IPv4: gateway (if known), peer (if known)
       IPv6: peer (if known), gateway (if known and peer is group)
    
    Here's some background:
    
    - why IPv6 prefers the peer can be found in the tests
      ipv6-addresspool-05-dual-stack and addconn-07-defaultroute, and the
      commits around:
        37ef81564178964c9a57bd5dc17552fbe4c99f52
        pluto: fix %defaultroute when the gatewy is link-local fe80::
    
    - why IPv4 prefers the gateway can be found in the tests
      ikev1-hostpair-02 and addconn-07-defaultroute
    
    it's all pretty weird and can probably be simplified.

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

Reply via email to