Add WireGuard analyzer (#41)

* feat: add WireGuard analyzer

* chore(wg): reduce map creating for non wg packets

* chore: import format

* docs: add wg usage

---------

Co-authored-by: Toby <tobyxdd@gmail.com>
This commit is contained in:
Haruue
2024-01-30 18:05:51 -08:00
committed by GitHub
co-authored by Toby
parent f07a38bc47
commit 8d94400855
6 changed files with 284 additions and 3 deletions
+1
View File
@@ -92,6 +92,7 @@ var analyzers = []analyzer.Analyzer{
&tcp.TLSAnalyzer{},
&tcp.TrojanAnalyzer{},
&udp.DNSAnalyzer{},
&udp.WireGuardAnalyzer{},
}
var modifiers = []modifier.Modifier{