GoGeneva/README.md

13 lines
668 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- 本程序主要用来实现Geneva的以下四条规则还可以自定义端口、需要修改的window size的值。
```
"[TCP:flags:SA]-tamper{TCP:window:replace:0}-|"
"[TCP:flags:A]-tamper{TCP:window:replace:0}-|"
"[TCP:flags:PA]-tamper{TCP:window:replace:0}-|"
"[TCP:flags:FA]-tamper{TCP:window:replace:0}-|"
```
- 默认四条规则全部开启,具体使用方法参考`./lagran -h`。
- 例如开启第一条规则并设置window为4同时4条规则
```
./lagran -debug -p 443 -sa=true -wsa 4 -a=true -wa=4 -pa=true -wpa=4 -fa=true -wfa=4
```
- 注意本小程序依赖libpcap-dev、libnetfilter-queue-dev、iptables等使用之前请先安装。