update readmes

This commit is contained in:
testscript 2021-11-21 09:20:34 +00:00
parent 692e6b6692
commit 15988280f7
5 changed files with 7 additions and 6 deletions

View File

@ -99,7 +99,8 @@ Usage of ./etherguard-go:
7. `dynamicroute`: Log for dynamic route.
1. `sendpinginterval`: Send `Ping` interval
2. `dupchecktimeout`: Duplication chack timeout.
3. `conntimeout`: Connection timeout.
1. `peeralivetimeout`: Reset the timer while received a packet. Mark the peer offlline while exceed this time.
3. `conntimeout`: The interval that check peer offline or not. If peer was marked offine, it will switch to next endpoint.
4. `savenewpeers`: Save peer info to local file.
5. `supernode`: See [Super Mode](example_config/super_mode/README.md)
6. `p2p` See [P2P Mode](example_config/p2p_mode/README.md)

View File

@ -107,7 +107,8 @@ Usage of ./etherguard-go-vpp:
7. `dynamicroute`: 動態路由相關的設定。時間類設定單位都是秒
1. `sendpinginterval`: 發送Ping訊息的間隔
2. `dupchecktimeout`: 重複封包檢查的timeout。完全相同的封包收第二次會被丟棄
3. `conntimeout`: 鄰居應該要發Ping過來超過就視為鄰居掛了
1. `peeralivetimeout`: 每次收到封包就重置超過時間沒收到就標記該peer離線
3. `conntimeout`: 檢查peer離線的間格如果標記離線就切換下一個endpoint(supernode可能傳了多個endpoint過來)
4. `savenewpeers`: 是否把下載來的鄰居資訊存到本地設定檔裡面
5. `supernode`: 參見[Super模式](example_config/super_mode/README_zh.md)
6. `p2p` 參見 [P2P模式](example_config/p2p_mode/README_zh.md)

View File

@ -60,7 +60,6 @@ Pong封包是一種`ControlMsg`,使用**flood廣播**盡量讓每個節點都
P2P模式也有幾個參數
1. usep2p: 是否啟用P2P模式
1. sendpeerinterval: 廣播BoardcastPeer的間格
1. peeralivetimeout: 每次收到封包就重置超過時間沒收到就視為該peer離線
1. graphrecalculatesetting: 一些和[Floyd-Warshall演算法](https://zh.wikipedia.org/zh-tw/Floyd-Warshall算法)相關的參數
1. staticmode: 關閉Floyd-Warshall演算法只使用一開始載入的nexthoptable。P2P單純用來打洞
1. jittertolerance: 抖動容許誤差收到Pong以後一個37ms一個39ms不會觸發重新計算

View File

@ -9,8 +9,8 @@ interface:
sendaddr: 127.0.0.1:5001
l2headermode: kbdbg
nodeid: 1
postscript: example_config/echo.sh test
nodename: Node01
postscript: example_config/echo.sh test
defaultttl: 200
l2fibtimeout: 3600
privkey: 6GyDagZKhbm5WNqMiRHhkf43RlbMJ34IieTlIuvfJ1M=
@ -24,7 +24,7 @@ loglevel:
logntp: true
dynamicroute:
sendpinginterval: 16
peeralivetimeout: 30
peeralivetimeout: 70
dupchecktimeout: 40
conntimeout: 30
connnexttry: 5

View File

@ -24,7 +24,7 @@ loglevel:
logntp: true
dynamicroute:
sendpinginterval: 16
peeralivetimeout: 30
peeralivetimeout: 70
dupchecktimeout: 40
conntimeout: 30
connnexttry: 5