Skip to content
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

luci-app-openvpn: Updates user, group, proto and mssfix params and defaults #6780

Closed
wants to merge 1 commit into from
Closed

luci-app-openvpn: Updates user, group, proto and mssfix params and defaults #6780

wants to merge 1 commit into from

Conversation

pduveau
Copy link
Contributor

@pduveau pduveau commented Dec 22, 2023

  • proto parameter is available in client or server mode in the network section.
  • mssfix default value is setted to openvpn.org default value
  • user/group are available in service section with secured default values (nobody, nogroup)

The "proto" parameter is mandatory for other parameters of server or client modes (topology, mssfix...) but the condition was to restrict it to client mode only.

@pduveau
Copy link
Contributor Author

pduveau commented Dec 22, 2023

I'm sorry to create a new a new pull request instead of reopening the previous one #5813. I did a forced push before reopen.

@systemcrash
Copy link
Contributor

OK. What is the effect of reintroducing the user/group settings? While hidden, they will internally assume some kind of defaults, I think - are they changed by your introduction?

I see option user nobody persisted in openvpn.config but not group. I also do not see that either of these options are handled in the init scripts. I don't use openvpn so I have to ask.

@systemcrash systemcrash marked this pull request as draft December 30, 2023 02:55
@pduveau
Copy link
Contributor Author

pduveau commented Jan 4, 2024

@systemcrash You are right. I did not see the internally defined option user nobody (a year ago). I guess the group nobody is inherited from the user. So I will remove this part of the proposed change.

@pduveau pduveau changed the title luci-app-openvpn : Updates user, group, proto and mssfix params and defaults luci-app-openvpn: Updates user, group, proto and mssfix params and defaults Jan 4, 2024
@pduveau pduveau marked this pull request as ready for review January 4, 2024 20:40
@systemcrash
Copy link
Contributor

@systemcrash You are right. I did not see the internally defined option user nobody (a year ago). I guess the group nobody is inherited from the user. So I will remove this part of the proposed change.

OK - please update your commit message with your real email

@systemcrash systemcrash marked this pull request as draft January 5, 2024 13:37
…faults

- proto parameter is available in client or server mode in the network section.
- mssfix default value is setted to openvpn.org default value

Signed-off-by: Philippe Duveau <[email protected]>
@systemcrash systemcrash marked this pull request as ready for review January 24, 2024 00:38
@systemcrash
Copy link
Contributor

Closed via 9889d3f

Thanks!

@pduveau pduveau deleted the pduveau-patch-proto-mssfix-user-group branch January 28, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants