Crate fosr_lib

Crate fosr_lib 

Source
Expand description

Library for high-quality, high-throughput synthetic network traffic generation This library is notably used by the binary Fos-R, but can be used freely.

Modules§

config
Network and host configuration
export
Export to pcap
inject
Network injection
models
stage0
Timestamp generation
stage1
Flow statistics generation
stage2
Packet metadata generation
stage3
Full packet generation
stats
Generation statistics
utils
Utilities

Structs§

FlowData
FlowId
ICMPPacketInfo
Metadata of ICMP packet Some information about an ICMP packet
Packet
Packets
PacketsIR
PacketsRecycler
SeededData
A general wrapper to pass a seed along with actual data
TCPPacketInfo
Metadata of TCP packet Some information about a TCP packet
TimePoint
UDPPacketInfo
Metadata of UDP packet Some information about a UDP packet

Enums§

Flow
L7Proto
A list of application layer protocol
NoiseType
OS
The OS of an host. By default, assume Linux
PacketDirection
Payload
PayloadType
Protocol

Traits§

PacketInfo