Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 3.42 KB

File metadata and controls

47 lines (26 loc) · 3.42 KB
graph LR
    network_monitor["network_monitor"]
    PcapThread["PcapThread"]
    packet_handler["packet_handler"]
    network_monitor -- "orchestrates" --> PcapThread
    PcapThread -- "provides raw packets to" --> network_monitor
    network_monitor -- "forwards packets for analysis to" --> packet_handler
    packet_handler -- "reports analysis to" --> network_monitor
Loading

CodeBoardingDemoContact

Details

The network observation subsystem, centered around the network_monitor, orchestrates the capture and analysis of network traffic. The network_monitor initiates and manages the PcapThread, which asynchronously captures raw network packets. These raw packets are then provided by PcapThread to the network_monitor. The network_monitor in turn forwards these packets to the packet_handler for detailed analysis. After processing, the packet_handler reports its findings back to the network_monitor, completing the observation and analysis cycle. This design ensures efficient, non-blocking network monitoring crucial for fuzzing operations.

network_monitor

Acts as the central orchestrator for the network observation subsystem. It manages the lifecycle of network capture, including starting and stopping the capture process, configuring network filters, and providing an interface for other fuzzer components to interact with the network monitoring capabilities. It forwards captured packets to the packet_handler for analysis and receives analysis reports back. Its pre_send and post_send methods indicate its active role in observing traffic directly related to the fuzzer's interactions with the SUT.

Related Classes/Methods:

PcapThread

Dedicated to the low-level acquisition of network packets. It operates in a separate thread to ensure that packet capture is performed asynchronously, preventing it from blocking the main fuzzing process. This component is responsible for interfacing with network capture libraries (e.g., pcap) to sniff and collect raw network data, providing these raw packets to the network_monitor.

Related Classes/Methods:

packet_handler

Receives captured network packets from network_monitor and performs specific analysis, filtering, or storage based on the fuzzing objectives. This component is crucial for processing raw network data into actionable insights, such as identifying malformed packets, unexpected responses, or confirming successful data transmission, and then reports its analysis back to the network_monitor.

Related Classes/Methods: