removed another debugging test and corrected one debuggin output
[pingcheck] / TODO
CommitLineData
6cc097e6
GMF
1- Validate configuration input errors, adding validation for input values, with
2 more descriptive messages if the user enters wrong values.
3
4- Allows input error handling for values which are not strictly required. The
5 goal is avoid the annoying requirement to put "port" and "interval" at every
6 single host.
7
3bb7e3b9 8- Make the configuration file reloadable (see bpdyndns).
a4de839c
CH
9
10In December 2014 / January 2015 did a lot of changes to ICMP pinger (v4) which were
11 not replicated in TCP pinger nor in ICMPv6 pinger. Should check if same changes
12 need to be applied there, too. In particular, the scheduling of reply receive
13 handlers in ICMP caused trouble, often encountered 'ghost' packages which were all
14 0s because a handler for an old echo request was triggered without new data.
15
16Also, removed threads for each pingchecker, leaving only one thread with one
17 io_service for all pingers. Tested that a lot with ICMP v4 pinger, but no other.
18
19Might also want to move the parsing of incoming ICMP packages into central class
20 because every ICMP socket receives incoming data for all request from same process,
21 so each pinger has to parse all reply packages of requests from other pingers,
22 discarding most of them immediately after parsing. A central IcmpPackageDistributor
23 could be created and updated in PingerFactory and be the only one with an ICMP
24 socket.