Skip to content

Commit

Permalink
fix tun netmask and redesign crypto api
Browse files Browse the repository at this point in the history
  • Loading branch information
luozijun committed Jan 30, 2018
1 parent 596cdba commit e97b646
Show file tree
Hide file tree
Showing 8 changed files with 985 additions and 327 deletions.
18 changes: 17 additions & 1 deletion Cargo.toml
Expand Up @@ -11,6 +11,13 @@ members = [
"netif"
]

[[bin]]
name = "crypto_test"
path = "src/crypto/mod.rs"

# [[bin]]
# name = "rsa_test"
# path = "src/crypto/rsa.rs"

[[bin]]
name = "vpn"
Expand All @@ -20,6 +27,9 @@ path = "src/vpn.rs"
name = "vpnd"
path = "src/vpnd.rs"

[[bin]]
name = "iana_tool"
path = "iana/main.rs"

[dependencies]
logging = { path = "./logging" }
Expand All @@ -30,7 +40,8 @@ bitflags = "1.0"
byteorder = "1.2.1"
rand = "0.4.1"
snap = "0.2.3"
openssl = "0.9.23"
openssl = "0.10"

mio-more = "0.1.0"
ipnetwork = "0.12"

Expand All @@ -41,6 +52,11 @@ futures = { version = "0.1.17", default-features = false, features = ["use_std"
mio = { version = "0.6.11", default-features = false, features = [] }
tun = { version = "0.4.2", default-features = false, features = ["mio"] }

hyper = "0.11"
hyper-tls = "0.1"
ftp = "2.2"
tokio-core = "0.1"

[dependencies.smoltcp]
git = "https://github.com/m-labs/smoltcp.git"
branch = "master"
Expand Down
324 changes: 0 additions & 324 deletions src/crypto.rs

This file was deleted.

0 comments on commit e97b646

Please sign in to comment.