了解如何安装 bittwist Debian 10 通过本教程。 bittwist 是基于 libpcap 的以太网数据包生成器
介绍
在本教程中我们学习如何安装 bittwist
在 Debian 10.
什么是 bittwist
位扭曲是:
bittwist(或 Bit-Twist)旨在补充 tcpdump,它本身在捕获网络流量方面做得很好。 Bit-Twist 可以将捕获的流量重新生成到实时网络上(数据包是从 tcpdump 跟踪文件生成的,生成 .pcap 文件)。
Bit-Twist 还附带了一个全面的跟踪文件编辑器,允许用户更改跟踪文件 (bittwiste) 的内容。
一般来说,数据包生成器可用于模拟网络流量或场景、测试防火墙、IDS 和 IPS,以及解决各种网络问题。
Bit-Twist 的特点是:
* runs on Mac OS X (and *BSD), Linux, and Windows;
* send multiple trace files at a time;
* send packets at a specific speed or line rate in Mbps;
* comprehensive trace file editor with control over most fields in
Ethernet, ARP, IP, ICMP, TCP, and UDP headers with automatic header
checksum correction;
* append user payload to existing packets after a specific header;
* select a specific range of packets and save them in another trace file;
* highly scriptable - with proper manipulation you can turn Bit-Twist
into an extremely flexible packet generator tool;
* if you are teaching Computer Networks classes, you may find Bit-Twist
useful as a practical teaching material. It gives your students a
hands-on experience to learn various networking protocols etc.
有三种安装方法 bittwist
在 Debian 10.我们可以使用 apt-get
, apt
和 aptitude
。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。
使用 apt-get 安装 bittwist
更新 apt 数据库 apt-get
使用以下命令。
更新apt数据库后,我们可以安装 bittwist
使用 apt-get
通过运行以下命令:
sudo apt-get -y install bittwist
使用 apt 安装 bittwist
更新 apt 数据库 apt
使用以下命令。
更新apt数据库后,我们可以安装 bittwist
使用 apt
通过运行以下命令:
sudo apt -y install bittwist
使用 aptitude 安装 bittwist
如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Debian。 更新 apt 数据库 aptitude
使用以下命令。
更新apt数据库后,我们可以安装 bittwist
使用 aptitude
通过运行以下命令:
sudo aptitude -y install bittwist
如何卸载 bittwist Debian 10
仅卸载 bittwist
打包我们可以使用以下命令:
sudo apt-get remove bittwist
卸载 bittwist 及其依赖项
卸载 bittwist
及其不再需要的依赖项 Debian 10、我们可以使用下面的命令:
sudo apt-get -y autoremove bittwist
删除 bittwist 配置和数据
去除 bittwist
配置和数据来自 Debian 10.我们可以使用如下命令:
sudo apt-get -y purge bittwist
删除 bittwist 配置、数据及其所有依赖项
我们可以使用下面的命令来删除 bittwist
配置、数据及其所有依赖项,我们可以使用以下命令:
sudo apt-get -y autoremove --purge bittwist
依赖关系
bittwist 具有以下依赖关系:
参考
概括
在本教程中我们学习如何安装 bittwist
封装在 Debian 10. 使用不同的包管理工具: apt
, apt-get
和 aptitude
。