Commit Graph
27 Commits
Author SHA1 Message Date
DL6ER decef2e5fd Remove special support for old type of wildcard lists as dnsmasq config file
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-05-19 14:46:21 +02:00
DL6ER 870560e6a7 Adjust spacing and remove unneccesary newline
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-05-11 17:09:15 +02:00
DL6ER 496741ce99 Generate and log simple backtrace on SIGSEGV, although much less powerful than inside the debugger (e.g., it cannot give precise line numbers) it should at least be able to show in which function the crash happened
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-05-11 17:03:57 +02:00
DL6ER 73c8015439 Use correct datatype for timestamp in signals.c
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-04-29 11:27:48 +02:00
DL6ER d097f94185 Don't handle SIGINT any longer as dnsmasq is using it now for to turn on DNSSEC time validation when "--dnssec-no-timecheck" is in use.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-03-18 20:31:15 +01:00
DL6ER 74c8a19d5f Re-enable SIGINT and SIGSEGV handler. All other signals are handled by the resolver code
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-25 00:06:12 +01:00
DL6ER ea3309e7b1 Initial commit for FTLDNS
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-22 20:21:06 +01:00
DL6ER 5704d72c1d Add timers
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-01-15 23:13:12 +01:00
DL6ER c3546c6da4 Fix a small typo
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-25 18:01:09 +02:00
DL6ER 84e92df597 Re-parse gravity data when receiving SIGHUP
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-25 17:45:09 +02:00
DL6ER 952024107f Improve crash message 2017-07-07 17:55:29 +02:00
DL6ER 1de8fc4311 Try to detect who send SIGTERM/SIGINT signals 2017-04-12 15:01:39 +02:00
DL6ER 77ef25e4d9 Remove logg_uint and test if FTL log can be opened at start of FTL 2017-04-08 18:46:16 +02:00
DL6ER 16a788429b Removed logg_str 2017-04-08 18:34:37 +02:00
DL6ER ece9f18c1b Removed logg_int 2017-04-08 18:27:56 +02:00
DL6ER 82aed82bf7 Increase verbosity and don't exit if PID file cannot be read 2017-04-03 15:24:06 +02:00
DL6ER d779673fa1 Re-parse all logs when receiving signal SIGUSR1 2017-04-02 23:59:49 +02:00
DL6ER 2b34562da1 Don't go into debugger when catching SIGSEGV, because the address pointer will only point to the signal handler, effectively masking the origin of the problem 2017-03-31 19:39:11 +02:00
DL6ER 3c8c75a7a5 Don't use abort for SIGINT since it may generate a core dump (if enabled) 2017-03-31 15:08:54 +02:00
DL6ER cb538f434c If a given signal was previously set to be ignored, this code avoids altering that setting. This is because non-job-control shells often ignore certain signals when starting children, and it is important for the children to respect this. 2017-03-31 15:07:55 +02:00
DL6ER 7eb46902af Use abort() when handling signals 2017-03-31 14:48:40 +02:00
DL6ER 9b59f4eaa2 Handle SIGINT 2017-03-31 14:34:09 +02:00
DL6ER e3b549e377 Improve code output 2017-03-31 14:17:21 +02:00
DL6ER c49b406fcc Calling backtrace inside a signal handler is (unfortunately) meaningless 2017-03-31 13:48:34 +02:00
DL6ER afe94d4c36 Going from "::" to ">" 2017-03-31 13:26:39 +02:00
DL6ER 7f9229ae5a Add application self-debugging. Also, don't silently get killed on SIGSEGV. Furthermore, try to automatically attach to the debugger on crashing (only if running in debug mode) 2017-03-31 13:18:47 +02:00
DL6ER 68984e354e Initial upload of the FTL engine 2017-02-02 12:44:45 +01:00