* [MPTCP] Re: [PATCH net] mptcp: fix ADD_ADDR HMAC in case port is specified
@ 2021-03-13 10:28 Matthieu Baerts
0 siblings, 0 replies; 3+ messages in thread
From: Matthieu Baerts @ 2021-03-13 10:28 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 707 bytes --]
Hi Davide, Geliang, Mat,
On 12/03/2021 22:32, Davide Caratti wrote:
> Currently, Linux computes the HMAC contained in ADD_ADDR sub-option using
> the Address Id and the IP Address, and hardcodes a destination port equal
> to zero. This is not ok for ADD_ADDR with port: ensure to account for the
> endpoint port when computing the HMAC, in compliance with RFC8684 §3.4.1.
Thank you for the patch and the reviews!
Now in our tree with Mat's RvB and Geliang's ACK:
- 442a009d990c: mptcp: fix ADD_ADDR HMAC in case port is specified
- Results: f1ac0c54f494..0f8f3b7b5e58
Tests + export have been queued!
Cheers,
Matt
--
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* [MPTCP] Re: [PATCH net] mptcp: fix ADD_ADDR HMAC in case port is specified
@ 2021-03-13 1:17 Geliang Tang
0 siblings, 0 replies; 3+ messages in thread
From: Geliang Tang @ 2021-03-13 1:17 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]
Hi Davide, Mat,
Mat Martineau <mathew.j.martineau(a)linux.intel.com> 于2021年3月13日周六 上午8:35写道:
>
> On Fri, 12 Mar 2021, Davide Caratti wrote:
>
> > Currently, Linux computes the HMAC contained in ADD_ADDR sub-option using
> > the Address Id and the IP Address, and hardcodes a destination port equal
> > to zero. This is not ok for ADD_ADDR with port: ensure to account for the
> > endpoint port when computing the HMAC, in compliance with RFC8684 §3.4.1.
> >
> > Fixes: 22fb85ffaefb ("mptcp: add port support for ADD_ADDR suboption writing")
> > Signed-off-by: Davide Caratti <dcaratti(a)redhat.com>
> > ---
> > net/mptcp/options.c | 24 ++++++++++++++----------
> > 1 file changed, 14 insertions(+), 10 deletions(-)
> >
>
> Hi Davide -
>
> Thanks for catching this. Fix looks good to me.
>
> Reviewed-by: Mat Martineau <mathew.j.martineau(a)linux.intel.com>
Acked-by: Geliang Tang <geliangtang(a)gmail.com>
-Geliang
>
> --
> Mat Martineau
> Intel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [MPTCP] Re: [PATCH net] mptcp: fix ADD_ADDR HMAC in case port is specified
@ 2021-03-13 0:35 Mat Martineau
0 siblings, 0 replies; 3+ messages in thread
From: Mat Martineau @ 2021-03-13 0:35 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 776 bytes --]
On Fri, 12 Mar 2021, Davide Caratti wrote:
> Currently, Linux computes the HMAC contained in ADD_ADDR sub-option using
> the Address Id and the IP Address, and hardcodes a destination port equal
> to zero. This is not ok for ADD_ADDR with port: ensure to account for the
> endpoint port when computing the HMAC, in compliance with RFC8684 §3.4.1.
>
> Fixes: 22fb85ffaefb ("mptcp: add port support for ADD_ADDR suboption writing")
> Signed-off-by: Davide Caratti <dcaratti(a)redhat.com>
> ---
> net/mptcp/options.c | 24 ++++++++++++++----------
> 1 file changed, 14 insertions(+), 10 deletions(-)
>
Hi Davide -
Thanks for catching this. Fix looks good to me.
Reviewed-by: Mat Martineau <mathew.j.martineau(a)linux.intel.com>
--
Mat Martineau
Intel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-13 10:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-13 10:28 [MPTCP] Re: [PATCH net] mptcp: fix ADD_ADDR HMAC in case port is specified Matthieu Baerts
-- strict thread matches above, loose matches on Subject: below --
2021-03-13 1:17 Geliang Tang
2021-03-13 0:35 Mat Martineau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).