Skip to content

Commit

Permalink
doc: update argument desc
Browse files Browse the repository at this point in the history
  • Loading branch information
Chion82 committed Sep 6, 2017
1 parent 4a888a5 commit 7cca82b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ Features

Updates
-------
* 2017.9.5 引入内核态过滤器(BPF),提高收包性能
* 2017.9.7 【客户端】增加自动源地址判定,原`LOCAL_IP`参数变更为`LISTEN_IP`,作用变更为TCP监听绑定IP,可以使用`0.0.0.0``127.0.0.1`
* 2017.9.7 增加自动判定发包源地址。
- 客户端:`LOCAL_IP`参数变更为`LISTEN_IP`,作用变更为TCP监听绑定IP,可以使用`0.0.0.0``127.0.0.1`
- 服务端:若指定`SERVER_IP``0.0.0.0`,则自动获取发包源地址;否则使用手动配置的IP作为发包源地址。
* 2017.9.5 引入内核态过滤器(BPF),提高收包性能
* 2017.8 跨大小端支持,兼容ARM OpenWRT设备

Compilation
-----------
Expand Down Expand Up @@ -69,11 +72,11 @@ Usage
```

#### 示例:
`108.0.0.1`替换为服务器IP,注意该IP应该是服务器上**对外网卡直接绑定的IP**,如果服务器在局域网内,请填写分配到网卡的局域网IP。
`108.0.0.1`替换为服务器IP
服务端:
```
# iptables -A INPUT -p tcp --dport 888 -j DROP
# kcpraw_server 127.0.0.1 8388 108.0.0.1 888 --mode fast2
# kcpraw_server 127.0.0.1 8388 0.0.0.0 888 --mode fast2
```
客户端:
```
Expand Down

0 comments on commit 7cca82b

Please sign in to comment.