mirror of
https://github.com/Estom/notes.git
synced 2026-04-29 13:04:35 +08:00
linux 命令和教程补充
This commit is contained in:
25
Linux/command/arpwatch.md
Normal file
25
Linux/command/arpwatch.md
Normal file
@@ -0,0 +1,25 @@
|
||||
arpwatch
|
||||
===
|
||||
|
||||
监听网络上ARP的记录
|
||||
|
||||
## 补充说明
|
||||
|
||||
**arpwatch命令** 用来监听网络上arp的记录。
|
||||
|
||||
### 语法
|
||||
|
||||
```shell
|
||||
arpwatch(选项)
|
||||
```
|
||||
|
||||
### 选项
|
||||
|
||||
```shell
|
||||
-d:启动排错模式;
|
||||
-f<记录文件>:设置存储ARP记录的文件,预设为/var/arpwatch/arp.dat;
|
||||
-i<接口>:指定监听ARP的接口,预设的接口为eth0;
|
||||
-r<记录文件>:从指定的文件中读取ARP记录,而不是从网络上监听。
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user