Notifications about new devices
Provide an utility that can detect newly connected devices.
A newly connected device is recognized by its MAC address. It would either mean „A device I've never seen before“ or „A device I've not seen for at least X hours/days/…“. This is to come from some configuration.
The notification would be likely sent through the turris notification system (similar as the updater uses it), though other options can be considered.
This is partly to provide a user-facing feature. But it is also a testcase for pakon-guts. This would consist of:
-
Making sure we can compile pakon-guts for the router and start it, including connecting it to IPTables. -
Creating another daemon that'd connect to the pakon-guts and read the flows from there and store known MAC addresses. If a new one is seen, the notification is created. This would, of course, go to a separate repository. -
Providing a configuration interface in foris of some kind (the extent of it is open to discussion). -
Packaging it into a user list. -
User documentation for the feature.