Add: Leak-D for dns leak detection
This commit is contained in:
@@ -23,7 +23,7 @@ pub enum LeakType {
|
||||
D,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
pub enum RouteClass {
|
||||
Loopback,
|
||||
@@ -54,6 +54,8 @@ pub struct EnrichedEvent {
|
||||
pub qname: Option<String>,
|
||||
pub qtype: Option<String>,
|
||||
pub rcode: Option<String>,
|
||||
pub is_response: bool,
|
||||
pub answer_ips: Vec<IpAddr>,
|
||||
pub route_class: RouteClass,
|
||||
pub owner: Option<FlowOwner>,
|
||||
pub owner_confidence: FlowOwnerConfidence,
|
||||
|
||||
Reference in New Issue
Block a user