clonejo (a56f1b19) at 15 Sep 18:43
Add request timeout when sending to clubstatusd
clonejo (678e117a) at 26 Mar 22:10
fixup! Change over MAC tracking to simple timeouts, away from ratios
clonejo (241b1f6d) at 26 Mar 19:49
Allow anonymous_client_id to be fixed between restarts
... and 1 more commit
clonejo (ecbb7d2f) at 26 Mar 18:17
Allow anonymous_client_id to be fixed between restarts
... and 4 more commits
I am not sure how useful this is, given that the anonymous users count is already fairly accurate. Also i have a feeling pretty much no-one would use this feature, i might be wrong on that though.
Perhaps just an additional boolean flag in the database. This could be used to report 'x known users' as present rather than individual, named users.
The name (or a unique identifier) still needs to be present to count multiple present devices of a user as one user.
tl;dr: only store the first n bytes of the mac address hash, thus allowing for k-anonymity and greatly reducing the usefulness of brute force attacks against the stored hashes. To verify if a mac address is present, calculate its hash and check for a matching prefix. Depending on the shortness of the prefix there could be multiple results. It should be easy to find a prefix length that has a low enough probability of a collision that still allows for a great number of candidates in a brute force attack.
Example of a similar API: https://haveibeenpwned.com/API/v3#SearchingPwnedPasswordsByRange
Paper regarding k-anonymity for MAC addresses: https://doi.org/10.48550/arXiv.2005.06580
CC: @mrq
clonejo (62a3cb29) at 15 May 23:49
Containerfile for running
clonejo (5c9da752) at 06 Feb 22:19
Do a tiny bit of error handling when nmap fails
clonejo (3f211cb9) at 06 Feb 07:47
auto hide anonymous MACs if they are present x% of the time for y h...
clonejo (a1f41803) at 04 Feb 23:38
auto hide anonymous MACs if they are present x% of the time for y h...
... and 1 more commit
clonejo (9f09403d) at 29 Jan 05:21
slightly better anonymous peers guessing by taking named peers coun...
clonejo (aa25cb7e) at 29 Jan 03:04
guess anonymous users count from MAC address count, and report them
... and 3 more commits
clonejo (7b419441) at 27 Dec 21:45
Log number of hosts found by scanner