Cryptographic Security of SSH Encryption Schemes

Total Page:16

File Type:pdf, Size:1020Kb

Cryptographic Security of SSH Encryption Schemes Cryptographic Security of SSH Encryption Schemes Torben Brandt Hansen Thesis submitted to the University of London for the degree of Doctor of Philosophy Department of Information Security Royal Holloway, University of London 2020 Declaration These doctoral studies were conducted under the supervision of Prof. Kenneth G. Paterson. The work presented in this thesis is the result of original research carried out by myself, in collaboration with others, whilst enrolled in the Department of Information Security as a candidate for the degree of Doctor of Philosophy. This work has not been submitted for any other degree or award in any other university or educational establishment. Torben Brandt Hansen November, 2020 2 Acknowledgements A grateful thanks to Kenny Paterson for his great supervision and supporting my non- academic endeavours during my Ph.D. Even more for his mentorship and for pushing me to develop and improve my academic skills; it is impossible to leave Kenny's office without learning something new and exciting. And, not least, thank you for your dedicated attempts to cryptographically hides my silly grammar mistakes. Also a special thanks to my advisor Martin Albrecht for always providing support and great collaborations. Thank you to Royal Holloway and EPSRC for providing the funding, allowing me to pursue a Ph.D. and for given me many opportunities to explore the real world. Most importantly, I am in debt to Aeriel for supporting me through my Ph.D. and encouraging me to pursue my dreams. Mahal Kita 3 Abstract SSH is a Swiss Army Knife protocol for creating secure communication links between machines and an indispensable tool for IT professionals. However, its underlying symmetric encryption scheme constructions have not seen the same rigorous analysis as constructions in other popular secure communication protocols. This thesis aims to bridge this gap, providing SSH deployment statistics, new attacks against a number of SSH encryption schemes, a thorough security analysis of several SSH encryption schemes, and development of new SSH encryption schemes that provide better security properties than existing schemes. Firstly, we report on several scans performed targeting publicly accessible SSH servers on the Internet. From these scans, we compile longitudinal SSH statistics evaluating the evolution of preferred SSH encryption scheme, SSH software and SSH version trends. Secondly, we describe several new attacks on SSH encryption schemes in OpenSSH that utilise the CBC encryption mode of operation. These attacks are a result of both inherent weaknesses in CBC-mode and bugs in the OpenSSH implementation. Thirdly, we use the ciphertext fragmentation framework to analyse the concrete cryptographic security of a number of SSH encryption schemes as implemented in OpenSSH. Finally, we develop a practical version of the symmetric encryption scheme InterMAC, implement it and evaluate its security and performance. The implementation is then used to construct InterMAC-based SSH encryption schemes. We evaluate the performance of these new schemes against existing SSH encryption schemes in OpenSSH. 4 Contents 1 Introduction 13 1.1 Motivation . 13 1.2 Vulnerability Disclosure . 16 1.3 Organisation of Thesis . 16 1.4 Associated Publications . 17 2 Background 19 2.1 Notation . 19 2.2 Bits vs Bytes . 21 2.3 Modern Cryptography . 22 2.3.1 Concrete Security . 22 2.3.2 Proofs and Security Notions . 23 2.3.3 Pseudorandom Functions . 24 2.3.4 Probabilistic Symmetric Encryption . 25 2.3.5 IV-based and Nonce-based Symmetric Encryption . 33 2.3.6 Block Ciphers . 37 2.3.7 Message Authentication . 39 2.4 SSH . 43 2.4.1 SSH Implementations . 44 2.4.2 SSH Binary Packet Protool . 45 3 Ciphertext Fragmentation 51 3.1 On the Choice of Security Model . 51 3.2 Syntax . 53 3.3 Correctness . 55 3.3.1 Alternative Correctness Definitions . 57 3.4 Confidentiality . 57 3.5 Authenticity . 59 3.6 Boundary Hiding . 60 3.7 Denial-of-Service . 65 3.8 A Deficient Definition of Confidentiality . 66 3.9 A Critique of the Active Boundary Hiding Security Property . 68 3.10 Related Security Models . 69 3.10.1 Stateful Symmetric Encryption . 69 3.10.2 Formal Security Treatment of SSH Encryption Schemes in CTR-mode . 70 3.10.3 On-line Symmetric Encryption . 70 3.10.4 Stream-based Channel . 72 5 CONTENTS 4 The SSH Ecosystem on the Internet 74 4.1 Ethical Considerations . 74 4.2 Data Set . 74 4.3 SSH Deployment Statistics . 76 4.3.1 SSH Implementations and Versions Statistics in the 2019 Scan 76 4.3.2 Evolution in SSH Implementations and Versions . 77 4.4 SSH Encryption Scheme Statistics . 78 4.4.1 Default SSH Encryption Schemes Preferences . 78 4.4.2 SSH Encryption Scheme Diversity . 80 4.4.3 Evolution in SSH Encryption Scheme Preferences . 80 4.5 CBC-mode Vulnerabilities . 81 4.5.1 OpenSSH . 82 4.5.2 Dropbear . 83 4.6 Less Frequent SSH Software Identifiers . 84 4.6.1 Cisco . 84 4.6.2 ROSSSH . 86 4.6.3 XXXX . 86 4.6.4 AWS SFTP 1.0 . 87 4.7 Noticeable Findings . 87 4.7.1 Age of Actively Used SSH Software . 87 4.7.2 SSH Encryption Schemes . 89 4.7.3 Vulnerable Servers . 90 5 Attacks on SSH's CBC-mode 91 5.1 The Albrecht-Paterson-Watson Attack . 91 5.1.1 Applying the Albrecht-Paterson-Watson attack to Dropbear . 93 5.1.2 OpenSSH Patch against Albrecht-Paterson-Watson Attack . 94 5.2 Timeline of New Attacks . 97 5.3 First Attack on OpenSSH CBC-mode . 97 5.3.1 Intuition . 97 5.3.2 The Bug . 98 5.3.3 Exploiting the Bug . 100 5.3.4 OpenSSH Patch against Attack One . 100 5.4 Second Attack on OpenSSH CBC-mode . 101 5.4.1 Intuition . 101 5.4.2 Description . 101 5.4.3 OpenSSH Patch against Attack Two . 103 5.5 Third Attack on OpenSSH CBC-mode . 103 5.5.1 Intuition . 103 5.5.2 Description . 104 5.5.3 OpenSSH Patch against Attack Three . 105 5.6 Experimental Results . 105 5.7 Extensions and Variants of Attack Two and Three . 106 5.8 Practical Impact, Mitigations and Recommendations . 108 6 Concrete Security of SSH Encryption Schemes 109 6.1 Modelling the OpenSSH Code . 109 6 CONTENTS 6.2 Adversary Resources Considered . 111 6.3 SSH-ChaCha20-Poly1305 in OpenSSH . 112 6.4 SSH-Generic-EtM in OpenSSH . 121 6.4.1 SSH-Fixed-Generic-EtM and IV-based Encryption . 129 6.5 SSH-AES-GCM in OpenSSH . 131 6.6 Boundary Hiding and DoS . 136 7 An Improved SSH Encryption Scheme 142 7.1 Weaknesses in SSH Encryption Schemes . 142 7.2 InterMAC . 143 7.2.1 Original InterMAC . 143 7.2.2 Modified InterMAC . 146 7.2.3 Security Analysis of IM ..................... 148 7.3 libInterMAC ................................ 155 7.3.1 Design Principles . 156 7.3.2 State Management . 157 7.3.3 Internal Nonce Construction . 157 7.4 Supported Nonce-based Symmetric Encryption Schemes . 157 7.4.1 ChaCha20-Poly1305 ........................ 158 7.4.2 AES-GCM ............................. 159 7.4.3 Why ChaCha20-Poly1305 and AES-GCM?........... 159 7.5 libInterMAC Data Limits . 160 7.5.1 ChaCha20-Poly1305 Data Limit Analysis . 161 7.5.2 AES-GCM Data Limit Analysis . 162 7.6 Side-Channels . 162 7.6.1 Constant-time Padding Removal . 163 7.6.2 Memory Allocation for InterMAC Decryption . 165 7.7 Performance Evaluation . 166 7.8 IM-based SSH Encryption Scheme in OpenSSH . 170 7.8.1 Implementation Details . 171 7.9 Performance of IM for Secure File Transfers . 173 8 Concluding Remarks 179 Bibliography 182 7 List of Figures 2.1 Algorithms for defining IND-CPA..................... 28 2.2 Algorithms for defining IND-CCA..................... 29 2.3 Algorithms for defining IND$-CPA.................... 30 2.4 Algorithms for defining INT-PTXT.................... 30 2.5 Algorithms for defining INT-CTXT.................... 31 2.6 Algorithms for defining AE........................ 33 2.7 Algorithms for defining ivE........................ 37 2.8 Algorithms for defining nAE....................... 38 2.9 MAC verification algorithm. 40 2.10 Algorithms for defining UF-CMA..................... 41 2.11 Algorithms for defining SUF-CMA.................... 42 2.12 SSH BPP packet layout. 46 2.13 Scope of encryption and authentication for SSH BPP packets. 46 3.1 Fragment f1 consisting of ciphertexts c1 = (1), c2 = (2) and part of ciphertext c3 = (34)............................ 53 3.2 Fragments f1 and f2 consisting of ciphertext fragments of ciphertext c1 = (1234)................................. 53 3.3 Fragment f1 consisting of ciphertexts c1 = (12), c2 = (345) and c3 = (6). 56 3.4 Fragments f1, f2 and f3 consisting of ciphertexts c1 = (12), c2 = (345) and c3 = (6) (respectively), where ciphertext boundaries coincide with fragment boundaries. 56 3.5 Fragments f1 and f2 consisting of ciphertexts c1 = (12) and c2 = (3). 56 3.6 Fragments f1 and f2 consisting of ciphertext c1 = (123) and extra data (40).................................. 57 3.7 Algorithms for defining IND-sfCFA advantage. 58 3.8 Algorithms for defining INT-sfCTF advantage. 60 3.9 Algorithms for defining BH-CPA and BH-sfCFA advantage. 62 3.10 Algorithms for defining DOS-sfCFA advantage. 66 3.11 The decryption oracle used in the deficient IND-sfCFA notion in [36]. 67 6.1 Cryptographic processing of an SSH BPP packet using the SSH en- cryption scheme SSH-ChaCha20-Poly1305. k1 and k2 represent the two 32-byte keys extracted from the 64-byte key. The size ratios between the boxes do not represent the size ratios between fields in a SSH BPP packet in general. 113 8 LIST OF FIGURES 6.2 The OpenSSH encryption scheme SSH-Generic-EtM prior to version 7.3 did not implement a true Encrypt-then-MAC construction.
Recommended publications
  • ECE 435 – Network Engineering Lecture 4
    ECE 435 { Network Engineering Lecture 4 Vince Weaver http://web.eece.maine.edu/~vweaver [email protected] 13 September 2018 Announcements • HW#1 was due. • HW#2 will be posted. Write a mini webserver. • Cybersecurity club Linux Security Lab on Saturday 1 WWW wrapup 2 What if Server Overloaded? • Slashdot effect (modern: HackerNews?) • caching/proxy { squid • Content Delivery Network { akami • Server farms 3 Security • SSL { Secure Socket Layer • Replaced by TLS (Transport Layer Security) • Port 443 for https • Public key encryption. 4 Setting Up a Web-server • Apache • Easy to do, more difficult to secure 5 Web Seach • Web-bots index the web. robots.txt file • Altavista, Hotbot, Excite, Inktomi, etc. • Curated search like Yahoo (people organize links rather than automatically search) • Google (1996 some machine in Stanford, 1997-1998) • MSN search 1999, rebranded Microsoft Bing 2009 6 Remote Connections 7 telnet/rlogin/rsh/ssh • telnet { login to remote system (tcp port 23) everything (including passwords) sent in plain text • rsh/rlogin { remote shell, remote login. (tcp port 514) Didn't even need password, could configure to let you run commands on remote machine. Security based if you had same username on both machines, assumption was getting root on a UNIX machine and connected to Ethernet was expensive/difficult 8 SSH secure shell • tcp port 22 • can login, run commands, tunnel tcp/ip, tunnel X11, file transfer (scp, sftp) • Large number of RFCs • Version 1: 1995, originally freeware but became private • Version 2: 2005, openBSD based on last free version • For security reasons there's a push to drop Version 1 • uses public-key cryptography • transport layer: arranges initial key exchange, server 9 authentication, key re-exchange • user authentication layer: can have password, or can set up keys to allow passwordless, DSA or RSA key pairs • connection layer: set up channels • lots of encryption types supported, old ones being obsoleted as found wanting • Various ssh servers/clients.
    [Show full text]
  • Authenticated Encryption in SSH
    Authenticated Encryption in SSH Kenny Paterson Information Security Group @kennyog; www.isg.rhul.ac.uk/~kp Overview (both lectures) • Secure channels and their properties • AEAD (revision) • AEAD ≠ secure channel – the [APW09] attack on SSH • The state of AEAD in SSH today • A new attack on CBC-mode in OpenSSH • Security analysis of other SSH and OpenSSH modes – CTR, ChaChaPoly, gEtM, AES-GCM. 2 Secure channels and their properties Why do we need secure channels? • Secure communications is the most common real- world application of cryptography today. • Secure communications systems are extremely widely-deployed in practice: • SSL/TLS, DTLS, IPsec, SSH, OpenVPN,… • WEP/WPA/WPA2 • GSM/UMTS/4g/LTE • Cryptocat, OTR, SilentCircle • OpenPGP, iMessage, Telegram, Signal, and a thousand other messaging apps • QUIC, MinimalT, TCPcrypt 4 Security properties • Confidentiality – privacy for data • Integrity – detection of data modification • Authenticity – assurance concerning the source of data 5 Some less obvious security properties • Anti-replay • Detection that messages have been repeated. • Detection of deletion • Detection that messages have been deleted by the adversary or dropped by the network. • Detection of re-0rdering • Ensuring that the relative order of messages in each direction on the secure channel is preserved. • Possibly re-ordering the event of violation. • Prevention of traffic-analysis. • Using traffic padding and length-hiding techniques. 6 Possible functionality requirements • Speedy • Low-memory • On-line/parallelisable crypto-operations • Performance is heavily hardware-dependent. • May have different algorithms for different platforms. • IPR-friendly • This issue has slowed down adoption of many otherwise good algorithms, e.g. OCB. • Easy to implement • Without introducing any side-channels.
    [Show full text]
  • Wind River® Vxworks® 7 Third Party License Notices
    Wind River® VxWorks® 7 Third Party License Notices This document contains third party intellectual property (IP) notices for the BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY Wind River® VxWorks® 7 distribution. Certain licenses and license notices THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, may appear in other parts of the product distribution in accordance with the OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN license requirements. ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Trademarks All company, product and service names used in this software are for ACPICA identification purposes only. Version: 20170303 Component(s): Runtime Wind River and VxWorks are registered trademarks of Wind River Systems. Description: Provides code to implement ACPI specification in VxWorks. UNIX is a registered trademark of The Open Group. IBM and Bluemix are registered trademarks of the IBM Corporation. NOTICES: All other third-party trademarks are the property of their respective owners. 1. Copyright Notice Some or all of this work - Copyright (c) 1999 - 2016, Intel Corp. All rights reserved. Third Party Notices 2. License 2.1. This is your license from Intel Corp. under its intellectual property rights. You may have additional license terms from the party that provided you this software, covering your right to use that party's intellectual property rights. 64-Bit Dynamic Linker Version: 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a copy Component(s): Runtime of the source code appearing in this file ("Covered Code") an irrevocable, Description: The dynamic linker is used to load shared libraries.
    [Show full text]
  • Detection and Analysis of Tor Onion Services
    Detection and Analysis of Tor Onion Services Martin Steinebach1;∗, Marcel Schäfer2, Alexander Karakuz and Katharina Brandl1 1Fraunhofer SIT, Germany 2Fraunhofer USA CESE E-mail: [email protected] ∗Corresponding Author Received 28 November 2019; Accepted 28 November 2019; Publication 23 January 2020 Abstract Tor onion services can be accessed and hosted anonymously on the Tor network. We analyze the protocols, software types, popularity and uptime of these services by collecting a large amount of .onion addresses. Websites are crawled and clustered based on their respective language. In order to also determine the amount of unique websites a de-duplication approach is implemented. To achieve this, we introduce a modular system for the real-time detection and analysis of onion services. Address resolution of onion services is realized via descriptors that are published to and requested from servers on the Tor network that volunteer for this task. We place a set of 20 volunteer servers on the Tor network in order to collect .onion addresses. The analysis of the collected data and its comparison to previous research provides new insights into the current state of Tor onion services and their development. The service scans show a vast variety of protocols with a significant increase in the popularity of anonymous mail servers and Bitcoin clients since 2013. The popularity analysis shows that the majority of Tor client requests is performed only for a small subset of addresses. The overall data reveals further that a large amount of permanent services provide no actual content for Tor users. A significant part consists instead of bots, services offered via multiple domains, or duplicated websites for phishing Journal of Cyber Security and Mobility, Vol.
    [Show full text]
  • SECUMOBI SERVER Technical Description
    SECUMOBI SERVER Technical Description Contents SIP Server 3 Media Relay 10 Dimensioning of the Hardware 18 SIP server 18 Media Proxy 18 Page 2 of 18 SIP Server Operatingsystem: Debian https://www.debian.org/ Application: openSIPS http://www.opensips.org/ OpenSIPS is built and installed from source code. The operating system is installed with the following packages: Package Description acpi displays information on ACPI devices acpi-support-base scripts for handling base ACPI events such as the power button acpid Advanced Configuration and Power Interface event daemon adduser add and remove users and groups anthy-common input method for Japanese - common files and dictionary apt Advanced front-end for dpkg apt -utils APT utility programs aptitude terminal-based package manager (terminal interface only) autopoint The autopoint program from GNU gettext backup -manager command -line backup tool base-files Debian base system miscellaneous files base-passwd Debian base system master password and group files bash The GNU Bourne Again SHell bc The GNU bc arbitrary precision calculator language binutils The GNU assembler, linker and binary utilities bison A parser generator that is compatible with YACC bsdmainutils collection of more utilities from FreeBSD bsdutils Basic utilities from 4.4BSD-Lite build -essential Informational list of build -essential packages busybox Tiny utilities for small and embedded systems bzip2 high-quality block-sorting file compressor - utilities ca-certificates Common CA certificates console-setup console font and keymap
    [Show full text]
  • A History of Cyber Security Attacks 1980 to Present a History of Cyber Security Attacks 1980 to Present
    A History of Cyber Security Attacks 1980 to Present http://taylorandfrancis.com A History of Cyber Security Attacks 1980 to Present Bruce Middleton CRC Press Taylor & Francis Group 6000 Broken Sound Parkway NW, Suite 300 Boca Raton, FL 33487-2742 © 2017 by Taylor & Francis Group, LLC CRC Press is an imprint of Taylor & Francis Group, an Informa business No claim to original U.S. Government works Printed on acid-free paper International Standard Book Number-13: 978-1-4987-8586-0 (Hardback) This book contains information obtained from authentic and highly regarded sources. Reasonable efforts have been made to publish reliable data and information, but the author and publisher cannot assume responsibility for the validity of all materials or the consequences of their use. The authors and publishers have attempted to trace the copyright holders of all material reproduced in this publication and apologize to copyright holders if permission to publish in this form has not been obtained. If any copyright material has not been acknowledged please write and let us know so we may rectify in any future reprint. Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, trans- mitted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying, microfilming, and recording, or in any information storage or retrieval system, without written permission from the publishers. For permission to photocopy or use material electronically from this work, please access www.copyright .com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc.
    [Show full text]
  • Mining Your Ps and Qs: Detection of Widespread Weak Keys in Network Devices
    To appear in Proceedings of the 21st USENIX Security Symposium, August 2012. Initial public release; July 2, 2012. For the newest revision of this paper, partial source code, and our online key-check service, visit https://factorable.net. Mining Your Ps and Qs: Detection of Widespread Weak Keys in Network Devices † ‡ ‡ ‡ Nadia Heninger ∗ Zakir Durumeric ∗ Eric Wustrow J. Alex Halderman † University of California, San Diego ‡ The University of Michigan [email protected] {zakir, ewust, jhalderm}@umich.edu Abstract expect that today’s widely used operating systems and RSA and DSA can fail catastrophically when used with server software generate random numbers securely. In this malfunctioning random number generators, but the extent paper, we test that proposition empirically by examining to which these problems arise in practice has never been the public keys in use on the Internet. comprehensively studied at Internet scale. We perform The first component of our study is the most compre- the largest ever network survey of TLS and SSH servers hensive Internet-wide survey to date of two of the most and present evidence that vulnerable keys are surprisingly important cryptographic protocols, TLS and SSH (Sec- widespread. We find that 0.75% of TLS certificates share tion 3.1). By scanning the public IPv4 address space, keys due to insufficient entropy during key generation, we collected 5.8 million unique TLS certificates from and we suspect that another 1.70% come from the same 12.8 million hosts and 6.2 million unique SSH host keys faulty implementations and may be susceptible to com- from 10.2 million hosts.
    [Show full text]
  • Measuring and Securing Cryptographic Deployments
    University of Pennsylvania ScholarlyCommons Publicly Accessible Penn Dissertations 2019 Measuring And Securing Cryptographic Deployments Luke Taylor Valenta University of Pennsylvania, [email protected] Follow this and additional works at: https://repository.upenn.edu/edissertations Part of the Computer Sciences Commons Recommended Citation Valenta, Luke Taylor, "Measuring And Securing Cryptographic Deployments" (2019). Publicly Accessible Penn Dissertations. 3507. https://repository.upenn.edu/edissertations/3507 This paper is posted at ScholarlyCommons. https://repository.upenn.edu/edissertations/3507 For more information, please contact [email protected]. Measuring And Securing Cryptographic Deployments Abstract This dissertation examines security vulnerabilities that arise due to communication failures and incentive mismatches along the path from cryptographic algorithm design to eventual deployment. I present six case studies demonstrating vulnerabilities in real-world cryptographic deployments. I also provide a framework with which to analyze the root cause of cryptographic vulnerabilities by characterizing them as failures in four key stages of the deployment process: algorithm design and cryptanalysis, standardization, implementation, and endpoint deployment. Each stage of this process is error-prone and influenced by various external factors, the incentives of which are not always aligned with security. I validate the framework by applying it to the six presented case studies, tracing each vulnerability back to communication
    [Show full text]
  • Where's Crypto?: Automated Identification and Classification Of
    Where’s Crypto?: Automated Identification and Classification of Proprietary Cryptographic Primitives in Binary Code Carlo Meijer Veelasha Moonsamy Jos Wetzels Radboud University Ruhr University Bochum Midnight Blue Labs The Netherlands Germany The Netherlands [email protected] [email protected] [email protected] Abstract procurement or individual research since it requires resorting to highly labor-intensive reverse-engineering in order to deter- The continuing use of proprietary cryptography in embed- mine the presence and nature of these algorithms before they ded systems across many industry verticals, from physical can be evaluated. In addition, when a proprietary algorithm access control systems and telecommunications to machine- gets broken, details might not be published immediately as to-machine authentication, presents a significant obstacle a result of NDAs or court injunctions [5] leaving other po- to black-box security-evaluation efforts. In-depth security tentially affected parties to repeat such expensive efforts and analysis requires locating and classifying the algorithm in hampering effective vulnerability management. As such, there often very large binary images, thus rendering manual inspec- is a real need for practical solutions to automatically scan bi- tion, even when aided by heuristics, time consuming. naries for the presence of as-of-yet unknown cryptographic In this paper, we present a novel approach to automate algorithms. the identification and classification of (proprietary) crypto- graphic primitives within binary code. Our approach is based Criteria In order to support the analysis of closed-source on Data Flow Graph (DFG) isomorphism, previously pro- embedded systems for the use of proprietary cryptography, posed by Lestringant et al.
    [Show full text]
  • Dynamic Hardware Acceleration of Vnfs in NFV Environments*
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Ghent University Academic Bibliography Dynamic hardware acceleration of VNFs in NFV environments* Gourav Prateek Sharma, Wouter Tavernier, Didier Colle, Mario Pickavet Ghent University - IMEC, IDLab, Department of Information Technology Ghent, Belgium [email protected] Abstract—In this paper, we describe a scheme for dynamically provisioning accelerator resources to virtual network functions (VNF) in an NFV environment. The scheme involves collab- oration between various NFV components like service-specific manager (SSM) and element-management-systems (EMSs) for the management of accelerator resources. Accelerator resources are dynamically allocated to VNFs based on their resource usage information. We present the performance comparison of non-accelerated and accelerated SSH-client VNFs. We also demonstrate switching of accelerator resources between the concurrently running SSH-tunnels which is triggered by a change in the nature of the data traffic flowing through SSH-tunnels. Index Terms—NFV, FPGA, accelerator, hardware, SSH, tun- neling, SSM Fig. 1. ETSI’s reference architecture for NFV. I. INTRODUCTION Network services are conventionally deployed using special- The flexible and scalable hardware-acceleration of multiple ized and proprietary hardware appliances called middleboxes. VNFs in an NFV environment is still a challenge. Moreover, The objective of Network function virtualization (NFV) is as hardware-accelerator resources are limited, an efficient to decouple the packet-processing functionality of these mid- allocation strategy is required in order to integrate them in dleboxes from the underlying hardware so that standard IT the NFV environment. Different components of the NFV virtualization technologies can be utilized to execute network reference architecture, proposed by the ETSI, are depicted in functions on general-purpose x86 or ARM servers.
    [Show full text]
  • ECE 435 – Network Engineering Lecture 5
    ECE 435 { Network Engineering Lecture 5 Vince Weaver http://web.eece.maine.edu/~vweaver [email protected] 11 February 2021 Announcements • HW#2 due Friday. • HW#3 will be posted. Involves e-mail headers and encryption (which we won't finish covering until Tuesday) 1 Homework #2 Notes • If connecting on same machine, can use localhost if over network, must use IP address. Can find this various ways (ip addr on Linux) • If browser confused, be sure you aren't sending extra zeros. strlen() is your friend • Debugging? strace, tcpdump • If getting segfaults, try using gdb 2 Remote Connections 3 telnet/rlogin/rsh/ssh • telnet { login to remote system (tcp port 23) everything (including passwords) sent in plain text • rsh/rlogin { remote shell, remote login. (tcp port 514) Didn't even need password, could configure to let you run commands on remote machine. Security based if you had same username on both machines, assumption was getting root on a UNIX machine and connected to Ethernet was expensive/difficult 4 SSH secure shell • tcp port 22 • can login, run commands, tunnel tcp/ip, tunnel X11, file transfer (scp, sftp) • Large number of RFCs • Version 1: 1995, originally freeware but became private • Version 2: 2005, openBSD based on last free version • For security reasons there's a push to drop Version 1 • uses public-key cryptography • transport layer: arranges initial key exchange, server 5 authentication, key re-exchange • user authentication layer: can have password, or can set up keys to allow passwordless, DSA or RSA key pairs • connection layer: set up channels • lots of encryption types supported, old ones being obsoleted as found wanting • Various ssh servers/clients.
    [Show full text]
  • Document in Edge and Vertx Web Instructions Bulleted 2012.12.04.01-2
    Third Party and Open Source Software for HID Products Some HID Products contain software components, including open source software, which are licensed from third parties. The following is a list of such components and the additional copyright notices and license terms that apply to those components. Except as modified expressly by the additional terms and conditions below, the terms of HID’s end user license agreement distributed with the HID Product shall continue to apply to the HID Products. The list is organized in two parts. The first part lists alphabetically certain third party software components incorporated in HID Products which have additional copyright notices and license terms and conditions. The second part lists additional open source components incorporated in HID Products which also have additional copyright notice and license terms conditions, and for which HID is required to make the source code components of such open source components available upon request in accordance with the third party license (e.g. GPL and LGPL licensed from GNU). Both lists denote the HID products in which such component is included under the heading “HID Products” and a description of whether the component was modified by HID or not under the heading “Status.” PART I: ADDITIONAL THIRD PARTY LICENSE TERMS A7BOOTLOADER Component A7bootloader Status Not modified by HID License Text * Copyright (c) 2006, Atmel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the disclaimer below.
    [Show full text]