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
softether: add vpnserver.settings option #72296
base: master
Are you sure you want to change the base?
Conversation
f519e24
to
0ca6afd
Compare
6def969
to
929445b
Compare
Unfortunately I don't use SoftEther since 2018. |
I marked this as stale due to inactivity. → More info |
@mjsir911 are you still interested in this PR? |
I am @fricklerhandwerk, as long as it can get the attention needed to merge |
Okay, I’ll look into the changes these days.
… Am 14.03.2021 um 23:41 schrieb Marco Sirabella ***@***.***>:
I am @fricklerhandwerk, as long as it can get the attention needed to merge
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Well, "these days" didn't happen, I just can't find enough time. But it's on my list, I won't forget, and I want to use it, so I'll be back with test and review. |
thank you for the updated @fricklerhandwerk! Glad to hear its still on your radar, I'll await review patiently :) |
A solution around the custom data type
Following up, this won't work perfectly. There are only a few places uses
|
32640cb
to
0df2631
Compare
This comment has been minimized.
This comment has been minimized.
I marked this as stale due to inactivity. → More info |
Still relevant, I haven't forgotten. |
@fricklerhandwerk @mjsir911 what has to happen to unstale this/to get this merged? |
I still have it on my list, but free time to hack on stuff is not a thing any more. Sorry for the infinite delay. From a quick glance:
I won't be able to test it any time soon, but the code change is small enough and if anyone but the author will vouch for it to work for them, I can merge it (after nitpicking the docs, as I expect to use them myself at a far-away point in the future). |
Motivation for this change
Currently softether needs to be configured through the cli
vpncmd
, which is both confusing and not reproducible easily. The configuration file is mostly compatible with nixos objects/hashmaps/dicts, with the exception that the configuration file includes types, and differentiates betweenstring
andbyte
.Semantics for
softether.settings
worked off of NixOS/rfcs#42Looking for advice on how to approach typed options, a lot of the time defaults are good enough, but something I've run into is that the hashed password must be a
byte
type.What i'm doing right now is using an object:
{type="byte"; value="whatever==="}
Example nixos configuration:
Turns into:
TODO:
znc/default.nix
)Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @