aboutsummaryrefslogtreecommitdiff
path: root/NEWS
AgeCommit message (Collapse)AuthorFiles
2023-02-10Version 1.0HEADv1.0masterSergey Poznyakoff1
2020-03-19Version 0.8v0.8Sergey Poznyakoff1
2020-03-12Use red-black trees to index the hostlist by the host name and IP address.Sergey Poznyakoff1
This speeds up searches and eliminates the possibility of duplicate host entries. * src/rbt.c: New file. * src/Makefile.am: Add new file. * src/config.c (file_read_ip_list): Update diagnostic output. * src/defs.h (LOCAL_IP_LIST_FILE): Rename to MUTABLE_IP_LIST_FILE. All uses changed. * src/ping903.c (ping903): Fix the shutting down diagnostic message. * src/ping903.h: RBT definitions and prototypes. * src/pinger.c (conf_hostping_tail): Rename to immutable_hostping_tail. (FOR_EACH_LOCAL_HOSTPING): Rename to FOR_EACH_MUTABLE_HOSTPING. (save_local_ip_list): Rename to save_mutable_ip_list. All uses changed. (host_name_tree, host_addr_tree): New statics. (pinger_setup): Initialize index trees. (check_host): Look up both the host name and its IP address. All uses changed. (pinger_rbt_insert, pinger_rbt_delete) (hostping_lookup_by_name, hostping_lookup_by_addr): New functions. (hostlist_index,hostlist_unindex): New functions. (pinger_host_add): Insert index entry for the new hostping structure. (get_hostname_stat): Rewrite using index tree lookup. (get_host_matches): Likewise. (hostlist_copy_stat): Likewise. (hostping_match): Remove. (p903_update_commit): Update index trees. (p903_init): Mark all configured hosts as immutable.
2020-03-11Version 0.7v0.7Sergey Poznyakoff1
2020-03-10Version 0.6v0.6Sergey Poznyakoff1
2020-03-07ping903q: new option "-a"Sergey Poznyakoff1
* NEWS: Update. * README: Update. * configure.ac: Version 0.5.90 * doc/ping903q.1: Update. * src/ping903q.c: Disallow the use without arguments. New option -a: query statistics for "all" monitored IPs.
2020-03-06Version 0.5v0.5Sergey Poznyakoff1
* NEWS: Update. * configure.ac: Raise version number. * examples/lib/LWP/Ping903.pm: Remove. * examples/README: Mention Mangemanche. Remove references to lib/LWP/Ping903.pm * examples/dbload: Revert to LWP::UserAgent * examples/inspect: Likewise. * examples/ipadd: Likewise. * examples/ipdel: Likewise.
2020-02-28Implement here-document syntax in configuration file.Sergey Poznyakoff1
Here-document is supported for ip-list and trusted-ip statements. * doc/ping903.conf.5: Document the here-document syntax. * NEWS: Likewise. * examples/inspect: Mention that the created output is a valid configuration file. * src/config.c: Support for here-document. * src/defs.h: Mark printf-like functions as such. * src/ping903.h (CF_HEREDOC_OPCODE): New data type. (cf_callback_arg): Add heredoc member. (STMT_T_HEREDOC): New statement type. * src/remoteip.c (cf_trusted_ip_heredoc): New function. * src/ping903.c: Fix format strings and unused variables. * src/ping903q.c: Likewise. * src/pinger.c: Likewise.
2020-02-27Version 0.4.90Sergey Poznyakoff1
2020-02-27Update NEWSv0.4Sergey Poznyakoff1
2020-02-14Version 0.2v0.2Sergey Poznyakoff1
* NEWS: Update. * README: Update. * THANKS: Update. * doc/ping903.8: Spell checking. * doc/ping903q.1: Likewise. * src/Makefile.am: Distribute ping903.conf * src/ping903.h (HOST_STAT_INIT) (HOST_STAT_VALID,HOST_STAT_PENDING) (HOST_STAT_INVALID): New constants. (host_stat): New member "status". (host_stat_is_valid): Rewrite using status. * src/ping903q.c: "status" is string now. Handle particular values. * src/pinger.c: Maintain current status of each host_stat structure in the status member. (host_stat): Mark object as valid. (host_reset): Update status. (get_host_stat): Report object validity in the "validity" member, and its current status in "status" (string). * src/json.c: Implement json_value_copy. * src/json.h (json_value_copy): New proto. * src/ping903.c (ept_config): Return particular setting, if so requested.
2020-02-11Initial commitSergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.