-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
# muou | ||
网络包测试工具 | ||
# muou(木偶) | ||
muou是一个网络包测试工具,可以自定义TCP Option的内容,用于测试4层网络设备的处理情况。 | ||
|
||
|
||
## 用法 | ||
增加Maximum segment size,时间戳值为:`1460`。 | ||
* Kind: Maximum Segment Size (2) | ||
* Length: 4 | ||
* MSS Value: 1460 | ||
|
||
字节内容即为`020405b4`,其中`02`表示Kind,`04`表示Length,`05b4`表示MSS Value。 | ||
|
||
|
||
```shell | ||
sudo ./muou t -b 020405b4 | ||
``` | ||
|
||
# 关于开源 | ||
暂不开源,部分厂商的L4LB 四层负载均衡设备的缺陷还未完全升级。以后再说。 | ||
|
||
# 参考 | ||
* [eCapture旁观者](https://github.com/gojue/ecapture) | ||
* [TCP segment structure](https://en.wikipedia.org/wiki/Transmission_Control_Protocol#TCP_segment_structure) | ||
* [Transmission Control Protocol (TCP) Parameters](https://www.iana.org/assignments/tcp-parameters/tcp-parameters.xhtml) |