{"action":"created","issue":{"url":"https://api.github.com/repos/multipath-tcp/mptcp/issues/98","labels_url":"https://api.github.com/repos/multipath-tcp/mptcp/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/multipath-tcp/mptcp/issues/98/comments","events_url":"https://api.github.com/repos/multipath-tcp/mptcp/issues/98/events","html_url":"https://github.com/multipath-tcp/mptcp/issues/98","id":115249371,"number":98,"title":"Path manager (ndiffports) ports allocation","user":{"login":"GinesGarcia","id":5735717,"avatar_url":"https://avatars.githubusercontent.com/u/5735717?v=3","gravatar_id":"","url":"https://api.github.com/users/GinesGarcia","html_url":"https://github.com/GinesGarcia","followers_url":"https://api.github.com/users/GinesGarcia/followers","following_url":"https://api.github.com/users/GinesGarcia/following{/other_user}","gists_url":"https://api.github.com/users/GinesGarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/GinesGarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GinesGarcia/subscriptions","organizations_url":"https://api.github.com/users/GinesGarcia/orgs","repos_url":"https://api.github.com/users/GinesGarcia/repos","events_url":"https://api.github.com/users/GinesGarcia/events{/privacy}","received_events_url":"https://api.github.com/users/GinesGarcia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/multipath-tcp/mptcp/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T10:03:50Z","updated_at":"2015-11-06T00:59:43Z","closed_at":"2015-11-06T00:59:43Z","body":"Hi,\r\nhow mptcp manages port allocation when we are using ndiffports? random allocation? is there any way to assign ports directly to each flow in order to be able to control them?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/multipath-tcp/mptcp/issues/comments/154250760","html_url":"https://github.com/multipath-tcp/mptcp/issues/98#issuecomment-154250760","issue_url":"https://api.github.com/repos/multipath-tcp/mptcp/issues/98","id":154250760,"user":{"login":"cpaasch","id":116300,"avatar_url":"https://avatars.githubusercontent.com/u/116300?v=3","gravatar_id":"","url":"https://api.github.com/users/cpaasch","html_url":"https://github.com/cpaasch","followers_url":"https://api.github.com/users/cpaasch/followers","following_url":"https://api.github.com/users/cpaasch/following{/other_user}","gists_url":"https://api.github.com/users/cpaasch/gists{/gist_id}","starred_url":"https://api.github.com/users/cpaasch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpaasch/subscriptions","organizations_url":"https://api.github.com/users/cpaasch/orgs","repos_url":"https://api.github.com/users/cpaasch/repos","events_url":"https://api.github.com/users/cpaasch/events{/privacy}","received_events_url":"https://api.github.com/users/cpaasch/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T00:59:43Z","updated_at":"2015-11-06T00:59:43Z","body":"It does it based on the Linux Kernel source-port selection algorithm, which chooses a random base on a src/dst-basis and then uses monotonically increasing port numbers."}}