1a29325c34
refactor(pkg): rename internals so their names actually make sense
...
A "program" was in fact a plugin, while a "plugin" represented the
plugin's results.
2024-07-20 00:20:28 +02:00
5432360f0e
refactor(pkg): refactor Plugin
to make it easier to test
...
Writing the plugin's output string and exiting the program will no
longer take place in the plugin status itself. It will only be done in
the main program.
2024-07-19 23:46:33 +02:00
b3aa7dfcad
refactor(pkg): rename plugin status constants
2024-07-19 23:27:37 +02:00
47b342b317
refactor(pkg): rename PDRange
to Range
2024-07-19 23:16:57 +02:00
2fa0e37900
refactor: reorganize project in order to include automation ( #1 )
...
Run tests and linters / test (push) Successful in 43s
Run tests and linters / build (push) Successful in 41s
Run tests and linters / lint (push) Successful in 1m22s
Reviewed-on: #1
Co-authored-by: Emmanuel BENOÎT <tseeker@nocternity.net>
Co-committed-by: Emmanuel BENOÎT <tseeker@nocternity.net>
2024-07-19 22:01:34 +02:00
8feb34bbe6
fix(check_zone_serial): use net.JoinHostPort
2023-11-02 11:42:19 +01:00
f67dd244a4
check_zone_serial added
...
This pluging queries a pair of DNSs for a zone's SOA record and ensures
that serials received from both servers match.
2021-02-27 11:26:34 +01:00
14e1a764ae
Changed project URL
2021-02-19 19:10:40 +01:00
8f566fa955
check_ssl_certificate - Fixed map loop syntax
2021-02-19 17:39:08 +01:00
08e8ff920a
check_ssl_certificate - Generate list of supported StartTLS procols
2021-02-19 17:37:57 +01:00
5badf33e31
check_ssl_certificate - Support for ManageSieve/STARTTLS
2021-02-19 17:33:13 +01:00
65239769a0
check_ssl_certificate - SMTP STARTTLS support
...
* Refactored code so that obtaining TLS certificates from server can
have different implementations
* Added SMTP-specific implementation that will send a HELO followed
by a STARTTLS.
2021-02-19 16:53:34 +01:00
55c4a7b3a5
check_ssl_certificate - Handle the case of actually expired certificates
2021-02-19 15:58:40 +01:00
97f0cf48bb
check_ssl_certificate - Comments
2021-02-19 13:41:50 +01:00
830d51365f
check_ssl_certificate - Check additional names
2021-02-19 13:21:06 +01:00
916dc35de6
Use golf for command line parsing
...
* Split command line flags data from the main program data structure
* Use golf to support GNU-style flags
* Added -h/--help flag
2021-02-19 10:53:07 +01:00
2c5d27684a
Cleaner SSL check program
...
* Split off the progam into various functions
* Pass the program's data (plugin, certificate) through a single
structure
2021-02-19 10:38:18 +01:00
cdcb18821f
Additional comments; pointer use where possible
2021-01-07 20:55:10 +01:00
b86fdf53b9
Short documentation for the plugin state code
2021-01-03 12:03:10 +01:00
66a1b017be
Initial import of lib + certificate validity checker
2021-01-03 10:33:21 +01:00