From 06d4e558cdf97b64e4cbc95becf1b25c1c24950e Mon Sep 17 00:00:00 2001 From: zedddie Date: Sun, 15 Mar 2026 14:59:11 +0100 Subject: sniffing early work use `tun` crate examope for starters, to map all traffic through tun virtual interface, in next commits will push these packets to sniffing module which will deciede further modifications of proxies based by user's Config. --- src/sniffing/headers.rs | 1 + src/sniffing/mod.rs | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 src/sniffing/mod.rs (limited to 'src/sniffing') diff --git a/src/sniffing/headers.rs b/src/sniffing/headers.rs index e69de29..836cf32 100644 --- a/src/sniffing/headers.rs +++ b/src/sniffing/headers.rs @@ -0,0 +1 @@ +// Here we will recieve bytes and try to get their destanation & apply Rules for them. diff --git a/src/sniffing/mod.rs b/src/sniffing/mod.rs new file mode 100644 index 0000000..dec0be3 --- /dev/null +++ b/src/sniffing/mod.rs @@ -0,0 +1,2 @@ +pub mod headers; +mod metadata; -- cgit v1.2.3