Commit graph

176 commits

Author SHA1 Message Date
Yaro Kasear
d0d7dd473f Add functions to get and set the current channel for the network interface 2025-04-30 15:03:42 -05:00
Yaro Kasear
2586d5fcca Add shebang line to listener.py for improved script execution 2025-04-30 14:36:10 -05:00
Yaro Kasear
f360ae79e8 Refactor settings loading to use auto-detection and improve error handling 2025-04-30 14:34:11 -05:00
Yaro Kasear
0e49e636ce Refactor environment variable loading to improve error handling and clarity 2025-04-30 14:27:39 -05:00
Yaro Kasear
fa0a1fd930 Add export keyword to all environment variables in settings.env.default 2025-04-30 14:19:30 -05:00
Yaro Kasear
2ff5a192ca Rename INTERFACE to LISTEN_INTERFACE for consistency and update settings.env.default 2025-04-30 14:09:26 -05:00
Yaro Kasear
ae55141efe Update .gitignore to include __pycache__ directory and remove compiled Python files 2025-04-30 14:06:06 -05:00
a04ca7960f Make listener.py executable. 2025-04-30 13:59:15 -05:00
Yaro Kasear
2b328b7368 Refactor packet sniffing to run in a loop with a longer timeout for improved performance 2025-04-30 13:58:09 -05:00
Yaro Kasear
2a227d7222 Add support for --no-enrich flag in runtest.sh to skip data enrichment 2025-04-30 13:50:59 -05:00
Yaro Kasear
027890896e Remove redundant debug output in Cisco client reporting and average calculation for improved clarity 2025-04-29 14:50:40 -05:00
Yaro Kasear
e81b0fefd4 Refactor Cisco client data extraction in management frame processing to improve clarity and add debug output for client reports 2025-04-29 14:33:45 -05:00
Yaro Kasear
5ba7e701d5 Add debug output for Cisco SSIDs and BSSID-to-SSID mapping in query_metrics 2025-04-29 14:19:43 -05:00
Yaro Kasear
5e11cfcc80 Refactor debug output in Cisco client tracking for improved clarity and consistency 2025-04-29 14:15:23 -05:00
Yaro Kasear
d9e8a8eac9 Add debug statements in _cisco_avg_clients for improved tracing of Cisco client data queries 2025-04-29 14:10:00 -05:00
Yaro Kasear
44f51d7d0e Refactor Cisco client tracking in IndexedCapture to store timestamps with client counts and update metrics functions for time range filtering 2025-04-29 13:59:06 -05:00
Yaro Kasear
6c231a0830 Enhance SSID tracking in query_metrics by introducing window-based data structures for improved signal statistics and debugging output 2025-04-29 13:34:03 -05:00
Yaro Kasear
21fcc807ad Refactor debug statements in _count_unlinked_devices and related logic for clarity and efficiency 2025-04-29 13:00:29 -05:00
Yaro Kasear
6958e22088 Refactor ghost client detection in _count_unlinked_devices to improve clarity and accuracy 2025-04-29 12:53:53 -05:00
Yaro Kasear
a1cc33e842 Add type assertion and debug statements in query_metrics for AP channel validation 2025-04-29 11:43:14 -05:00
Yaro Kasear
92015c4ba7 Add debug print statements for packet subtype and AP/client tracking in IndexedCapture 2025-04-29 11:30:42 -05:00
Yaro Kasear
a1aefedaff Add debug print statements to query_metrics for improved packet tracking 2025-04-29 11:20:36 -05:00
Yaro Kasear
c6fb5ca049 Add debug print statements to query_metrics for packet analysis insights 2025-04-29 11:07:37 -05:00
Yaro Kasear
6c8f542448 Remove debugging print statements from IndexedCapture to clean up code 2025-04-29 10:56:59 -05:00
Yaro Kasear
32488ccbe2 Add debug print statements to IndexedCapture for packet indexing insights 2025-04-29 10:32:43 -05:00
Yaro Kasear
dca27cf034 Revert a fix that did not work. 2025-04-29 10:28:32 -05:00
Yaro Kasear
6ecb49de99 Refactor query_metrics to utilize packet-specific data for client and AP counts, enhancing accuracy and performance 2025-04-29 10:12:20 -05:00
Yaro Kasear
2a13eed6f9 Add debug print statement to query_metrics for packet count in time range 2025-04-29 10:04:30 -05:00
Yaro Kasear
deedca8d2f Enhance pcap analysis by loading and indexing capture file once, improving efficiency and adding dummy SSID summary generation for future compatibility 2025-04-29 09:43:44 -05:00
Yaro Kasear
f9837f01e8 Refactor pcap analysis by introducing IndexedCapture for efficient data handling and querying 2025-04-29 09:36:38 -05:00
Yaro Kasear
24d9783bb9 Fix display filter typo and add error handling for packet filtering in analyze_pcap function 2025-04-28 16:08:05 -05:00
Yaro Kasear
3675a5e97e Add display filter to pyshark FileCapture in analyze_pcap function 2025-04-28 15:29:54 -05:00
Yaro Kasear
150f8fc448 Add default email body for test completion notification in runtest.sh 2025-04-28 14:57:11 -05:00
Yaro Kasear
b810c93e29 Enhance logging in runtest.sh by implementing session logging and ensuring proper script execution flow 2025-04-28 14:22:36 -05:00
Yaro Kasear
8224deaba1 Add script logging and ensure proper exit in runtest.sh 2025-04-28 14:16:35 -05:00
Yaro Kasear
fc162eb90a Fix email attachment syntax in runtest.sh 2025-04-28 14:14:59 -05:00
Yaro Kasear
e05c3fba99 Fix pyshark FileCapture parameters in analyze_pcap function 2025-04-28 13:53:25 -05:00
Yaro Kasear
69c46aff22 Refactor CSV handling in csv_handler.py and update runtest.sh to log SSID metrics file path 2025-04-28 13:52:17 -05:00
Yaro Kasear
68ed848b54 Update email body default in runtest.sh and correct SSID metrics file path in settings.env.default 2025-04-28 13:24:27 -05:00
Yaro Kasear
5ea493b3f8 Enhance SSID metrics extraction by adding client tracking and updating function signatures 2025-04-28 11:52:45 -05:00
Yaro Kasear
dc9da2e2e3 Fix import statement for merge_ssid_summaries in enrich.py 2025-04-28 10:43:31 -05:00
Yaro Kasear
ad8226d631 Add timing logs to main function for performance tracking during pcap analysis 2025-04-28 10:31:03 -05:00
Yaro Kasear
55b0835dd7 Refactor enrichment module by adding utility functions, enhancing CSV handling, and implementing SSID metrics extraction. Update run_test script to improve logging on speed test failures. 2025-04-24 15:43:36 -05:00
Yaro Kasear
4b9ad6f609 Refactor run_iperf function to handle timeouts and improve error handling 2025-04-24 09:03:49 -05:00
Yaro Kasear
e75b3807f9 Refactor run_iperf function to improve logging and streamline output handling 2025-04-23 12:56:22 -05:00
Yaro Kasear
0818da0351 Refactor get_tx_failed function to remove unnecessary logging and improve performance 2025-04-23 12:41:21 -05:00
Yaro Kasear
5abb99ab86 Add timing logs to key operations in runtest.sh for better performance tracking 2025-04-23 11:57:29 -05:00
Yaro Kasear
5c4cb2606e Refactor run_iperf function and improve test execution logging 2025-04-22 10:17:42 -05:00
Yaro Kasear
d74aa8ba2c Refactor analyze_pcap function to improve SSID encryption status handling and simplify summary output 2025-04-22 09:00:53 -05:00
Yaro Kasear
7be1550278 Enhance analyze_pcap function to store multiple SSID encryption statuses and update summary output 2025-04-22 08:43:56 -05:00