Age | Commit message (Collapse) | Author | Files | |
---|---|---|---|---|
2023-02-10 | Version 1.0HEADv1.0master | Sergey Poznyakoff | 1 | |
2020-09-19 | Proof-read the docs. | Sergey Poznyakoff | 1 | |
2020-03-10 | Proof-read the docs. Make configuration file optional. | Sergey Poznyakoff | 1 | |
2020-02-28 | Implement "auth none" type. | Sergey Poznyakoff | 1 | |
* src/ping903.c (cf_auth): Support for "auth none". (try_auth): Take action depending on the type of the matching auth_location structure. * doc/ping903.conf.5: Document "auth none" * src/ping903.conf: Example of "auth none". | ||||
2020-02-28 | Implement here-document syntax in configuration file. | Sergey Poznyakoff | 1 | |
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-27 | Document basic authorization | Sergey Poznyakoff | 1 | |
2020-02-27 | Process updates asynchronously. | Sergey Poznyakoff | 1 | |
Instead of directly modifying the host list, update requests are queued and applied to the list at the start of the next ping cycle. This speed ups updates and avoids their adverse effect on non-destructive get requests. * README: Document changes. * doc/ping903.conf.5: Document the http-backlog-size parameter. * src/ping903.c (http_response_detail): New function. (ept_ip_delete, ept_ip_put, ept_ip_post) (ept_host_stat, ept_ip_stat): Provide meanungful error descriptions. * src/ping903.h: Definitions for the Update and Get error codes. * src/pinger.c: Queue update requests and commit them to the main host list at the beginning of the ping cycle. (update_mutex): New variable. (check_host,update_add) (update_commit): New functions. (hostlist_updated): Remove variable. (get_hostname_stat,get_ipaddr_stat,get_all_host_stat) (get_all_hosts,get_host_matches): Return meaningful error codes. (pinger_host_delete_by_name,pinger_host_add_name) (pinger_hostlist_set): Operate on the update request queue instead of the main host list. Return meaningful error codes. (start_probe): Remove. (p903_scheduler): Commit updates at the beginning of the cycle. Lock the list using sendq_mutex. (p903_saver): Call update_commit. | ||||
2020-02-13 | Change default listen address to 127.0.0.1 | Sergey Poznyakoff | 1 | |
2020-02-12 | Add manpages | Sergey Poznyakoff | 1 | |