Rust for Network Programming and Automation, Second Edition

Stew, Gilbert

  • 出版商: Gitforgits
  • 出版日期: 2024-06-14
  • 售價: $2,740
  • 貴賓價: 9.5$2,603
  • 語言: 英文
  • 頁數: 296
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 8119177347
  • ISBN-13: 9788119177349
  • 相關分類: Rust 語言
  • 海外代購書籍(需單獨結帳)

商品描述

Designed with the needs of those interested in network programming and automation in mind, this updated "Rust for Network Programming and Automation" explores the realism of network programming using Rust 1.68. The book covers important topics like IP addressing, subnetting, and gateway configuration, ensuring a thorough understanding of network fundamentals. The chapters cover the use of popular Rust libraries such as Tokio, Mio, and Rust-async for asynchronous network programming. These libraries are thoroughly examined, demonstrating how to create TCP listeners, bind sockets, and handle incoming connections efficiently.


Packet manipulation and analysis are also important topics, with practical examples using libraries like pnet and libtins. You will learn how to capture, process, and analyze network packets to gain an understanding of network traffic and identify potential problems. The book also focuses on network and performance monitoring, showing you how 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 thoroughly covered, providing the necessary knowledge to manage and automate complex network environments.

Key Learnings
    Become fluent in the fundamentals of Rust-based TCP/IP programming.Use the pnet and libtins libraries to capture and analyze packets in depth.Use the Rust-async, Tokio, and Mio libraries to program asynchronous networks efficiently.Be well-versed in IP addressing, subnetting, and configuring gateways to assure a secure network installation.Learn to use Rust and OpenVPN to set up VPN connections and monitoring network availability, latency, and packet loss.Use packet analysis and monitoring to improve network security by identifying threats.

商品描述(中文翻譯)

本書《Rust for Network Programming and Automation》是針對對網路程式設計和自動化有興趣的讀者而設計的,使用 Rust 1.68 來探討網路程式設計的現實性。書中涵蓋了 IP 位址、子網劃分和閘道配置等重要主題,確保讀者對網路基本原理有透徹的理解。各章節介紹了如何使用流行的 Rust 函式庫,如 Tokio、Mio 和 Rust-async 進行非同步網路程式設計,並詳細檢視這些函式庫,展示如何有效地創建 TCP 監聽器、綁定套接字以及處理進來的連接。

封包操作和分析也是重要主題,書中提供了使用 pnet 和 libtins 等函式庫的實用範例。您將學習如何捕獲、處理和分析網路封包,以了解網路流量並識別潛在問題。本書還專注於網路和性能監控,教您如何設置和使用各種工具來追蹤網路的可用性、利用率、延遲、封包損失和抖動。理解這些指標使您能夠確保最佳的網路性能和可靠性。雲端網路配置、VPN 設置和資料中心網路也有詳細的介紹,提供管理和自動化複雜網路環境所需的知識。

關鍵學習
1. 熟練掌握基於 Rust 的 TCP/IP 程式設計基礎。
2. 使用 pnet 和 libtins 函式庫深入捕獲和分析封包。
3. 使用 Rust-async、Tokio 和 Mio 函式庫高效地編寫非同步網路程式。
4. 精通 IP 位址、子網劃分和閘道配置,以確保安全的網路安裝。
5. 學習使用 Rust 和 OpenVPN 設置 VPN 連接,並監控網路的可用性、延遲和封包損失。
6. 使用封包分析和監控來提高網路安全性,識別威脅。