Add routeOnly sniffing option

This commit is contained in:
世界 2021-09-16 15:05:48 +08:00
parent 6c9e57d624
commit a3023e43ef
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
8 changed files with 121 additions and 89 deletions

View file

@ -57,10 +57,12 @@ message SniffingConfig {
// Supported values are "http", "tls", "fakedns".
repeated string destination_override = 2;
repeated string domains_excluded = 3;
// Whether should only try to sniff metadata without waiting for client input.
// Can be used to support SMTP like protocol where server send the first message.
bool metadata_only = 4;
bool route_only = 5;
}
message ReceiverConfig {