mirror of
https://github.com/dndx/phantun.git
synced 2025-09-20 06:04:31 +08:00
perf(fake-tcp) use cached tuples per dispatcher task to avoid RwLock
contentions. Use multi queue Tun. Upgraded tokio to 1.12.0. This makes the entire Phantun forward process completely lock contention free
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
[package]
|
||||
name = "phantun"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
edition = "2018"
|
||||
authors = ["Datong Sun <dndx@idndx.com>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/dndx/phantun"
|
||||
readme = "README.md"
|
||||
description = """
|
||||
Turns transforms UDP stream into (fake) TCP streams that can go through
|
||||
Layer 4 firewalls.
|
||||
Transforms UDP stream into (fake) TCP streams that can go through
|
||||
Layer 3 & Layer 4 (NAPT) firewalls/NATs.
|
||||
"""
|
||||
[dependencies]
|
||||
clap = "2.33.3"
|
||||
socket2 = { version = "0.4.2", features = ["all"] }
|
||||
fake-tcp = "0.1.0"
|
||||
tokio-tun = "0.3.15"
|
||||
tokio = { version = "1.11.0", features = ["full"] }
|
||||
fake-tcp = { path = "../fake-tcp" }
|
||||
tokio = { version = "1.12.0", features = ["full"] }
|
||||
log = "0.4"
|
||||
pretty_env_logger = "0.4.0"
|
||||
dndx-fork-tokio-tun = "0.3.16"
|
||||
num_cpus = "1.13.0"
|
||||
|
Reference in New Issue
Block a user