AltraMayor / AltraMayor/gatekeeper

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

Ouverte
#722 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement good first issue
Langage dominant
C
Étoiles
1.6k
Forks
252
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.