DL6ER
|
a709818764
|
Fix storing of API thread IDs
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2022-08-20 15:01:03 +02:00 |
|
DL6ER
|
b92126fd6f
|
Major rewrite of the socket processing routines. Before, we launched a new thread for each incoming connection (more than 40 threads were never allowed). This could potentially be used to DoS FTL by opening and closing telnet sessions in very quick succession. The new behavior is to, instead, launch five (compile-time setting) threads per type (5 for telnet IPv4, 5 for telnet IPv6, and 5 for Unix socket communication) and let them handle incoming connections in a FIFO manner. If too many requests are sent to FTL at once, they will simply have to wait until they are accepted.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2022-08-17 21:36:13 +01:00 |
|
DL6ER
|
f164e81e47
|
Ensure API threads can be canceled asynchronously
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2021-06-24 12:02:46 +02:00 |
|
DL6ER
|
85a22e7485
|
Also cancel other threads when terminating
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2021-06-24 12:02:45 +02:00 |
|
DL6ER
|
e870f7a36a
|
FTL automatically replies with the appropriate IP address to both p.hole and the machine's hostname. The replied with IP address can be overwritten using the REPLY_ADDR4/6 setting.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2021-04-16 11:31:59 +02:00 |
|
DL6ER
|
981a9d1a6e
|
Join canceled threads on exit to ensure they exited properly before we exit from the main process. This includes waiting for them to clean up their own stack memory, etc.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2021-03-16 13:42:49 +01:00 |
|
DL6ER
|
b475e5be1f
|
Ensure we clean up always behind us. Also when FTL crashes
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2021-02-17 11:46:36 +01:00 |
|
DL6ER
|
52af8e135b
|
Merge branch 'release/v5.2' into new/mac_clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2020-07-29 12:21:12 +02:00 |
|
DL6ER
|
b89a6be680
|
Improve logging for forks and thread by including further details to the log ID
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2020-06-26 09:49:57 +02:00 |
|
DL6ER
|
43124f71e6
|
Try to resolve empty host names in the network_addresses table when re-resolving host names (typically once per hour). Do this only for fairly recent IP addresses (hard-coded 24h as we're speaking) to avoid unnecessary noice leading to inaccurate data.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2020-05-18 22:56:55 +02:00 |
|
DL6ER
|
48186a6862
|
Add DELAY_STARTUP setting to delay startup of the embedded dnsmasq.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2020-03-25 10:09:14 +01: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 |
|