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§
- export
- Export to pcap
- inject
- Network injection
- models
- Default models included in the binary
- network
- Network and host configuration
- stage1
- Timestamp generation
- stage2
- Flow statistics generation
- stage3
- Packet metadata generation
- stage4
- Full packet generation
- stats
- Generation statistics
- topo
- Network topology generator Topology generator
- utils
- Utilities
Structs§
- DstIp
Role Iter - An iterator over the variants of DstIpRole
- Flow
Data - The data of a transport layer flow
- FlowId
- A 5-uplet typically used to identify a flow
- Icmp
Packet Info - Metadata of ICMP packet Some information about an Icmp packet
- L7Proto
Iter - An iterator over the variants of L7Proto
- L7Proto
With Port - A list of application layer protocol with their default port
- OsIter
- An iterator over the variants of Os
- Packet
- A packet, with a timestamp and some data
- Packets
- A set of packets from the same flow
- PacketsIR
- The packets intermediate representation (as output by stage 3)
- Packets
Recycler - The recycler used by thingbuf
- Seeded
Data - A general wrapper to pass a seed along with actual data
- SrcIp
Role Iter - An iterator over the variants of SrcIpRole
- TcpPacket
Info - Metadata of TCP packet Some information about a TCP packet
- Time
Point - Stage 1 structure
- UdpPacket
Info - Metadata of UDP packet Some information about a UDP packet
Enums§
- DstIp
Role - Flow
- A wrapper for transport layer flow
- L4Proto
- A transport protocol
- L7Proto
- A list of application layer protocol
- Os
- The OS of an host. By default, assume Linux
- Packet
Direction - The direction of a packet
- Payload
- The payload of a packet
- Payload
Type - Types of payload in the automata
- Port
- A default port
- SrcIp
Role - TcpConn
State - Connection states, adapted from Zeek https://docs.zeek.org/en/master/scripts/base/protocols/conn/main.zeek.html#field-Conn::Info$conn_state
Traits§
- Packet
Info - A trait for obtaining indicators from a packet