Skip to content

Commit 96ca677

Browse files
committed
Merge branch 'master' into marshall/refactor-registrar
2 parents 3a23f7d + 84ec5bf commit 96ca677

36 files changed

+2084
-1783
lines changed

Cargo.lock

Lines changed: 43 additions & 167 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ cc="^1.0.3"
1313
[lib]
1414
name = "rust_dark_decoy"
1515
crate-type = ["rlib", "staticlib"]
16-
1716
[dependencies]
1817
toml = "0.7"
1918
serde = {version="1.0", features=["derive"]}
2019
libc = "0.2"
2120
aes-gcm = { version="0.10", features=["aes"]}
22-
chrono = "0.4"
21+
time = {version="0.3.28", features=["macros", "formatting", "local-offset"]}
2322
pnet = "0.33"
2423
arrayref = "0.3"
2524
log = "0.4"

cmd/application/main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"syscall"
1212
"time"
1313

14+
"github.com/refraction-networking/conjure/pkg/dtls/dnat"
1415
cj "github.com/refraction-networking/conjure/pkg/station/lib"
1516
"github.com/refraction-networking/conjure/pkg/station/log"
1617
"github.com/refraction-networking/conjure/pkg/transports/connecting/dtls"
@@ -80,7 +81,8 @@ func main() {
8081
}
8182
}
8283

83-
dtlsTransport, err := dtls.NewTransport(logIPDTLS(connManager.AddAuthFailConnecting), logIPDTLS(connManager.AddOtherFailConnecting), logIPDTLS(connManager.AddCreatedToDialSuccessfulConnecting), logIPDTLS(connManager.AddCreatedToListenSuccessfulConnecting))
84+
dtlsbuilder := dnat.NewDNAT
85+
dtlsTransport, err := dtls.NewTransport(logIPDTLS(connManager.AddAuthFailConnecting), logIPDTLS(connManager.AddOtherFailConnecting), logIPDTLS(connManager.AddCreatedToDialSuccessfulConnecting), logIPDTLS(connManager.AddCreatedToListenSuccessfulConnecting), dtlsbuilder)
8486

8587
if err != nil {
8688
log.Fatalf("failed to setup dtls: %v", err)

0 commit comments

Comments
 (0)