Designed with the needs of network programmers and administrators, this updated "Rust for Network Programming and Automation" explores network programming using Rust 1.68.
Starting with the fundamentals of TCP/IP, you will explore the core principles of network communication, such as data packet structure and transmission. The book cover important topics like IP addressing, subnetting, and gateway configuration, ensuring a thorough understanding of network fundamentals. The chapters focus on the key practical aspects of network programming, particularly the use of popular Rust libraries such as Tokio, Mio, and Rust-async for asynchronous network programming. These libraries are learned in detail, demonstrating how to create TCP listeners, bind sockets, and handle incoming connections.
Packet analysis is also important topics, which is also explored with practical examples using libraries like pnet and libtins. You will learn to capture, process, and analyze network packets for understanding of network traffic and identify potential problems. The book focuses on network and performance monitoring, teaching you to set up and use various tools to track network availability, utilization, latency, packet loss, and jitter. Understanding these metrics allows you to ensure optimal network performance and reliability. Cloud network configuration, VPN setup, and data center networking are also covered, thereby teaching you to manage and automate complex network environments.
Table of Content
- Basics of Network Automation
- Essentials of Linux for Networks
- Rust Basics for Networks
- Core Rust for Networks
- Rust Commands for Networks
- Programming & Designing Networks
- Establishing & Managing Network Protocols
- Packet & Network Analysis
- Network Performance Monitoring