[Swan-commit] Changes to ref refs/heads/main
Andrew Cagney
cagney at vault.libreswan.fi
Wed Feb 10 02:01:21 UTC 2021
New commits:
commit 44f994d63ea56e034bb2a49cd41e31b0c8a1bc2d
Author: Andrew Cagney <cagney at gnu.org>
Date: Tue Feb 9 16:49:26 2021 -0500
oppo: overhaul build_outgoing_opportunistic_connection()
- document hack using INTERFACES to generate all local addresses
- add bigger hack to only use the first occurance of each address
(assumes that ADDRESS:500 and ADDRESS:4500 are adjacent)
- document how rcv_whack.c calls the function with a very flimzy
looking pair of endpoints (no protocol, no port)
- break down logic looking for the best spd_route
if it wasn't for rcv_whack.c, code could just use endpoint_in_selector()
commit 2d00e9b27c6feb76f2640ede43f8efa175cea8ff
Author: Andrew Cagney <cagney at gnu.org>
Date: Tue Feb 9 14:33:05 2021 -0500
oppo: pass the local/remote _address_ into oppo_instantiate()
Drop redundant peer_addr.
For the initiator, the addresses come from outgoing raw packet
that triggered OE.
For the responder, the addresses come from the incomming IKE_SA_INIT
request message.
Clear as mud.
More information about the Swan-commit
mailing list