Commit graph

25 commits

Author SHA1 Message Date
96637019c1
refactor: change the code's whole structure 2024-07-19 14:29:51 +02:00
a659154937
chore: don't ignore go.sum 2024-07-19 11:03:29 +02:00
1de28c9a10
chore: add build workflow 2024-07-19 09:52:04 +02:00
8feb34bbe6
fix(check_zone_serial): use net.JoinHostPort 2023-11-02 11:42:19 +01:00
bad82cf32d
README - Fix Markdown bug 2023-11-02 10:24:00 +01:00
26ac3da54a README - Section about check_zone_serial 2021-02-27 11:33:28 +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
31850c9901 Plugin - Accept format strings+data for AddLine
Most calls were being made from fmt.Sprintf() anyway, so it was clear
this required formatted input.
2021-02-27 10:54:40 +01:00
a856b449a8 README.md added 2021-02-19 19:28:25 +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
ffe98f702b Build script - Build for x86 and amd64 2021-02-19 13:55:27 +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
ac1eacd2a5 plugin - SetState no longer resets additional text 2021-02-19 13:18:21 +01:00
fc5f4c1638 plugin - "Fixed" comments to silence go-lint 2021-02-19 12:47:00 +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