Commit Graph

152 Commits (925a456de7b83e8292d538995676b07d0b8528f5)

Author SHA1 Message Date
Philippe PITTOLI 925a456de7 Migration script: first draft. 2024-06-08 22:43:43 +02:00
Philippe PITTOLI b53b31b584 CAA entries. 2024-06-08 03:55:52 +02:00
Philippe PITTOLI 5cbcbdaa8f Removing a domain: domain may not have tokens. 2024-06-02 01:58:56 +02:00
Philippe PITTOLI de8beb0df8 New DODB API. 2024-06-01 03:35:53 +02:00
Philippe PITTOLI 7bee53d625 Adapt to the DODB cached mode. 2024-05-07 21:00:01 +02:00
Philippe PITTOLI 234259a9d0 Check if the user is admin with `is_admin?` function in `dnsmanagerd`. 2024-05-07 12:48:52 +02:00
Philippe PITTOLI 4923fb34f9 Use cached indexes. 2024-05-07 01:32:37 +02:00
Philippe PITTOLI 158d772727 User authentication: limit the number of domains sent in "Logged" to a hundred. 2024-04-28 17:16:06 +02:00
Philippe PITTOLI 723c1a83a0 Update expected messages. 2024-04-28 16:17:47 +02:00
Philippe PITTOLI ebd9bd75a5 Prevent a basic hack. 2024-04-28 16:17:28 +02:00
Philippe PITTOLI 4606f852cc Client: can be built again. Add a makefile rule to generate all zones. 2024-04-28 12:56:45 +02:00
Philippe PITTOLI 1f69839333 Only delete the domain when the user is the last owner. 2024-04-28 01:24:55 +02:00
Philippe PITTOLI a188d28f1d Ownership is now managed. 2024-04-27 23:10:01 +02:00
Philippe PITTOLI 8cafca13be WIP: ownership management. Some empty functions. 2024-04-27 20:08:34 +02:00
Karchnu a888551bbc Compatible with the webclient again. Full audit REQUIRED. 2024-04-27 18:30:49 +02:00
Karchnu 40fcc9c66e Complete overhaul of ownership management: add a domain db, remove user data db. 2024-04-27 17:32:22 +02:00
Karchnu 61bace491c Ownership: full overhaul in progress. 2024-04-27 05:48:28 +02:00
Philippe PITTOLI 9b6457f575 DMARC. 2024-04-15 23:13:57 +02:00
Philippe Pittoli cad863e5f9 Downcase new domains. 2024-03-31 20:59:46 +02:00
Philippe Pittoli 6a9516e2c8 Token handler: now handles local updates (from a dev environment). 2024-03-31 17:57:11 +02:00
Philippe Pittoli f63eff59a8 Token handler: print a relevant error message. 2024-03-31 17:45:43 +02:00
Philippe Pittoli a6272b3873 Authd now handles authorization as well. 2024-03-31 11:51:42 +02:00
Philippe Pittoli 407cfc874a Properly handle multiple lines targets (TXT, DKIM). 2024-03-23 12:22:33 +01:00
Philippe Pittoli 8bef46803e Only compile the server by default. 2024-03-23 11:47:05 +01:00
Philippe Pittoli 336e231d3f MX RRs: do not use `is_subdomain_valid?` function. 2024-03-18 02:41:10 +01:00
Philippe Pittoli c7b0826da5 SRV: fixes a long standing neglect of SRV RRs. 2024-03-18 02:30:39 +01:00
Philippe Pittoli 729139232d (minor) change the way messages are printed. 2024-03-17 23:07:02 +01:00
Philippe Pittoli ffa4cd6b37 Makefile: add `--progress` to OPTS + add a `release` rule. 2024-03-17 23:05:50 +01:00
Philippe Pittoli 56706e66f2 Slighly change logs. 2024-03-17 22:45:19 +01:00
Philippe Pittoli f0eb1790bf Compile with options (release mode). 2024-03-17 05:41:50 +01:00
Philippe Pittoli c8cd9a1fb2 Wipe data from users not recognized by authd. 2024-03-17 05:41:18 +01:00
Philippe Pittoli b2fdc4df5b Find orphan domains. 2024-03-17 05:15:50 +01:00
Philippe Pittoli 62ac51c54b UserDataID: Int32 -> UInt32. Can now wipe user data. 2024-03-16 07:03:04 +01:00
Philippe Pittoli 59304cf751 Token update: validate the IP addresses before update. 2024-03-15 03:47:35 +01:00
Philippe Pittoli 611765d45d Token-handler now uses HTTP headers to know the true origin IP address. 2024-03-14 23:19:15 +01:00
Philippe Pittoli 76244e6fe7 Makefile: run-token-handler 2024-03-14 23:11:51 +01:00
Philippe Pittoli f2b5ce3f23 Makefile: update token-handler without checking src/ directory. 2024-03-14 04:44:09 +01:00
Philippe Pittoli 945e366097 use_token: update only when addresses differ, and update serial. 2024-03-14 04:43:02 +01:00
Philippe Pittoli b3aa91fd07 Client: code simplification. Token-handler: works. 2024-03-14 04:36:03 +01:00
Philippe Pittoli 7786f1d3b8 Can now use tokens. 2024-03-14 02:43:00 +01:00
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