Skip to content

Commit

Permalink
feat: disconnect unauthorized devices on gateway (#491)
Browse files Browse the repository at this point in the history
* send only allowed peers to gateway

* add docs

* WIP: preparing disconnect task

* lint fix

* finish disconnect process

* use a separate transaction for each device

* update query data

* disregard is_authorized flag in non-MFA locations

* store a preshared_key for each location

* store a preshared_key for each location

* change default value

* update dependencies

* formatting

* update query data

* add newline

* Update src/wireguard_peer_disconnect.rs

Co-authored-by: Adam <[email protected]>

---------

Co-authored-by: Maciej Wójcik <[email protected]>
Co-authored-by: Adam <[email protected]>
  • Loading branch information
3 people authored Dec 27, 2023
1 parent 5fa8580 commit d9bdd10
Show file tree
Hide file tree
Showing 38 changed files with 528 additions and 271 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d9bdd10

Please sign in to comment.