dndx-phantun/phantun/Cargo.toml
WGH 19c9f2d9f2
fix(phantun): use the same source IP for UDP packet replies (#178)
This fixes an issue when Phantun may choose a source IP different from
the destination IP in the incoming packet.

Closes #177
2025-08-23 01:04:03 +08:00

25 lines
692 B
TOML

[package]
name = "phantun"
version = "0.7.0"
edition = "2024"
authors = ["Datong Sun <dndx@idndx.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dndx/phantun"
readme = "README.md"
description = """
Transforms UDP stream into (fake) TCP streams that can go through
Layer 3 & Layer 4 (NAPT) firewalls/NATs.
"""
[dependencies]
clap = { version = "4", features = ["cargo"] }
socket2 = { version = "0", features = ["all"] }
fake-tcp = { path = "../fake-tcp", version = "0" }
tokio-util = "0"
pretty_env_logger = "0"
tokio-tun = "0"
num_cpus = "1"
neli = "0"
nix = { version = "0", features = ["net", "uio", "socket"] }
tokio = { workspace = true }
log = { workspace = true }