AltraMayor / AltraMayor/gatekeeper

User friendliness: automatically adjust parameter lua/net.lua:front_mtu

オープン
#722 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement good first issue
主要言語
C
スター
1.6k
フォーク
252
PR マージ指標
30日以内にマージされた PR はありません

説明

The configuration file `lua/net.lua` comes with the parameters `front_mtu = 1500` and `back_mtu = 2048`, which is the proper setting for Gatekeeper servers, but not for Grantor servers. Grantor servers do not have a back net, and their front net should have an MTU of 2048.

Passing the parameter `gatekeeper_server` of `lua/main_config.lua` to `netf()` (i.e., the function that `lua/net.lua` returns) enables `lua/net.lua` to correctly set the parameters `front_mtu` accordingly to the role of the server.

Once this feature is implemented, the wiki page [Tips for Deployments](https://github.com/AltraMayor/gatekeeper/wiki/Tips-for-Deployments#grantor-server-configuration) must be updated to reflect this change.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。