-
Notifications
You must be signed in to change notification settings - Fork 2
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
LLT-5809 #5
LLT-5809 #5
Conversation
We're currently not using those and they are not tested. If we ever plan to add them back it will be easy to revert this commit. Moreover instead of UnixStream::from_raw_fd most likely UnixListener::from(fd: OwnedFd) should be used.
50631c7
to
173e249
Compare
Allow fwmark to be in the config even on platforms that do not support it. Just ignore it. It is in line with wireguard-go behaviour.
173e249
to
7baabdc
Compare
1. Allow multiple commands in one stream 2. Verify that the command is either get=1\n or set=1\n. Previously any other character in place of newline was accepted. 3. Do not use pop to remove newline character from the input line in set handler. Use trim_end instead to avoid clipping the input itself.
9e8e367
to
762ddf3
Compare
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.
Nice work, some questions since I'm not too familiar with the protocol.
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.
+1.0 I'm not familiar with the project, but looks good to me.
Might be a good idea to start a changelog file for this project?
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.
+1 nice work
Some cleanup of UAPI handler. Details in commit messages.