Commit Graph

198 Commits

Author SHA1 Message Date
7bee53d625 Adapt to the DODB cached mode. 2024-05-07 21:00:01 +02:00
234259a9d0 Check if the user is admin with is_admin? function in dnsmanagerd. 2024-05-07 12:48:52 +02:00
4923fb34f9 Use cached indexes. 2024-05-07 01:32:37 +02:00
158d772727 User authentication: limit the number of domains sent in "Logged" to a hundred. 2024-04-28 17:16:06 +02:00
723c1a83a0 Update expected messages. 2024-04-28 16:17:47 +02:00
ebd9bd75a5 Prevent a basic hack. 2024-04-28 16:17:28 +02:00
4606f852cc Client: can be built again. Add a makefile rule to generate all zones. 2024-04-28 12:56:45 +02:00
1f69839333 Only delete the domain when the user is the last owner. 2024-04-28 01:24:55 +02:00
a188d28f1d Ownership is now managed. 2024-04-27 23:10:01 +02:00
8cafca13be WIP: ownership management. Some empty functions. 2024-04-27 20:08:34 +02:00
a888551bbc Compatible with the webclient again. Full audit REQUIRED. 2024-04-27 18:30:49 +02:00
40fcc9c66e Complete overhaul of ownership management: add a domain db, remove user data db. 2024-04-27 17:32:22 +02:00
61bace491c Ownership: full overhaul in progress. 2024-04-27 05:48:28 +02:00
9b6457f575 DMARC. 2024-04-15 23:13:57 +02:00
cad863e5f9 Downcase new domains. 2024-03-31 20:59:46 +02:00
6a9516e2c8 Token handler: now handles local updates (from a dev environment). 2024-03-31 17:57:11 +02:00
f63eff59a8 Token handler: print a relevant error message. 2024-03-31 17:45:43 +02:00
a6272b3873 Authd now handles authorization as well. 2024-03-31 11:51:42 +02:00
407cfc874a Properly handle multiple lines targets (TXT, DKIM). 2024-03-23 12:22:33 +01:00
8bef46803e Only compile the server by default. 2024-03-23 11:47:05 +01:00
336e231d3f MX RRs: do not use is_subdomain_valid? function. 2024-03-18 02:41:10 +01:00
c7b0826da5 SRV: fixes a long standing neglect of SRV RRs. 2024-03-18 02:30:39 +01:00
729139232d (minor) change the way messages are printed. 2024-03-17 23:07:02 +01:00
ffa4cd6b37 Makefile: add --progress to OPTS + add a release rule. 2024-03-17 23:05:50 +01:00
56706e66f2 Slighly change logs. 2024-03-17 22:45:19 +01:00
f0eb1790bf Compile with options (release mode). 2024-03-17 05:41:50 +01:00
c8cd9a1fb2 Wipe data from users not recognized by authd. 2024-03-17 05:41:18 +01:00
b2fdc4df5b Find orphan domains. 2024-03-17 05:15:50 +01:00
62ac51c54b UserDataID: Int32 -> UInt32. Can now wipe user data. 2024-03-16 07:03:04 +01:00
59304cf751 Token update: validate the IP addresses before update. 2024-03-15 03:47:35 +01:00
611765d45d Token-handler now uses HTTP headers to know the true origin IP address. 2024-03-14 23:19:15 +01:00
76244e6fe7 Makefile: run-token-handler 2024-03-14 23:11:51 +01:00
f2b5ce3f23 Makefile: update token-handler without checking src/ directory. 2024-03-14 04:44:09 +01:00
945e366097 use_token: update only when addresses differ, and update serial. 2024-03-14 04:43:02 +01:00
b3aa91fd07 Client: code simplification. Token-handler: works. 2024-03-14 04:36:03 +01:00
7786f1d3b8 Can now use tokens. 2024-03-14 02:43:00 +01:00
8534dcb246 Use exceptions extensively. 2024-03-14 02:03:26 +01:00
8824835975 DKIM: downcase algorithms, accept ED25519. 2024-03-13 20:18:42 +01:00
05fff1b83b Add a line return after closing parenthesis in DKIM. 2024-03-13 18:25:28 +01:00
e36e408f8e Minor changes. Cleaner code. 2024-03-13 03:58:46 +01:00
ff29717bbd Shameful bugfix. 2024-03-13 03:00:52 +01:00
088980109d WIP: Tokens. Can create tokens for RRs and their indexes + partitions. 2024-03-13 01:16:09 +01:00
0c817e1f96 token-handler + build only when necessary 2024-03-12 21:51:59 +01:00
6e1a7ead08 token handler 2024-03-12 02:36:01 +01:00
70fb6d130c WIP: DKIM messages are accepted. 2024-03-11 23:39:18 +01:00
1a9666df23 WIP: DKIM. 2024-03-11 21:24:23 +01:00
4cfd068193 SPF: modifiers require a "=" character, not ":". 2024-03-07 03:20:16 +01:00
26d01a0b63 Automatically update the SOA serial. 2024-03-07 02:52:59 +01:00
62199f27e3 SPF: print the version in the TXT record. 2024-03-07 01:20:49 +01:00
d105fa2e38 SPF Qualifier: None -> Neutral. 2024-03-06 00:24:38 +01:00