New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[airodump-ng] Revamped the GPS logging functionality #1980

Closed
wants to merge 1 commit into
base: master
from

Conversation

3 participants
@nathanh2011
Copy link

nathanh2011 commented Oct 20, 2018

This is my first contribution so please be gentle.

As a bit of background I have been using Aircrack (airodump specifically) for many years for WIFI survey and mapping. I have made the following changes several times over the years but thought I would offer it to the main branch to save me having to add it after every update and if other people can get use from it. Essentially I found the GPS logging and default file formats for recording actual locations of WIFI APs to be lacking and incorrect (especially if you lose GPS signal). The majority of my work is dedicated to accurately map signal strengths of APs so I modified the Airodump program to give me the details and resolution I needed.

I hope someone else finds this helpful. Below are the actual changes.

Revamped the GPS logging functionality

  • Changed the GPS logging function to be a thread instead of a separate process for closer integration
  • Wrapped the GPSd socket reader in a while loop to reconnect if we lose connection to the service
  • Fixed the GPS to only provide a valid fix and reset if no valid fix is found in 5 seconds (prevents incorrect GPS data being used)

Added a new output format 'logcsv'

  • The logcsv will write a CSV line on each refresh to output the seen APs with basic info and the current GPS fix. This format is ideal for wardriving and gives a more accurate map of APs and signal strengths compared to the max/avg/min you get from the other formats.
Nathan
Revamped the GPS logging functionality
- Changed the GPS logging function to be a thread instead of a separate process for closer integration
- Wrapped the GPSd socket reader in a while loop to reconnect if we lose connection to the service
- Fixed the GPS to only provide a valid fix and reset if no valid fix is found in 5 seconds (prevents incorrect GPS data)

Added a new output format 'logcsv'
- The logcsv will write a CSV line on each refresh to output the seen APs with basic info and the current GPS fix. This format is ideal for wardriving and gives a more accurate map of APs and signal strengths compared to the max/avg/min you get from the other formats.
@coveralls

This comment has been minimized.

Copy link

coveralls commented Oct 20, 2018

Coverage Status

Coverage decreased (-0.04%) to 40.178% when pulling beb6ba8 on nathanh2011:master into 155b9af on aircrack-ng:master.

@nathanh2011 nathanh2011 changed the title Revamped the GPS logging functionality [airodump-ng] Revamped the GPS logging functionality Oct 20, 2018

@jbenden

This comment has been minimized.

Copy link
Collaborator

jbenden commented Dec 1, 2018

Merged, with slight changes. Thanks!

@jbenden jbenden closed this Dec 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment