Post on 18-Dec-2015
TWAMP Features – TWAMP Features – Reflect OCTETS draftReflect OCTETS draft
draft-ietf-ippm-reflect-octets-01draft-ietf-ippm-reflect-octets-01Al Morton and Len Ciavattone Al Morton and Len Ciavattone
March, 2009March, 2009
22
2009, The year of New 2009, The year of New TWAMP FeaturesTWAMP Features
RFC 5357RFC 5357 Lots of implementationsLots of implementations New readers = New IdeasNew readers = New Ideas IPPM WG added this new feature IPPM WG added this new feature
to the charter in 2008to the charter in 2008
33
Refresh: TWAMP Entities Refresh: TWAMP Entities
controller responder +-----------------+ +-------------------+
| Control-Client |<--TWAMP-Control-->| Server |
| | | |
| Session-Sender |<--TWAMP-Test----->| Session-Reflector |
+-----------------+ +-------------------+
44
Reflect Octets in BOTH Control Reflect Octets in BOTH Control and Test Packetsand Test Packets
TWAMP-Control:TWAMP-Control:– Contol-Client Inserts 2 octets in Request-Contol-Client Inserts 2 octets in Request-
TW-SessionTW-Session– Server moves 2 octets from Request-Server moves 2 octets from Request-
TW-Session message to the Accept TW-Session message to the Accept (reply) message, and(reply) message, and
– Can Insert 2 Octets of its own,Can Insert 2 Octets of its own, and and– Learns the length (N) of padding in Test Learns the length (N) of padding in Test
packets that it will need to reflect.packets that it will need to reflect.– Length N < Overall Padding LengthLength N < Overall Padding Length
55
Reflect Octets in BOTH Control Reflect Octets in BOTH Control and Test Packets (2)and Test Packets (2)
TWAMP-Test: TWAMP-Test: – Session-Reflector moves N octets of the Session-Reflector moves N octets of the
Padding to the reflected Test packetPadding to the reflected Test packet Control-Client and Session-Sender Control-Client and Session-Sender
know what was put in, the format know what was put in, the format used, etc.used, etc.
Adds some possibilities for sendersAdds some possibilities for senders
66
Truncate Padding OptionTruncate Padding Option
TWAMP Test packet formats are:TWAMP Test packet formats are:– octets from Sender to Reflectoroctets from Sender to Reflector– octets from Reflector to Senderoctets from Reflector to Sender
Most want symmetrical sizes, so…Most want symmetrical sizes, so… TWAMP core spec RECOMMENDS TWAMP core spec RECOMMENDS
– Reflector reduce pad. to compensateReflector reduce pad. to compensate– Sender SHOULD add sufficient paddingSender SHOULD add sufficient padding
This feature makes the behavior above This feature makes the behavior above a selectable option (certain).a selectable option (certain).
Interaction w/ Reflect Octets OptionInteraction w/ Reflect Octets Option
77
Reflect Octets: New Modes Reflect Octets: New Modes Field ValuesField Values
Value Description Reference/ExplanationValue Description Reference/Explanation ...... 8 Unauth. TEST protocol, new bit position (3)8 Unauth. TEST protocol, new bit position (3) Encrypted CONTROLEncrypted CONTROL---------------------------------------------------------------------------------------------------------------- xxx Reflect Octets new bit position (X)xxx Reflect Octets new bit position (X) CapabilityCapability yyy Truncate Padding new bit position (Y)yyy Truncate Padding new bit position (Y) CapabilityCapability
88
TWAMP Control: Request-TW-Session CommandTWAMP Control: Request-TW-Session Command
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| 5 | MBZ | IPVN | Conf-Sender | Conf-Receiver |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| Number of Schedule Slots |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+. ... Many fields not shown ...+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| Padding Length |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+. ... Two fields not shown ...| |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| Type-P Descriptor |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| Octets to be reflected | Length of padding to reflect | was MBZ+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| MBZ (4 octets) |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| || HMAC (16 octets) || || |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
99
TWAMP Control: Accept-Session CommandTWAMP Control: Accept-Session Command
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| Accept | MBZ | Port |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| || SID (16 octets) || || |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| Reflected octets | Server Octets |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| MBZ (8 octets) || |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| || HMAC (16 octets) || || |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1010
Reflect Packet Padding: TWAMP Test Sender packetReflect Packet Padding: TWAMP Test Sender packet
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sequence Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Timestamp | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Error Estimate | MBZ (2 octets) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Packet Padding (to be reflected) | . (length in octets specified elsewhere) . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+. .. Additional Packet Padding .. . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1111
Reflect Octets: TWAMP Test Reflector packetReflect Octets: TWAMP Test Reflector packet
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sequence Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Timestamp | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Error Estimate | MBZ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Receive Timestamp | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sender Sequence Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sender Timestamp | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sender TTL | Packet Padding (from Session-Sender) | +-+-+-+-+-+-+-+-+ + . . . Packet Padding (from Session-Sender) . + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | +-+-+-+-+-+-+-+-+ + . Additional Packet Padding . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1212
Question for IPPMQuestion for IPPM Would a minimum re-write, no Would a minimum re-write, no
truncation format be desirable?truncation format be desirable?
Server Info Fields
Sender -> Reflector
Padding to be Reflected
Additional Padding
Reflector Info Fields
Reflector -> Sender
Reflected Padding
Additional Padding
Truncated Padding
Snd TTL
Server Info Fields
1313
Question for IPPM (2)Question for IPPM (2) OR, Should we deal with the un-even boundaries OR, Should we deal with the un-even boundaries
and the truncation issue using NEW Test Packet and the truncation issue using NEW Test Packet Formats that specify the Reflected Padding?Formats that specify the Reflected Padding?
Sender -> Reflector
Padding to be Reflected
Additional Padding
Reflector -> Sender
Reflected Padding
Additional Padding
Fill for Discard
Snd TTL MBZ
Server Info Fields
Reflector Info Fields
Server Info Fields
TLV Format ?
1414
Next StepsNext Steps
We need a conclusive discussion We need a conclusive discussion before major surgery on the draft to before major surgery on the draft to try new Test Formatstry new Test Formats
You can appreciate some of the You can appreciate some of the simplification possible IF you read simplification possible IF you read the current draft (length rules).the current draft (length rules).
Comments on all aspects Comments on all aspects appreciated, Authors are appreciated, Authors are fullyfully satisfied with the TWAMP-Control satisfied with the TWAMP-Control modifications…modifications…