-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config: add nat helpers #543
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure this is the correct approach: we already have other helpers that must be explicitly loaded, see https://dev.nethsecurity.org/design/nat_helpers/
I'd prefer to keep the same behavior for all nat helpers.
I'd agree, but the previous version loaded the FTP helper by default for a reason. Upgrade's users will need to read the docs and enable this single helper. |
You can tell that ftp is special because it has a package only for itself. |
The previous release was loading all available helpers, including the ones that now are not loaded like sip-alg. I propose to change the behavior of all NAT helpers:
I know that having the ftp module loaded by default should not harm, but I still prefer to have the same configuration for all NAT helpers. |
Disable ftp NAT helper by default.
Make sure to save the list of loaded NAT helpers across upgrades
Preserving packages across upgrades and restores is not supported on OpenWrt
@filippocarletti could u take a look? |
I'm afraid that not having the ftp helper enabled by default will cause a lot of support requests and give the wrong impression of a product that doesn't work properly. |
New helper to load all configured kernel modules and set their parameters. If the script fails to set a parameter, it exists with special code 99
In NethServer 7, having NAT helpers enabled by default caused many headache in the past. Having the same behavior for all helpers is easier to maintain, explain and support. |
In this case I agree with you @gsanchietti |
Needed to allow active ftp sessions
Note: windows FTP client only uses active FTP
#544