Make Diplonat more modular (breaking changes) #7
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
#8 Modular Diplonat (with the option to disable useless modules)
Deuxfleurs/diplonat
Reference: Deuxfleurs/diplonat#7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, if one doesn't have an IGD-enabled gateway, Diplonat will fail with "Failed to find gateway".
I want to use Diplonat for ACME on Hammerhead, which is a Kimsufi server with a public IP and fully opened ports. I won't use the IGD part.
Since I plan on implementing ACME, Diplonat will soon be constituted of four modules:
My plan is to modify the environment variables names as follows:
DIPLONAT_IGD_ENABLE
(bool), defaulting tofalse
DIPLONAT_FIREWALL_ENABLE
(bool), defaulting tofalse
DIPLONAT_EXPIRATION_TIME
->DIPLONAT_IGD_EXPIRATION_TIME
DIPLONAT_REFRESH_TIME
->DIPLONAT_IGD_REFRESH_TIME
&DIPLONAT_FIREWALL_REFRESH_TIME
(these two have no reason to be correlated, and the naming scheme will be cleaner this way).DIPLONAT_PRIVATE_IP
->DIPLONAT_IGD_PRIVATE_IP
DIPLONAT_ACME_*
stuff as needed.+1 to allow to allow to disable the IGD part. That's pretty annoying to test Diplonat in an environment without IGD.
Alright let's do this shit!
adrien referenced this issue2021-08-25 15:27:28 +00:00