Struct usiem::events::firewall::FirewallEvent [−][src]
pub struct FirewallEvent {
pub source_ip: SiemIp,
pub destination_ip: SiemIp,
pub source_port: u16,
pub destination_port: u16,
pub network_protocol: NetworkProtocol,
pub outcome: FirewallOutcome,
pub in_bytes: u32,
pub out_bytes: u32,
pub in_interface: Cow<'static, str>,
pub out_interface: Cow<'static, str>,
}
Fields
source_ip: SiemIp
Ip that started the connection
destination_ip: SiemIp
IP that received the connection
source_port: u16
Source port -> source.port
destination_port: u16
Destination port -> destintion.port
network_protocol: NetworkProtocol
Protocol used for the connection.
outcome: FirewallOutcome
What happened to the connection
in_bytes: u32
Bytes received. Equals destination.bytes
out_bytes: u32
Bytes sended. Equals source.bytes
in_interface: Cow<'static, str>
Input interface for the connection
out_interface: Cow<'static, str>
Output interface for the connection
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FirewallEvent
impl Send for FirewallEvent
impl Sync for FirewallEvent
impl Unpin for FirewallEvent
impl UnwindSafe for FirewallEvent
Blanket Implementations
Mutably borrows from an owned value. Read more