PM: new subflow: avoid selecting initial endpoint upon ADD_ADDR
reception if servers deny MPJ to initial address
#536
Labels
ADD_ADDR
reception if servers deny MPJ to initial address
#536
Description
If servers set the C flag (deny MPJ to the initial address+port) in their
MP_CAPABLE
, clients will likely not use their other endpoints.This supposes clients are using the in-kernel PM, endpoints are not flagged as
fullmesh
, and the limit is high enough. There are two cases that involve the creation of new subflows:Solution
If the C flag has been set, upon
ADD_ADDR
reception, the PM should probably first look at unused endpoint, before pickingIPADDRANY
.Also, by default the limits are
add_addr_accepted 0 subflows 2
. Should we do something about that if the server set the C flag? (We don't want the server to react toADD_ADDR
if the client set the C flag)Considered alternatives
#503 could be a possibility, but something should be done for the default use-case: when only the
subflow
flag is set on the endpoint.Additional context
Thanks to @majek for pointing out this issue to me.
The text was updated successfully, but these errors were encountered: