kernel-netlink: Follow RFC 6724 when selecting IPv6 source addresses
Instead of using the first address we find on an interface we should consider properties like an address' scope or whether it is temporary or public. Fixes #543.
This commit is contained in:
@@ -211,6 +211,10 @@ charon.port_nat_t = 4500
|
||||
allocated. Has to be different from **charon.port**, otherwise a random
|
||||
port will be allocated.
|
||||
|
||||
charon.prefer_temporary_addrs = no
|
||||
By default public IPv6 addresses are preferred over temporary ones (RFC
|
||||
4941), to make connections more stable. Enable this option to reverse this.
|
||||
|
||||
charon.process_route = yes
|
||||
Process RTM_NEWROUTE and RTM_DELROUTE events.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user