Enhance middle sni split

Instead of real middle sni we use targetted middle sni for explicit (not
all) sni domain list
This commit is contained in:
Vadim Vetrov
2024-09-28 11:31:46 +03:00
parent 82c49119d3
commit 3ee979f7d1
3 changed files with 8 additions and 4 deletions

1
tls.h
View File

@@ -10,6 +10,7 @@
struct tls_verdict {
int target_sni; /* google video hello packet */
int sni_offset; /* offset from start of tcp _payload_ */
int sni_target_offset; /* offset of target domain instead of entire sni */
int sni_len;
};