Skip to contentSkip to conversation

Feedback to the IETF

MPTCP Christoph Paasch 4 participants 6 messages Nov 20, 2019 Networking MPTCP

lore
Share & tools
lore

Christoph Paasch

author
#0 lore raw

Hello,

I have mentioned to the IETF that the upstreaming effort brought forward some feedback,... to the IETF-draft.

Now, the draft is about to become an RFC very soon. Currently it is in the "RFC-Editor" stage, which is the last stage before official publication.

Ideally, we should get feedback to the IETF as soon as possible so that the working-group can make adjustements before publication. Otherwise, it would need to got through an "Errata" process which means to correct the published RFC.

So, let me try to compile a list of things that came up. Please correct or add anything:

Clarifying that the reception of a DATA_ACK means that the server successfully received the MP_CAPABLE (Text "If B has data to send first, then the reliable delivery of the ACK can be inferred by the receipt of this data with an MPTCP DATA_ACK inside the DSS option (Section 3.3).)

Should we vouch to disallow early or late DSS mappings that are covering a TCP-sequence space different than the packet they are being sent on (cfr., our discussion on/around September 25th)

ADD_ADDR-option size - last week we discussed this briefly and I replied by mail that the size-problem is actually for the non-Echo option. In that one there is no way to get around it and all the bits need to be presented. Do you agree on that?

Anything else?

Cheers,
Christoph

#1 lore raw
Quoted 1 line · Christoph Paasch

So, let me try to compile a list of things that came up. Please correct or add anything:

Thank you for doing this!

Quoted 5 lines

Clarifying that the reception of a DATA_ACK means that the server successfully received the MP_CAPABLE (Text "If B has data to send first, then the reliable delivery of the ACK can be inferred by the receipt of this data with an MPTCP DATA_ACK inside the DSS option (Section 3.3).)

Ack! :) Plus perhaps stating explicitly that client CAN send DSS instead of MP_CAPABLE + data len after the above.

Quoted 3 lines

Should we vouch to disallow early or late DSS mappings that are covering a TCP-sequence space different than the packet they are being sent on (cfr., our discussion on/around September 25th)

+1, this will simplify and clean-up the implementation, and I do not see benefit from supporting such mappings.

Quoted 4 lines

ADD_ADDR-option size - last week we discussed this briefly and I replied by mail that the size-problem is actually for the non-Echo option. In that one there is no way to get around it and all the bits need to be presented. Do you agree on that?

Sorry for the lack of feedback. I originally misread the RFC the other way, but the text is actually very clear.

To be 110% honest, I don't see why HMAC is needed here, assuming ADD_ADDR comes after MP_JOIN/MP_CAPABLE, we already authenticated both peers, and if an attacker can inject malicious TCP packets inside the stream we are at loss no matter what.

Thanks,

Paolo

author
#2 lore raw
Quoted 30 lines · Paolo Abeni
Quoted 1 line · Christoph Paasch

So, let me try to compile a list of things that came up. Please correct or add anything:

Thank you for doing this!

Quoted 5 lines

Clarifying that the reception of a DATA_ACK means that the server successfully received the MP_CAPABLE (Text "If B has data to send first, then the reliable delivery of the ACK can be inferred by the receipt of this data with an MPTCP DATA_ACK inside the DSS option (Section 3.3).)

Ack! :) Plus perhaps stating explicitly that client CAN send DSS instead of MP_CAPABLE + data len after the above.

Quoted 3 lines

Should we vouch to disallow early or late DSS mappings that are covering a TCP-sequence space different than the packet they are being sent on (cfr., our discussion on/around September 25th)

+1, this will simplify and clean-up the implementation, and I do not see benefit from supporting such mappings.

Quoted 4 lines

ADD_ADDR-option size - last week we discussed this briefly and I replied by mail that the size-problem is actually for the non-Echo option. In that one there is no way to get around it and all the bits need to be presented. Do you agree on that?

Quoted 7 lines

Sorry for the lack of feedback. I originally misread the RFC the other way, but the text is actually very clear.

To be 110% honest, I don't see why HMAC is needed here, assuming ADD_ADDR comes after MP_JOIN/MP_CAPABLE, we already authenticated both peers, and if an attacker can inject malicious TCP packets inside the stream we are at loss no matter what.

The problem here is that an attacker that is off-path would be able to get himself on-path with an ADD_ADDR-attack (described at https://tools.ietf.org/html/rfc7430#section-2 <https://tools.ietf.org/html/rfc7430#section-2>) and thus can observe all traffic. Sure, he still needs to guess sequence-numbers and port-numbers, but with a TCP-window of 2MB it is not all that hard.

That's why the IETF considered that attack serious enough to fix it.

I plan to send this list to the working-group by the end of the week. I keep you in CC. @all - please add anything else you can think of.

Cheers,
Christoph

Quoted 6 lines

Thanks,

Paolo

#3 lore raw

Hi Christoph,

Quoted 10 lines · Christoph Paasch
Quoted 10 lines

On Nov 20, 2019, at 5:15 PM, Paolo Abeni <pabeni(a)redhat.com <mailto:pabeni(a)redhat.com>> wrote:

Quoted 2 lines · Christoph Paasch

So, let me try to compile a list of things that came up. Please correct or add anything:

Thank you for doing this!

Thank you!

[...]

Quoted 2 lines

I plan to send this list to the working-group by the end of the week. I keep you in CC. @all - please add anything else you can think of.

I just added a topic about in the list of items to discuss at tomorrow's meeting.

Cheers,
Matt

Signature · 5 lines
Matthieu Baerts | R&D Engineer
matthieu.baerts(a)tessares.net
Tessares SA | Hybrid Access Solutions
www.tessares.net
1 Avenue Jean Monnet, 1348 Louvain-la-Neuve, Belgium
#4 lore raw
In reply to Christoph Paasch
Quoted 11 lines · Christoph Paasch
Quoted 4 lines · Paolo Abeni

To be 110% honest, I don't see why HMAC is needed here, assuming ADD_ADDR comes after MP_JOIN/MP_CAPABLE, we already authenticated both peers, and if an attacker can inject malicious TCP packets inside the stream we are at loss no matter what.

The problem here is that an attacker that is off-path would be able to get himself on-path with an ADD_ADDR-attack (described at
https://tools.ietf.org/html/rfc7430#section-2) and thus can observe all traffic. Sure, he still needs to guess sequence-numbers and port- numbers, but with a TCP-window of 2MB it is not all that hard.

Thanks for the pointer, now I think I understood the problem, and I can't see how to avoid it without HMAC :(

/P

#5 lore raw
In reply to Christoph Paasch
Quoted 10 lines · Christoph Paasch

Hello,
I have mentioned to the IETF that the upstreaming effort brought forward some feedback,... to the IETF-draft.

Now, the draft is about to become an RFC very soon. Currently it is in the "RFC-Editor" stage, which is the last stage before official publication.

Ideally, we should get feedback to the IETF as soon as possible so that the working-group can make adjustements before publication. Otherwise, it would need to got through an "Errata" process which means to correct the published RFC.

Quoted 8 lines

So, let me try to compile a list of things that came up. Please correct or add anything:

* Clarifying that the reception of a DATA_ACK means that the server successfully received the MP_CAPABLE (Text "If B has data to send first, then the reliable delivery of the ACK can be inferred by the receipt of this data with an MPTCP DATA_ACK inside the DSS option (Section 3.3).)

* Should we vouch to disallow early or late DSS mappings that are covering a TCP-sequence space different than the packet they are being sent on (cfr., our discussion on/around September 25th)

I think late DSS mappings should be disallowed. This would make it clear that unmapped data is to be discarded.

Allowing at most one early mapping would limit the implementation complexity and handle any coalescing of consecutive packets where the early part of the coalesced payload is covered by a previous mapping. If this coalescing is not something that actually happens in practice, then get rid of early mappings! Also, it would be a headache to have some implementations that allow one early mapping and some that ignore them.

It's also important that a DATA_FIN with a length-1 mapping (not covering any data payload) is not discarded when it arrives on a packet with an already-mapped TCP sequence space. While this isn't really an "early" mapping, it is a corner case to be aware of when processing mapping headers.

Quoted 4 lines

* ADD_ADDR-option size - last  week we discussed this briefly and I replied by mail that the size-problem is actually for the non-Echo option. In that one there is no way to get around it and all the bits need to be presented. Do you agree on that?

--
Mat Martineau
Intel