Learning Python Networking
Second Edition
A complete guide to build and deploy strong networking capabilities using Python 3.7 and Ansible
Jos Manuel Ortega
Dr. M O Faruque Sarker
Sam Washington
BIRMINGHAM - MUMBAI
Learning Python NetworkingSecond Edition
Copyright 2019 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Commissioning Editor: Vijin Boricha
Acquisition Editor: Akshay Jethani
Content Development Editor: Drashti Panchal
Technical Editor: Rutuja Patade
Copy Editor: Safis Editing
Project Coordinator: Nusaiba Ansari
Proofreader: Safis Editing
Indexer: Manju Arasan
Graphics: Tom Scaria
Production Coordinator: Tom Scaria
First published: June 2015
Second edition: March 2019
Production reference: 1280319
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78995-809-6
www.packtpub.com
mapt.io
Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.
Why subscribe?
Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals
Improve your learning with Skill Plans built especially for you
Get a free eBook or video every month
Mapt is fully searchable
Copy and paste, print, and bookmark content
Packt.com
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.
At www.packt.com , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.
Contributors
About the authors
Jos Manuel Ortega is a software engineer, focusing on new technologies, open source, security, and testing. His career goal has been to specialize in Python and security testing projects. In recent years, he has developed an interest in security development, especially in pentesting with Python. Currently, he is working as a security tester engineer and his functions in the role involves the analysis and testing of the security of applications in both web and mobile environments. He has taught at university level and collaborated with the official school of computer engineers. He has also been a speaker at various conferences. He is eager to learn about new technologies and loves to share his knowledge with the community.
I would like to thank my friends and family for their help in both the professional and personal fields of my life. I would specially like to thank Akshay Jethani (acquisition editor at Packt Publishing) and Drashti Panchal (content development editor at Packt Publishing) for supporting me during the course of completing this book.
Dr. M. O. Faruque Sarker is a software architect based in London; he has shaped various Linux and open source software solutions mainly on cloud computing platforms for various institutions. Over the past 10 years, he has led numerous Python software development and cloud infrastructure automation projects. In 2009, he started using Python and shepherded a fleet of miniature E-puck robots at the University of South Wales, Newport, UK. Later, he was invited to work on the Google Summer of Code (2009/2010) programs to contribute to the BlueZ and Tahoe-LAFS open source projects. He is the author of Python Network Programming Cookbook, Packt Publishing and received his PhD in multirobot systems at the University of South Wales.
Sam Washington currently works at University College London as a systems administrator in the platform integration team of the central IT department, supporting a variety of web hosting and network services. He enjoys the daily challenges of managing the demands of full-stack enterprise web applications and looking for ways to employ new technologies to improve services and workflows. He has been using Python for professional and personal projects for over 10 years.
About the reviewers
Bassem Aly is an experienced SDN/NFV senior solution consultant at Juniper Networks and has been working in the telco industry for the last decade. He focuses on designing and implementing next-generation networks by leveraging SDN, NFV, and different automation and DevOps frameworks. Also, he has extensive experience in architecting and deploying telco applications on the cloud. He's the author of book Hands-On Enterprise Automation with Python, available from Packt Publishing.
I dedicate this work to my nephews, Yasmina, Yara, Aly, Mohamed, and Jody, for the happiness and joy that they bring to our family. You are my small world!
Yakov Goldberg is a Masters-trained, InfoSec professional focusing on digital forensics, incident response (DFIR), and Advanced Persistent Threats. He has experience in advising, deploying customized security controls to Fortune Global 500 companies. He is also an expert in Python, Django framework, AngularJS, ELK stack, reversing malware, and conducting threat Intelligence research. In 2008, Yakov developed his first Python web recon tool named Uberharvest, which was featured in the famous Backtrack (now known as Kali). Over the years, he has worked at Mandiant, the International Monetary Fund and TrapX, focusing on DFIR Today, Yakov is a Digital Forensics and Threat Intelligence Director at enSilo and has CISSP, GIAC GCFA, and CompTIA Sec+ certs.
Packt is searching for authors like you
If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.
Next page