module PatronusFati
Constants
- AP_EXPIRATION
Number of seconds before we consider an access point as offline
- BSSID_TYPE_MAP
- CLIENT_EXPIRATION
Number of seconds before we consider a client as no longer within range.
- CLIENT_TYPE_MAP
'DS' is short for distribution system, it has something to do with packet domains 'BSS' (the prefix on BSSID) but it's clear that identifier is more than what I thought it was…
- CONNECTION_EXPIRATION
How long before a connection between a client and an access point is consider no longer actively connected.
- DATA_DELIMITER
- DisconnectError
- Error
- INTERVAL_DURATION
How long each interval will last in seconds
- ParseError
- SERVER_MESSAGE
- SIGNAL_THRESHOLD
The minimum signal threshold we'll use to decide whether or not to track a new access point or client. This help remove noise in the produced data.
- SIMULTANEOUS_SSID_THRESHOLD
This is how many tracked intervals that need to be seen overlapping before we consider an access point as transmitting multiple SSIDs. The length of this is dependent on the length of presence intervals. The value of
INTERVAL_DURATION
determines the length of one interval.- SSID_CRYPT_MAP
This map was retrieved from a combination of the packet_ieee80211.h header file and dumpfile_netxml.cc source in the kismet git repo.
- SSID_CRYPT_MAP_INVERTED
- SSID_EXPIRATION
Number of seconds before we consider an access point no longer advertising an SSID. It is safe for this to be longer than the AP expiration; If we think the AP has gone offline we will automatically mark all SSIDs as inactive.
- SSID_TYPE_MAP
- SYNC_FLAGS
Various states of synchronization an individual model can be in. The various sync states should remain exclusive to each other (no more than one should be set). Dirtiness is an indicator of what we need to sync.
- VERSION
- WINDOW_INTERVALS
How many intervals do we break each of our windows into? This must be less than 64.
- WINDOW_LENGTH
How many seconds do each of our windows last
- WPS_SETTING_MAP
Public Class Methods
# File lib/patronus_fati.rb, line 38 def self.event_handler @event_handler ||= PatronusFati::EventHandler.new end
# File lib/patronus_fati.rb, line 46 def self.logger @@logger ||= Logger.new(STDOUT) end
# File lib/patronus_fati.rb, line 50 def self.logger=(logger) @@logger = logger end
# File lib/patronus_fati.rb, line 62 def self.past_initial_flood! @@flood_status = true end
# File lib/patronus_fati.rb, line 58 def self.past_initial_flood? @@flood_status ||= false end
# File lib/patronus_fati.rb, line 42 def self.setup(kismet_server, kismet_port) PatronusFati::Connection.new(kismet_server, kismet_port) end
# File lib/patronus_fati.rb, line 54 def self.startup_time @@startup_time end