Commit Graph

268 Commits

Author SHA1 Message Date
Deon George ff04de52b5 Rework TIC processing to use Storage::disk(). Implemented handling of replaces and files that already exist 2023-09-23 22:40:17 +10:00
Deon George 2ae24b9955 Move fido configuation items into fido namespace. If keeping packets move them into a date aligned subdir 2023-09-22 15:35:08 +10:00
Deon George 22c8b3df74 Respond to areafix netmails 2023-09-21 15:25:18 +10:00
Deon George b7c1c97cf7 Catch DNS Query that fail unpack() 2023-09-20 22:26:35 +10:00
Deon George 612efda945 Process packet seenby/path/via lines when saving echomail/netmail 2023-09-20 21:37:18 +10:00
Deon George 3a35bce9e7 Changing System::match() to not include NC, some debugging updates 2023-09-19 11:29:08 +10:00
Deon George 4343774079 Dont abort a session when there is an invalid FTN presented 2023-09-19 11:29:08 +10:00
Deon George eb40f94e37 Fix for binkd when remote present binkp protocol in brackets 2023-09-19 11:29:08 +10:00
Deon George 708d9a9f67 More work to decommission rogue_path 2023-09-16 21:39:34 +10:00
Deon George c1d6d48a3c Dont enable rogue_path - it looses our true path for messages - instead create addresses in the path we dont know about. 2023-09-15 16:59:46 +10:00
Deon George 6e133770fc An enhancement to ensure that flatten domains gets the correct FTN 2023-09-15 15:20:19 +10:00
Deon George 096e37ef35 Removed packet cache, it wasnt used and not needed since we can queue large packets. Renamed to for consistent variable when using Packet::process() 2023-09-15 08:14:27 +10:00
Deon George ff8c370d86 Move packet processing into a job 2023-09-13 20:58:22 +10:00
Deon George dc86d09894 Fix file receiving mtime being set 2023-09-13 15:54:53 +10:00
Deon George 6fb31e2632 Logging to catch the mtime being set on received files 2023-09-13 14:57:36 +10:00
Deon George e07369c7a1 Debugging to determine why we create Discovered System 2023-09-12 21:21:09 +10:00
Deon George 99866458a4 Limit where were respond to test messages 2023-09-12 17:46:32 +10:00
Deon George ab7f661800 Use FTN from origin as our primary address, and msgid if the origin line doesnt have one 2023-09-11 21:52:48 +10:00
Deon George 673c444acd Implement 2D domain processing - mainly for fidonet 2023-09-10 22:48:12 +10:00
Deon George 67c1be209d Logging changes when processing TIC files 2023-09-09 00:10:45 +10:00
Deon George 7b39dafd12 Change verbosity of TCP read/sent to debug 2023-09-08 21:04:24 +10:00
Deon George ed43aaa878 Fix for DNS query's using the domain's dnsdomain 2023-09-08 21:04:24 +10:00
Deon George 485d67b366 Enable binkp non-secure mode 2023-09-08 21:04:24 +10:00
Deon George 005aa88514 Fix for App\Classes\File\Tic::close must be compatible with parent 2023-09-08 21:04:24 +10:00
Deon George 6498e364fb More TIC processing fixes 2023-09-08 21:04:24 +10:00
Deon George 63a9c06fb0 Fix for bug introduced in previous commit, where tic files where queued without the address prefix 2023-09-07 12:25:44 +10:00
Deon George 1e17aed170 Debugging to try and catch address creation exception (because of two active addresses) 2023-09-04 14:15:53 +12:00
Deon George 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
Deon George 5a62d69913 When reading from remote with a timeout, return NULL if nothing received 2023-08-10 11:11:47 +10:00
Deon George 74a56d1e17 Now correctly showing packet receive time, and sending Notifications based on the packet address, not the node address 2023-08-06 13:43:10 +10:00
Deon George c8a2affbfa Fix for when packets have a kludge after the origin line, and now capturing taglines. Updated testing configuration 2023-08-05 15:19:10 +10:00
Deon George 944ae41fba Record some todo's 2023-07-29 13:17:59 +10:00
Deon George f1ccca25ea Change public to show on echo/file areas to enable limiting whats shown in the activity graph 2023-07-28 13:22:39 +10:00
Deon George 4e44e2e266 Added system polling 2023-07-26 19:44:07 +10:00
Deon George c23b5ebfc2 Minor changes to thin font 2023-07-25 23:14:33 +10:00
Deon George 17fe7e910d Multiple enhancements to interactive messages, moved messages to Notifications, send netmail back when invalid packet password 2023-07-23 20:21:02 +10:00
Deon George 9f0fa0a8ec Fix Page::class and rendering 2023-07-23 18:44:39 +10:00
Deon George 02a3963a12 Fix netmail flags for netmails originating here 2023-07-20 23:12:26 +10:00
Deon George 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
Deon George e1169335be Fix for when NR mode is active 2023-07-19 16:38:41 +10:00
Deon George f9a74578ff Fix for large packet transfer, since we were evaluating with the wrong size 2023-07-19 16:24:35 +10:00
Deon George f4fc6c24a4 Move the send DB updates out of the protocol and into Send::class 2023-07-19 12:32:41 +10:00
Deon George 7584e3e44e Fix for received bytes, when packets have been processed 2023-07-19 10:49:57 +10:00
Deon George dcae06aad9 Change DEBUG to a static const 2023-07-19 10:27:47 +10:00
Deon George ee03604de3 Fixes to EMSI/ZModem as a result of previous enhancements to items 2023-07-18 23:00:13 +10:00
Deon George c1ec4eff36 Optimised our sending and receiving of items 2023-07-18 23:00:13 +10:00
Deon George 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
Deon George 61ab0614b6 Correctly storing netmail flags (intransit, local, recv) with senders ID and packet name 2023-07-15 10:46:19 +10:00
Deon George 7bf957df3a Sending Mail now dynamically creates packet name, size and mtime 2023-07-14 20:03:09 +10:00
Deon George 28101237e8 Fixes for CRYPT, NOREL and MULTIBATCH when responding in server mode 2023-07-12 23:34:01 +10:00
Deon George b37c6407fb Fix for incorrectly batching up more mail after EOB, if MULTIBATCH is not agreed 2023-07-11 21:34:47 +10:00
Deon George 5516b5dc23 Fixes for BINKP, we were sending too many EOB's 2023-07-11 17:22:31 +10:00
Deon George 029ec9c209 Only consider NR mode if the offset presented is -1 2023-07-09 22:19:11 +10:00
Deon George 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
Deon George faeec61aeb Fix for limiting AKAs, show parent PID that forked child, other minor fixes 2023-07-08 18:00:23 +10:00
Deon George 02105b10fb Fix EMSI sessions, buffer_clear() was renamed tx_purge() 2023-07-08 17:36:41 +10:00
Deon George ccdce6bb62 Move mailer details into a separate table 2023-07-07 23:59:04 +10:00
Deon George 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
Deon George 30c11956dd Remove some debugging left from previous commits, fix Address::scopeTrashed(), change display of BBS list 2023-07-07 22:42:02 +10:00
Deon George 36d03d1c12 Fix for region_id when importing messages and the address exists in a different region 2023-07-06 13:55:54 +10:00
Deon George d6aafa4322 Changes to phone, add Active/Archive to echomail list for nets 2023-07-06 11:55:54 +10:00
Deon George 0f7a42c503 Enabled configuration of EMSI tunables in setup 2023-07-06 09:20:33 +10:00
Deon George c3d4c1fc31 Enable full setup on the setup form 2023-07-05 22:58:24 +10:00
Deon George 6f298d778f Some BINKP optimisation, implemented crypt, implemented receiving compressed transfers 2023-07-05 19:38:50 +10:00
Deon George f9f9fb5345 Improve debugging and code optimisations for Socket operations 2023-07-04 11:33:28 +10:00
Deon George ad36da0bb1 Code cleanup, no functional changes 2023-07-04 11:33:28 +10:00
Deon George 75549590fc Enable systems to configure their packet type 2023-06-26 21:24:24 +12:00
Deon George a26f61d75d Define and detect different packet types (2,2e,2+,2.2) 2023-06-26 21:24:24 +12:00
Deon George b8534d8598 Make filename unique for each area, rename column to name/lname for files 2023-06-23 17:33:47 +10:00
Deon George b1b86ca04a Implemented file sending during BINKP and EMSI sessions 2023-06-22 22:13:47 +10:00
Deon George 58341db0fb Show netmails to admins, record netmail path in the DB 2023-06-18 23:33:26 +10:00
Deon George e3f2d6cf15 Fix EMSI TRX time - force it to be local time 2023-06-17 11:37:59 +10:00
Deon George b41d65a8fd Fix SocketClient checking for more data, now that we buffer received data 2023-06-16 23:18:35 +10:00
Deon George ccf01a1b23 Enhancements to DNS server and notes for usage with bind 2023-06-12 23:19:50 +10:00
Deon George b1c62ae227 Update SocketClient to support UDP. Change DNS queries to use SocketClient 2023-06-11 22:18:52 +10:00
Deon George b1d522d8cc Added DNS server 2023-04-22 21:30:30 +10:00
Deon George 51e915b73d Fix for EMSI timezone and add MOH# 2023-02-12 13:30:07 +11:00
Deon George d949737608 Fix authentication for originating EMSI session with known systems 2023-02-11 23:06:13 +11:00
Deon George 3dc18a3f1f Change default internal caching to off, and added test to make sure things are cached if on. More debugging with packet name for netmails 2023-01-25 16:26:10 +11:00
Deon George 63e3397aee Add packet name for incoming netmails, dont send back messages to sender for areafix messages 2023-01-24 23:16:11 +11:00
Deon George bc19f9aa82 Increase logging on the type of file if it isnt a mail packet 2023-01-24 22:03:17 +11:00
Deon George d9b575b38f Change our determination that a packet has been processed before deciding to delete it 2023-01-24 22:03:17 +11:00
Deon George dac880b689 Ignore case when checking if a file is a PKT file 2023-01-24 22:03:17 +11:00
Deon George 3392092131 Some comments for binkd 2023-01-11 14:36:40 +11:00
Deon George 724bc4c5af Dont abort on an SQL exception 2023-01-11 14:36:40 +11:00
Deon George 4016775b66 Improved display of bad packets 2023-01-11 14:36:40 +11:00
Deon George 109beb4f4f Enable processing messages coming from a domain with multiple zones 2023-01-02 23:31:31 +11:00
Deon George c1ab14f2e6 Fix echoarea display with the oldest message 2023-01-01 14:33:52 +11:00
Deon George 6c97eb2d81 Fix for when TZUTC is gibberish, and use file hexdump in pkt debug 2023-01-01 12:02:28 +11:00
Deon George 0e7b93abd1 Fix to make sure we resend the EMSI_REQ banner 2022-12-31 15:13:17 +11:00
Deon George f089f3bcdc Dont delete archive until all packets processed 2022-12-04 21:59:06 +11:00
Deon George 4d3d57fdcd Fix EMSI session undefined, other minor cosmetic code changes 2022-12-04 20:45:33 +11:00
Deon George 05528f1c33 More work on user linking to existing defined system 2022-12-04 13:30:38 +11:00
Deon George 14f28c5263 Fix packet parsing for unknown zones, or zones that are not default 2022-12-03 16:00:38 +11:00
Deon George a897852072 Fix binkp M_nul OPT parsing 2022-12-03 15:30:31 +11:00
Deon George 09fe65a8db EMSI Continue sending mail until no more mail to send 2022-12-03 01:25:44 +11:00
Deon George e78b5975b0 Reduce zmodem debugging 2022-12-03 01:25:44 +11:00
Deon George 170f5c87ed Log systems polling 2022-12-03 01:25:44 +11:00
Deon George d5d4a0d781 Auto create Domains/Zones as systems present their AKAs to us 2022-12-03 01:25:44 +11:00
Deon George 216bd1a2cd Sometimes guessExtension doesnt return bin for pkt's 2022-11-15 22:13:31 +11:00