From 5c707e215d84b0675717bae4803a901cbf4180f4 Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Tue, 3 May 2011 11:04:44 +0200 Subject: [PATCH] Updated TODO --- TODO | 57 +++++++++++++++++++++++++++++++++------------------------ 1 files changed, 33 insertions(+), 24 deletions(-) diff --git a/TODO b/TODO index e55796f..79a164e 100644 --- a/TODO +++ b/TODO @@ -1,41 +1,31 @@ Wish List ======================================= +- TCP ping: Open connection to configurable port (HTTP, SMTP etc.). -- Implement a factory method to create the Pingers objects. Something like: - smart_ptr pinger_ptr = PingerCreator::create(PingerCreator::Boost) +- IPv6 support. Remember to change the addressv4 to address, so both can work at + the same time. -- Design a timer class on top of boost timer, but simpler. - TODO: Why? +- Make it configurable if an IP should be reached by IPv4only or IPv6only or + IPv6first, IPv4first. -- Include the i18n_noop in the strings, but this requires linking with the - libgettext. +- QoS-Flags of the ping packets should be configurable. + +- Implement a factory method to create the Pingers objects. Something like: + smart_ptr pinger_ptr = PingerCreator::create(PingerCreator::Boost) - Refactor the BoostPinger class, it is becoming a monster. Maybe split it in two classes, receive and send. - Unit Test with boost::test. -- TCP ping: Open connection to configurable port (HTTP, SMTP etc.). - -- IPv6 support. - -- Make it configurable if an IP should be reached by IPv4only or IPv6only or - IPv6first, IPv4first. - -- QoS-Flags of the ping packets should be configurable. - - Execute a libt2n call if XX hosts are down instead of a script. -- Make the log level configurable. - - Make the configuration file reloadable (see bodyndns). - -Known Bugs +TODO ======================================= - -- Perform a better treatment of missing configuration items, actually the - application just crashes. +Guilherme: +- fix config parser: - If one of the "[host]" in the configuration file omit the "interval" entry, the application uses the next "[host]"'s "interval" entry, instead of a @@ -54,9 +44,28 @@ Known Bugs Thus, the tuples will be (A,1) , (B,3), (C,?), but A should have a default value, instead of borrow B's value. +- Perform a better treatment of missing configuration items, actually the + application just crashes. + +- Documentation of the functions (doxygen) + +- Make the link down interval also configurable. Today it is possible just to + configure the amount of time the link must to be up to notify. Do another + configuration to allow the time of link down. + - The interval between each ping to the same host is 1 second later than in the configuration file. For example, a ping configured to be performed each 5 seconds takes 6. -- The sequence number is always 1. As the BoostPinger is created for just one - ping. +Tom: +- Signal handling +- Make the log level configurable. +- Unique identifier +- Incrementing sequence number (The sequence number is always 1) + +- In boost-net-dns/network_array.hpp fix the type-punning to enforce better type + checking. Also allows the optimization -O2 on GCC with strict-aliasing warning. + +Known Bugs +======================================= +No bugs :) -- 1.7.1