Commit Graph

112 Commits (8534dcb246c286ec88870c248d86fd46d42e70b9)

Author SHA1 Message Date
Philippe Pittoli 8534dcb246 Use exceptions extensively. 2024-03-14 02:03:26 +01:00
Philippe Pittoli 8824835975 DKIM: downcase algorithms, accept ED25519. 2024-03-13 20:18:42 +01:00
Philippe Pittoli 05fff1b83b Add a line return after closing parenthesis in DKIM. 2024-03-13 18:25:28 +01:00
Philippe Pittoli e36e408f8e Minor changes. Cleaner code. 2024-03-13 03:58:46 +01:00
Philippe Pittoli ff29717bbd Shameful bugfix. 2024-03-13 03:00:52 +01:00
Philippe Pittoli 088980109d WIP: Tokens. Can create tokens for RRs and their indexes + partitions. 2024-03-13 01:16:09 +01:00
Philippe Pittoli 0c817e1f96 token-handler + build only when necessary 2024-03-12 21:51:59 +01:00
Philippe Pittoli 6e1a7ead08 token handler 2024-03-12 02:36:01 +01:00
Philippe Pittoli 70fb6d130c WIP: DKIM messages are accepted. 2024-03-11 23:39:18 +01:00
Philippe Pittoli 1a9666df23 WIP: DKIM. 2024-03-11 21:24:23 +01:00
Philippe Pittoli 4cfd068193 SPF: modifiers require a "=" character, not ":". 2024-03-07 03:20:16 +01:00
Philippe Pittoli 26d01a0b63 Automatically update the SOA serial. 2024-03-07 02:52:59 +01:00
Philippe Pittoli 62199f27e3 SPF: print the version in the TXT record. 2024-03-07 01:20:49 +01:00
Philippe Pittoli d105fa2e38 SPF Qualifier: None -> Neutral. 2024-03-06 00:24:38 +01:00
Philippe Pittoli 21394f7d81 minor fix. Use ':' instead of '=' for SPF mechanisms and modifiers. 2024-03-06 00:20:15 +01:00
Philippe Pittoli be6359d984 WIP: SPF: Modifiers: to_bind9. 2024-03-01 19:50:06 +01:00
Philippe Pittoli b73d67233e SPF modifier: now downcased. 2024-03-01 18:34:48 +01:00
Philippe Pittoli 9953ccfb0b WIP: SPF. Produce correct mechanism TXT bind9 output. 2024-03-01 02:27:28 +01:00
Philippe Pittoli fcbed27f60 DEBUG: test-storage tool, add SPF example. 2024-02-29 04:52:54 +01:00
Philippe Pittoli 98d0c3c28a WIP: SPF, to_s + to_bind9. 2024-02-29 04:51:40 +01:00
Philippe Pittoli faacccda15 Users can now ask for the zonefile. 2024-02-27 07:42:10 +01:00
Philippe Pittoli ba872ac4a9 WIP: new dedicated SPF, DKIM and DMARC RRs. 2024-02-27 04:51:49 +01:00
Philippe Pittoli bd0c3d5fdd GenerateAllZoneFiles + GenerateZoneFile: working as expected. 2024-02-25 04:13:18 +01:00
Philippe Pittoli 5ba3bb2559 New tool, to give admin status to a user: dnsmanager-admin 2024-02-24 19:38:36 +01:00
Philippe Pittoli d1f890f869 Add a tool for debug purposes: json2bind9 2024-02-24 18:57:58 +01:00
Philippe Pittoli 891be61722 Provide bind9 file format export of domain zones. 2024-02-24 07:30:16 +01:00
Philippe Pittoli 8bec7eb33c Fix logging, add zone file generation request. 2024-02-24 06:54:59 +01:00
Philippe Pittoli 0a03977a5e Maintenance: add a sanity check. 2024-02-24 06:54:20 +01:00
Philippe Pittoli a708d8fc46 Don't print KeepAlive messages by default. 2024-02-20 23:28:58 +01:00
Philippe Pittoli 2b3fe276a5 Implement Keep Alive messages. 2024-02-20 17:14:13 +01:00
Philippe Pittoli 203c6aed54 RRUpdated + RRReadOnly. 2023-07-12 16:10:25 +02:00
Philippe Pittoli 9be374b492 InvalidRR + s/InvalidZone/DomainNotFound/ + domain regex with final ".". 2023-07-11 04:09:46 +02:00
Philippe Pittoli 01a1dbc522 Remove debug prints. 2023-07-11 04:02:24 +02:00
Philippe Pittoli 52e7aea4fa RRAdded response message. 2023-07-11 02:15:37 +02:00
Philippe Pittoli 3fcb3a0d64 RRDeleted response message. 2023-07-10 03:34:06 +02:00
Philippe Pittoli af7379ad43 Fix: user data is created at first connection but not returned. 2023-07-07 20:23:38 +02:00
Philippe Pittoli 7d641b9168 Makefile: rm-db 2023-07-07 20:23:19 +02:00
Philippe Pittoli 4fe6bd7c9e Specific message for domain deletion. 2023-07-03 12:23:18 +02:00
Philippe Pittoli 63da767caa A few new messages to auto-update client's state while logging itself. 2023-07-01 16:04:38 +02:00
Philippe Pittoli 35072753d4 When replacing a domain name in the template: Domain -> FQDN. 2023-06-30 00:12:40 +02:00
Philippe Pittoli 63b32d8932 Fix about matching acceptable domains. 2023-06-30 00:01:25 +02:00
Philippe Pittoli 81d34862e2 Print events only when asked. 2023-06-29 23:41:06 +02:00
Philippe Pittoli d9b1b623ab Ignore the template directory content. 2023-06-29 19:09:16 +02:00
Philippe Pittoli 60a1c0914a TODO: update. 2023-06-29 19:07:09 +02:00
Philippe Pittoli e1db03b459 Verify accepted domains and pre-load some RRs. 2023-06-29 18:29:25 +02:00
Philippe Pittoli d12af2047f New verifications (accept only acceptable domains) + new errors. 2023-06-29 12:27:15 +02:00
Philippe Pittoli 41b790a4a8 Remove useless comment. 2023-06-29 11:01:21 +02:00
Philippe Pittoli 9022dc91ea Templates are now (slightly) checked. 2023-06-29 10:20:34 +02:00
Philippe Pittoli 65c928dd62 Fix a wrong comment. 2023-06-29 08:41:35 +02:00
Philippe Pittoli 3580073fda Verify accepted domain templates at startup. 2023-06-28 17:59:13 +02:00