Commit 83ccfec
authored
Gateway TLS verification (#2049)
* move tls code to separate crate, make it generic
* prime the cache
* restore error log when certs don't match
* non-optional ProxyHandler::shutdown_signal
* gateway cert verification
* defguard_gateway_manager crate
* fix tests
* cargo fmt
* remove unused imports
* allow(clippy::result_large_err)
* rename proxy_handler module to handler
* defguard_gateway_manager::error module
* move gateway handler-related structs to handler module
* move gen_config function to handler module
* tighten modules visibility
* remove unused GatewayError variants
* send purge request on gateway delete trigger, GatewayManager
* refactor TriggerOperation::Delete match branch
* cert verification throws CertificateError::ApplicationVerificationFailure
* move auth, generic grpc methods to core
* fix imports, cargo fmt
* fix sync Mutex used across await issue
* GatewayManager::run
* update protos
* cargo update
* update sqlx query data
* fix clippy issues
* cargo fmt
* fix cargo deny issues
* cargo machete, i32::cast_unsigned
* more i32::cast_unsigned conversions
* cargo fmt1 parent a9a0f94 commit 83ccfec
61 files changed
Lines changed: 1200 additions & 1228 deletions
File tree
- .sqlx
- crates
- defguard_common/src/db/models
- defguard_core
- src
- enterprise
- db/models
- directory_sync
- snat
- grpc
- gateway
- proxy
- handlers
- location_management
- tests/integration/api
- common
- defguard_event_router/src
- defguard_gateway_manager
- src
- defguard_grpc_tls
- src
- defguard_proxy_manager
- src
- servers
- defguard_session_manager/src
- defguard_version
- defguard
- src
- migrations
- tools/defguard_generator
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 35 deletions
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| 67 | + | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| |||
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| 79 | + | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| |||
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
| 123 | + | |
118 | 124 | | |
| 125 | + | |
119 | 126 | | |
120 | 127 | | |
121 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments