mjaakko / NeoStumbler

New stumbler application for contributing data to geolocation services
MIT License
138 stars 13 forks source link

Exclude Wi-Fis by SSID #296

Open mjaakko opened 1 month ago

mjaakko commented 1 month ago

Currently all Wi-Fi access points are included in the reports (except those where SSID is empty or ends with "_nomap"). To save storage space and to avoid transmitting useless data over the network, those APs which get discarded by the server anyway could be excluded from the reports

Implementation:

Allow importing exclusion rules from a file. If no rules have been selected, all access points are collected as it is now

See https://codeberg.org/beacondb/common-network-index for the rules used by BeaconDB

Mikaela commented 3 weeks ago

I hope importing file means that a file could just be linked and it could have some local cache/fallover support if the file link returned an error.

boredsquirrel commented 2 weeks ago

https://codeberg.org/beacondb/common-network-index

mjaakko commented 1 week ago

It would be nice to have a list in the repo that users can easily contribute to, that is then used inside the app, somehow.

I think it's best if we use the common-network-index repo from BeaconDB and provide a way to import it to NeoStumbler. Importing it from a file would be easiest to implement, but it would be better for usability to be able to provide an URL where the updates are automatically fetched

lucasmz-dev commented 1 week ago

Impacts privacy as well

boredsquirrel commented 6 days ago

there currently is the question how to deal with SSIDs that are used for moving AND stationary wifis.

this sounds like it would require way more advanced things, like having a secondary DB of all public transport stations, and collecting those networks only when near them.

mjaakko commented 6 days ago

there currently is the question how to deal with SSIDs that are used for moving AND stationary wifis.

Those can be dealt with on the server-side by looking at whether the access point is moving or not. Excluding APs based on the SSID would only be pre-filtering for those APs where we can be sure that it's moving