AltraMayor / AltraMayor/gatekeeper

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

Abierto
#722 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement good first issue
Lenguaje dominante
C
Estrellas
1.6k
Forks
252
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.