增加icmp代理日志
This commit is contained in:
@@ -250,12 +250,13 @@ impl ProxyHandler for IcmpProxy {
|
|||||||
SocketAddr::from(SocketAddrV4::new(dest_ip, 0)),
|
SocketAddr::from(SocketAddrV4::new(dest_ip, 0)),
|
||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
_ => {
|
header_other => {
|
||||||
log::warn!(
|
log::warn!(
|
||||||
"不支持的ip代理Icmp协议:{}->{}->{}",
|
"不支持的ip代理Icmp协议:{}->{}->{},{:?}",
|
||||||
source,
|
source,
|
||||||
destination,
|
destination,
|
||||||
dest_ip
|
dest_ip,
|
||||||
|
header_other
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user