LISP Data-Plane Cryptography Draft-Ietf-Lisp-Crypto-01
Total Page:16
File Type:pdf, Size:1020Kb
LISP Data-Plane Cryptography draft-ietf-lisp-crypto-01 LISP Working Group - Prague IETF July 2015 Dino Farinacci & Brian Weis Document Status • Presented ideas in LISP WG at Vancouver fall 2013 • Seek advice from SAAG at Vancouver fall 2013 • Present -00 individual submission draft in London spring 2014 • lispers.net implementation spring 2014 • Present -01 and implementation • Toronto summer 2014 & Honolulu fall 2014 • Created working group draft -00 Jan 2015 • Presented update Dallas spring 2015 • Lots of technical discussion on key sizes, cipher suites, IVs, and ICVs • Led to -01 update in May 2015 where security expert added as co-author (Brian) 2 Design Overview • Diffie-Hellman exchange via Map-Request/Map-Reply • Keys not stored by third-party • Keys are ephemeral • ITR encrypt-n-encap -> ETR decap-n-decrypt • Rekeying part of RLOC-probing 3 What We Added in -01 • Initialization Vector (IV) to the start of payload • Integrity Check Verification (ICV) at end of payload • Use Authenticated Encryption with Additional Data (AEAD) • Have DH secret key as input to a KDF that produces an encryption-key and integrity-key • Add cipher suite values which are negotiated in the Map- Request/Map-Reply exchange 4 Packet Format 5 Implementation Status • lispers.net has a -01 implementation • Used ECDH instead of regular DH: • RFC5114 gx value from the “192-bit Random ECP Group” • Supports rekeying via RLOC-probing • Support for unidirectional encryption across NATs • RTR to xTR-behind NAT as well as xTR-behind-NAT to RTR 6 lisp-crypto Example plaintext ciphertext xTR1 NAT RTR Internet NAT xTR Home Network Cloud Provider EID 1.1.1.1 EID 5.5.5.5 key-exchange ping 7 lisp-crypto Key Exchange 8 lisp-crypto Encrypt/Decrypt plaintext xTR1 NAT RTR ciphertext RTR NAT xTR 9 Implementation Todo List • Key Related Testing • Larger keys, other ECDH groups, and other ciphers • Multi-key rekeying logic • Multi-Feature Testing • Test multicast in unicast encapsulation • Test with LISP-SEC • Interoperability Testing • Making a call for more implementations • How about lispmob and open source the code? 10 Questions? 11.