Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux: Re-introduce D-Bus API Authorization (#7110)
* Check for CAP_NET_ADMIN to auth D-Bus calls. * Add libcap as a build dependency * Require D-Bus authorization for controller APIs * Permit API calls originating from the daemon itself. * Drop daemon permissions after launch. * Apply auth check to split tunneling APIs too * Restrict API access by UID
- Loading branch information
1 parent
461dc5e
commit 5240754
Showing
5 changed files
with
147 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters