Commit Graph

12 Commits

Author SHA1 Message Date
DL6ER 99a07ba57a Rename super-clients ---> alias-clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-15 19:09:48 +01:00
DL6ER 69c1181085 Change concept of super-clients from MAC-based to index-based. We append a new column to the network table which can be used to assign super-clients to multiple devices. This can both cover automatic grouping (whenever MAC addresses are available) and also situations where this is not possible (when MAC addresses are not available, e.g., due to network layer separation). Real-time signal 3 causes FTL to re-import super-clients from the database without affecting anything else.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-08-12 19:34:56 +02:00
DL6ER f18f758808 Merge branch 'development' into new/mac_clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-05 14:23:36 +02:00
DL6ER 932f42f9d2 Add per-interface client selection.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-20 17:44:49 +02:00
DL6ER e1c56f754d Add support for specifying clients by their host names.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-18 10:54:57 +02:00
DL6ER 1438a24a0c Add name and nameUpdated fields to network_addresses table and drop separated network_names table (if exists). The latter is superseded by the extension of the former.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-18 10:08:55 +02:00
DL6ER 9207608879 Create new network_names table. This adds support for multiple hostnames per client (hardware address). Updates pihole-FTL.db version to 7.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-14 18:44:10 +02:00
DL6ER 8d24d20782 Implement MAC address support.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-13 19:10:02 +02:00
DL6ER c91c39a541 getDatabaseHostname() is guaranteed to allocate memory. Hence, it should be given the attribute ((malloc)).
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-10-20 22:02:16 +02:00
DL6ER 9598f4244e Use network table as secondary source for client host names.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-10-02 17:47:36 +02:00
DL6ER a2961d14a4 Merge branch 'development' into new/modularize_headers
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-07-04 12:21:51 +02:00
DL6ER e365364f72 Move all source files into new subdirectory "src". Put compiled objects into new subdirectory "build".
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-07-02 00:18:56 +02:00