Commit Graph

124 Commits

Author SHA1 Message Date
b2b519a2c4 Remove CommProtocolReceive commands, Remove protocol onConnect() functions, pass Setup::class to protocols 2024-11-23 23:26:05 +11:00
7352a74a12 Deprecate singleOrFail() in favour of sole() 2024-11-23 23:26:05 +11:00
5874b2aef1 Reduce the need for Mailer::class in protocols 2024-11-23 23:26:05 +11:00
e7a94d906f Fix for protocols not showing system sysop name and location 2024-11-05 20:39:13 +11:00
3aeeed1686 Consistency and SQL Query optimisations - focused around the UI 2024-11-04 23:00:17 +11:00
3b7ce4b9ce Optimise the setting of our configuration via Setup::class, optimise the calculation of our_addresses() 2024-11-02 23:30:42 +11:00
d792bf8fe3 Us our const as our product name presented to remote mailers 2024-10-29 21:41:29 +11:00
c76995fa00 Revert 693e88 since unsuccessfully sent mail shouldnt be marked as sent 2024-10-09 14:11:11 +11:00
caac9c21a8 If we are given a zero byte file, we SKIP it 2024-09-30 09:12:21 +10:00
bfab8c7d26 If we get a file we cannot parse, then send back a SKIP and keep going 2024-09-25 00:10:50 +10:00
4501443a43 Improvements to finding idle nodes, last_session actually only shows the last time the remote polled us 2024-09-15 22:37:35 +10:00
693e88bc01 Abort on M_SKIP since it incorreclty marks items as sent, and thus they are not sent again 2024-09-09 14:20:55 +10:00
2456402246 Implement M_SKIP in binkp protocol 2024-09-09 14:02:51 +10:00
d25dae2427 Make debug logging of binkd consistent with other logging statements 2024-06-28 15:31:30 +10:00
f006d829f4 Fix for originating calls and not recognising that the remote accepted our password 2024-06-27 09:09:47 +10:00
6374725e8e Added debugging for our read buffer, for problem debugging 2024-06-27 08:57:00 +10:00
d8c68bcaa2 Change DNS logging, especially around missing details 2024-06-27 08:20:52 +10:00
a82927c1f6 Reduce DNS query debugging 2024-06-26 23:56:30 +10:00
b62f18cf3d Remove protocol checking for validated, presented akas are now by definition valid 2024-06-26 23:42:25 +10:00
b88046d57e Record AKA we are sending to, not system name 2024-06-26 23:11:08 +10:00
91d4cd0b2f Lower the severity of a message when an AKA is not in our domain 2024-06-26 16:02:26 +10:00
db8475053c Attempt to catch Sending we got an EXCEPTION when in maintenance mode 2024-06-26 12:18:06 +10:00
c28392b2b6 Remove deprecated methods 2024-06-15 18:29:55 +10:00
829fe1d7a9 Dont accept connections when application down 2024-06-07 18:07:34 +10:00
0bc3d4cf60 Downgrade DNS query errors, since they are handled 2024-06-03 19:09:09 +10:00
38795b83bf Move HAproxy exceptions into their own class, and downgrade HAproxy errors since they are handled 2024-06-03 19:09:09 +10:00
f8cb6ccc37 Automatically mark idle nodes HOLD/DOWN/DE-LIST. Automatically validate presented addresses. 2024-05-25 22:31:42 +10:00
1615b413a7 Assume f0 for DNS queries that dont pass an f in the query 2024-05-24 12:34:28 +10:00
3ce6a8ed61 Record the AKAs presented 2024-05-22 22:12:38 +10:00
f279d85b08 More complete rework of packet parsing and packet generation with 29710c 2024-05-19 23:28:45 +10:00
46f52dd56d Only auth AKAs in the same domain as us 2024-05-18 12:26:00 +10:00
03ca4c10b1 Only add items to the queue when the queue is empty 2024-04-12 21:22:27 +10:00
1e08c2f6f7 Move Domain_Controller::NUMBER_MAX to Address::ADDRESS_FIELD_MAX 2024-04-12 15:29:11 +10:00
9c8e546765 Increase some logging for binkp sessions 2023-12-18 22:44:55 +11:00
ab5476d373 Remove deprecated Protocol:setClient() 2023-12-10 20:44:15 +11:00
0526500ff0 Integrate Mailer::class into System_Log::class, removed Zmodem Server/Client 2023-12-10 20:41:37 +11:00
1890b66dc7 Implemented Dynamic Items for data to be sent to polled systems based on data in db, like stats/nodelists 2023-12-03 18:51:46 +11:00
049b2c7204 Change BINKP so that we send more packets in the same session, when we have more than msgs_pkt to send 2023-12-01 18:14:07 +11:00
535a082edd Enable overriding the DNS NS hostname 2023-11-28 19:57:47 +11:00
bed5bf8acc Binkp control frames can be NULL terminated. 2023-11-24 13:15:22 +11:00
b3dfca5b89 Optimise BINKP msg processing by using ltrim instead of skip_blanks. Should also address taurus mailers that add a NULL to the end of ADR messages 2023-11-23 19:11:14 +11:00
e5de4970d1 When originating a session, send anything received via the queue 2023-11-23 08:31:24 +11:00
3a0847f13a For DNS records that we resolve for, return nodata if we dont serve that data type 2023-11-22 10:40:28 +11:00
ea42a347eb As per RFC 2308, add SOA to authoriative answers with nodata, or errors 2023-11-13 07:57:01 +11:00
c86d8d8952 Logging to catch some hex2bin exceptions with 2/109 2023-10-06 22:52:03 +11:00
614d332fae Add ifcico to DNS query responses 2023-10-06 22:52:03 +11:00
0cabdcd3c1 Still return TXT records even if a system doesnt have an address 2023-10-06 22:52:03 +11:00
ce7a96ca2a Logging cosmetic changes only in Zmodem 2023-10-04 22:06:16 +11:00
d82f8ac8b3 Catch bad DNS queries and reduce exception logging 2023-10-04 15:50:24 +11:00
62f0c1a909 DNS server now responds to SRV and TXT records 2023-10-03 23:15:21 +11:00