Commit Graph

76 Commits

Author SHA1 Message Date
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
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
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
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
9c8e546765 Increase some logging for binkp sessions 2023-12-18 22:44:55 +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
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
c86d8d8952 Logging to catch some hex2bin exceptions with 2/109 2023-10-06 22:52:03 +11:00
4343774079 Dont abort a session when there is an invalid FTN presented 2023-09-19 11:29:08 +10:00
eb40f94e37 Fix for binkd when remote present binkp protocol in brackets 2023-09-19 11:29:08 +10:00
708d9a9f67 More work to decommission rogue_path 2023-09-16 21:39:34 +10:00
7b39dafd12 Change verbosity of TCP read/sent to debug 2023-09-08 21:04:24 +10:00
485d67b366 Enable binkp non-secure mode 2023-09-08 21:04:24 +10:00
61582fa4da Fix for when we have a duplicate FTN and we are logging that - Attempt to read property ftn on string 2023-09-04 12:11:20 +12:00
8d9bde9692 Fix messages to points, and fix netmail coming from systems which dont include an Origin line 2023-07-20 22:16:38 +10:00
e1169335be Fix for when NR mode is active 2023-07-19 16:38:41 +10:00
f9a74578ff Fix for large packet transfer, since we were evaluating with the wrong size 2023-07-19 16:24:35 +10:00
f4fc6c24a4 Move the send DB updates out of the protocol and into Send::class 2023-07-19 12:32:41 +10:00
dcae06aad9 Change DEBUG to a static const 2023-07-19 10:27:47 +10:00
c1ec4eff36 Optimised our sending and receiving of items 2023-07-18 23:00:13 +10:00
a3302b4012 Complete of logging received and sent packet names, and display them in the web ui for each node 2023-07-15 22:10:05 +10:00
28101237e8 Fixes for CRYPT, NOREL and MULTIBATCH when responding in server mode 2023-07-12 23:34:01 +10:00
b37c6407fb Fix for incorrectly batching up more mail after EOB, if MULTIBATCH is not agreed 2023-07-11 21:34:47 +10:00
5516b5dc23 Fixes for BINKP, we were sending too many EOB's 2023-07-11 17:22:31 +10:00
029ec9c209 Only consider NR mode if the offset presented is -1 2023-07-09 22:19:11 +10:00
d4439a6b58 Dont send an M_GET when we are not in NR mode, or we are offered a file from a zero offset. 2023-07-09 11:18:57 +10:00
faeec61aeb Fix for limiting AKAs, show parent PID that forked child, other minor fixes 2023-07-08 18:00:23 +10:00
ad4ea699a5 Fix BINKP transfers when tcp buffer has more chars than we need at that point in time 2023-07-07 23:13:43 +10:00