Commit graph

207 commits

Author SHA1 Message Date
Yaro Kasear
b7864a537e Remove debug print statement for AP clients in deadpoint check 2025-05-02 09:45:32 -05:00
Yaro Kasear
fc1fdd4423 Update print_suspect_aps to iterate over known APs for suspicious SSID detection 2025-05-02 09:41:49 -05:00
Yaro Kasear
cf3c235415 Fix channel tracking for clients by using packet channel if available 2025-05-02 09:32:11 -05:00
Yaro Kasear
07cbb5c62c Add debug print statement to display clients for each AP in deadpoint check 2025-05-02 09:27:24 -05:00
Yaro Kasear
95c7225628 Track clients communicating with known APs instead of just the target AP 2025-05-02 09:16:49 -05:00
Yaro Kasear
89c210bc9c Add channel frequency handling and enhance deadpoint detection logic 2025-05-02 09:04:23 -05:00
Yaro Kasear
6ae40ca9c5 Add channel hopping feature and track channels for detected APs 2025-05-02 08:47:32 -05:00
Yaro Kasear
2e3484ed83 Enhance suspect AP reporting by including multiple classification reasons 2025-05-01 15:29:21 -05:00
Yaro Kasear
460643b1eb Enhance suspect AP reporting by adding reason for classification 2025-05-01 15:07:52 -05:00
Yaro Kasear
4ed8082481 Add tracking for deadpoint candidates and unlinked devices in AP detection 2025-05-01 15:01:19 -05:00
Yaro Kasear
fdc38e6413 Add support for including probe responses in AP detection and implement suspect SSID reporting 2025-05-01 14:20:17 -05:00
Yaro Kasear
baa3e864bb Add channel argument to main function for monitor interface configuration 2025-05-01 13:16:29 -05:00
Yaro Kasear
67213136e1 Add final AP count summary to main function and remove debug print for beacon frames 2025-05-01 13:03:45 -05:00
Yaro Kasear
c3df0d124f Enhance AP detection by counting beacon frames before adding to the list of seen APs 2025-05-01 11:21:40 -05:00
Yaro Kasear
47b7f4f818 Add debug logging for beacon frames in handle_packet to track AP SSIDs 2025-05-01 11:14:24 -05:00
Yaro Kasear
a81321436a Refactor handle_packet to detect APs using only beacon frames and improve unicast client counting logic. 2025-05-01 11:03:29 -05:00
Yaro Kasear
7be1b48831 Refactor client tracking in handle_packet to improve clarity and add debug logging for counted clients. 2025-05-01 10:52:20 -05:00
Yaro Kasear
021ea90d9a Refactor client tracking in handle_packet to simplify logic and ensure unicast clients are counted correctly, excluding the target AP BSSID. 2025-05-01 10:45:26 -05:00
Yaro Kasear
7d9e33e9ea Fix regex in get_connected_bssid to match MAC addresses case-insensitively and ensure consistent formatting. 2025-05-01 10:28:55 -05:00
Yaro Kasear
9665180077 Enhance BSSID retrieval in get_connected_bssid function using regex for improved accuracy; clean up imports. 2025-05-01 10:25:21 -05:00
Yaro Kasear
7daa6e1543 Refactor ap_clients initialization to use nested defaultdict for improved structure 2025-05-01 10:22:01 -05:00
Yaro Kasear
458c69cca4 Remove redundant client-AP relationship guessing logic from packet handling 2025-05-01 10:18:16 -05:00
Yaro Kasear
c12bdb80e3 Refactor client tracking to use defaultdict for improved counting; update metrics to reflect active clients per AP. 2025-05-01 10:15:40 -05:00
Yaro Kasear
d24157ba52 Handle potential None value for addr2 in packet processing 2025-05-01 10:06:08 -05:00
Yaro Kasear
4517f0cc95 Refactor packet handling to improve client tracking and AP relationship mapping; add function to get connected BSSID. 2025-05-01 10:03:39 -05:00
Yaro Kasear
2da759bf39 Change interface type to monitor in reset_interface; update main function to improve clarity. 2025-05-01 09:19:18 -05:00
Yaro Kasear
17683f5bd5 Add interface reset functionality to main loop; ensure proper state before and after sniffing 2025-05-01 09:16:02 -05:00
Yaro Kasear
de6f0b037b Enhance client tracking and AP relationship mapping in handle_packet; update metrics to reflect active clients per AP. 2025-05-01 09:06:18 -05:00
Yaro Kasear
50aad9ef15 Refactor listener.py to enhance channel syncing and metrics logging; add command-line arguments for interface selection and output file. 2025-04-30 16:15:39 -05:00
Yaro Kasear
3b03e5c048 Add channel tracking and periodic check in main loop 2025-04-30 15:20:43 -05:00
Yaro Kasear
e93addb4c0 Add channel change detection and update logic in main loop 2025-04-30 15:18:48 -05:00
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