From 1fcc1bbfa1b7a6d86a053debcf9dcc305394bd4e Mon Sep 17 00:00:00 2001 From: KusakabeSi Date: Tue, 21 Sep 2021 20:10:11 +0000 Subject: [PATCH] update readme --- README.md | 1 + README_zh.md | 1 + example_config/super_mode/README_zh.md | 8 ++++---- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c70e8f4..764206b 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ Usage of ./etherguard-go: 3. `noL2`: Remove all Layer 2 header 2. `nodeid`: NodeID. Must be unique in the whole Etherguard network. 3. `nodename`: Node Name. +4. `defaultttl`: Default TTL(etherguard layer. not affect ethernet layer) 4. `privkey`: Private key. Same spec as wireguard. 5. `listenport`: UDP lesten port 6. `loglevel`: Log Level diff --git a/README_zh.md b/README_zh.md index 5bbcb60..0585fd5 100644 --- a/README_zh.md +++ b/README_zh.md @@ -77,6 +77,7 @@ Usage of ./etherguard-go-vpp: 但是本VPN會查詢L2用作選路,所以會變成一律廣播 2. `nodeid`: 節點ID。節點之間辨識身分用的,同一網路內節點ID不能重複 3. `nodename`: 節點名稱 +4. `defaultttl`: 預設ttl(etherguard層使用,和乙太層不共通) 4. `privkey`: 私鑰,和wireguard規格一樣 5. `listenport`: 監聽的udp埠 6. `loglevel`: 紀錄log diff --git a/example_config/super_mode/README_zh.md b/example_config/super_mode/README_zh.md index e19d64f..5f26218 100644 --- a/example_config/super_mode/README_zh.md +++ b/example_config/super_mode/README_zh.md @@ -98,10 +98,10 @@ HTTP還有一個API 1. nodereporttimeout: 收到的`Pong`封包的有效期限。太久沒收到就變回Infinity 1. recalculatecooldown: Floyd-Warshal是O(n^3)時間複雜度,不能太常算。設個冷卻時間 1. peers: Peer列表,參考 [README_zh.md](../README_zh.md) - 1. nodeid: 1 - 1. pubkey: ZqzLVSbXzjppERslwbf2QziWruW3V/UIx9oqwU8Fn3I= - 1. endpoint: 127.0.0.1:3001 - 1. static: true + 1. nodeid: Peer的節點ID + 1. name: Peer名稱(顯示在前端) + 1. pubkey: peer 公鑰 + 1. pskey: preshared key ## V4 V6 兩個公鑰 為什麼要分開IPv4和IPv6呢?