Commit Graph

726 Commits

Author SHA1 Message Date
541f612446 Improve our parent/children identification with points, fix our testing that was failing with NULLs and asserted out. Added zone:check so that's its easier to identify parent for FTNs 2023-12-11 18:31:38 +11:00
247cf614f3 Fix log note for PING netmails 2023-12-11 08:48:30 +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
8fc0336314 Fix for bugs implemented in #e56eca, where the message was including the 3 NULLs at the end and our header is near the end of a buffer read 2023-12-09 13:56:45 +11:00
5a74386f5a Optimisations to uncollected Items, which fix mail:send, which was only being triggered for mail unsent from yesterday 2023-12-08 15:16:49 +11:00
e56ecaa999 Fix for processing packets, where our EOM or EOP is split across buffer reads 2023-12-07 20:19:48 +11:00
fa2e74eaca Changes to timew() and wtime() to leverage last 2 bits for 4 year timestamp, making msgid checking valid according to FTSC. Added a test suite for timew()/wtime(). 2023-12-07 12:07:11 +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
8f3d77b04d Implemented CLI areafix:rescan 2023-12-01 18:14:51 +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
5b7ec1a629 Add missing const to parent() and children() relations 2023-12-01 17:25:01 +11:00
535a082edd Enable overriding the DNS NS hostname 2023-11-28 19:57:47 +11:00
9cf0f1e2f4 Changed AddressPoll unique ID to be system_id, setup for memcached for all micrsoservices 2023-11-27 16:00:02 +11:00
27a3e3e24e Use ObjectIssetFix Trait instead of defining __isset() directly 2023-11-27 15:56:28 +11:00
8590bb8acc Fix the rendering of SEENBY/PATH lines in packets, which should have each new line prefixed with host 2023-11-27 09:00:32 +11:00
1ac3583479 Implemented system heartbeat, to poll systems regularly that we havent heard from 2023-11-26 14:59:05 +11:00
6e7e09ab50 Minor changes to mail:send and job:list rendering 2023-11-26 11:32:21 +11:00
2b2482ba71 Rework crash polling, using optimised scope queries 2023-11-25 21:52:05 +11:00
b5e5decfdf Processing packets on the command line can be archives as well 2023-11-25 09:48:37 +11:00
6abf10ab0b TIC and PKT passwords are case insensitive, so convert them to uppercase when we are using them 2023-11-25 09:47:58 +11:00
4070a060c3 Use created_at not datetime on status, since datetime may be wrong by the sender 2023-11-25 09:29:08 +11:00
a13497df5f Update domain::public() to only show public domains to admins, update status to be consistent with domain::public() 2023-11-25 00:10:21 +11:00
82cee02fa8 Dont included deleted_at items for the status 2023-11-24 23:39:38 +11:00
e337a29003 Determine unsent netmails by their flags, not sent_at for the status 2023-11-24 23:39:38 +11:00
eab35d4c18 On the status page, dont show inactive addresses, zones or domains 2023-11-24 23:39:38 +11:00
4c91ed54c0 First work on a status page showing nodes with uncollected mail 2023-11-24 23:39:38 +11:00
bed5bf8acc Binkp control frames can be NULL terminated. 2023-11-24 13:15:22 +11:00
0800c48928 Use regex for received file evaluation. Fixes recording received packet names 2023-11-23 23:17:13 +11:00
19338edcb6 Optimise the queries used to display packet contents and show DBID if msgid is not available 2023-11-23 21:55:39 +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
76dc90ceb3 Fixes to TIC processing that uses the Address::ftn_regex 2023-11-23 13:17:02 +11:00
a13028808a Optimise our address FTN regex 2023-11-23 12:22:39 +11:00
e5de4970d1 When originating a session, send anything received via the queue 2023-11-23 08:31:24 +11:00
7847728e52 Remove autohold on successful poll 2023-11-22 18:15:06 +11:00
b8670a5593 Change our TIC mtime comparision to compare with the actual mtime of the TIC file 2023-11-22 17:25:48 +11:00
fbcbe2c5a8 Address part of packet names is in hex 2023-11-22 16:49:14 +11:00
5f11f81be3 Fixes for TICs for nodelists 2023-11-22 16:41:14 +11:00
9fd8264c3f Rework TIC processing and added test cases 2023-11-22 15:58:00 +11:00
5b24ff944f Change System::match to return a single item regardless of role 2023-11-22 13:59:19 +11:00
3221d7f679 Show packet info when viewing echomail 2023-11-22 13:59:19 +11:00
f639e3ffab New attempt to making sure echomails have origin and senders path/seenby details (rework of #45d7823) 2023-11-22 13:59:19 +11:00
e8f4bf93bd Add a dontqueue option to packet::process 2023-11-22 13:59:19 +11:00
116f726885 Fix helpers checking for wtime existance 2023-11-22 10:40:28 +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
509cdd7ea6 Fix incorrect subjects on some notifications 2023-11-22 10:40:28 +11:00
45d78233b2 Disabling adding to path - its adding to the end of the path which is not correct 2023-11-22 10:40:28 +11:00
4a870b6587 Improvements to echomail path handling, ensuring sender and pktsrc are in the path 2023-11-22 10:40:28 +11:00
67747c062a Add mtime to receiving filename, so that we dont have name clashes with systems that use the same archive name for our host 2023-11-17 16:30:19 +11:00
250e584c03 Routed Netmails should still have the netmail dest address, not the hub's address 2023-11-15 22:56:26 +11:00
7087fe9bbb Throw an exception when we cannot determine the end of the message/packet 2023-11-15 22:12:09 +11:00
3b99c409e0 When a netmail has a msgid, dont overwrite it 2023-11-15 11:19:14 +11:00
ea42a347eb As per RFC 2308, add SOA to authoriative answers with nodata, or errors 2023-11-13 07:57:01 +11:00
85243d128e Fixes for TIC processing and not identifying path/seenby correctly 2023-10-29 21:28:29 +11:00
7d82cbcf12 Since we know the zone, we know the domain name when parsing addresses 2023-10-26 11:14:54 +11:00
a886a389a8 Fix for echomail notifications, when echomails come from a point. Auto detect address when manually processing packets. 2023-10-26 11:02:36 +11:00
f9d24db9f8 Minor changes to optimise new installs 2023-10-18 20:03:23 +11:00
a7e8cc7568 Implement HAPROXY proto support 2023-10-13 08:57:22 +11:00
c8ab8d3db3 Exported echomail should have the Hub as the OrigNet/OrigNode 2023-10-09 21:54:46 +11:00
b32020e60f Nodelist import debugging to make sure we do select nodelists correctly 2023-10-07 21:09:00 +11:00
2c504c3d66 Include receive timestamp in packet:info and now using Storage::disk to find file 2023-10-07 21:09:00 +11:00
df5cc8c2d4 TIC processing fixes, was unable to find TIC file 2023-10-07 21:09:00 +11:00
4616feacda Fix some redirects now that self::class,'home' is no longer defined 2023-10-07 21:09:00 +11:00
7a9b6d5015 Change network/ to domain/view/ 2023-10-07 21:09:00 +11:00
654e7bd2aa Remove remaining ftn/ paths, no functional changes 2023-10-07 21:09:00 +11:00
b25e6f432c Rework DomainController/UserController methods and paths, no functional changes 2023-10-07 21:09:00 +11:00
27985dbf0b Rework ZoneController methods and paths, no functional changes 2023-10-07 21:09:00 +11:00
fda68bba04 Rework SystemController methods and paths, no functional changes 2023-10-07 21:09:00 +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
495a27cfed Enhance the system link/register selection 2023-10-06 22:52:03 +11:00
32c0088339 Rework nodelist import and ignoring addresses that we manage 2023-10-06 22:52:03 +11:00
b854cf9fe0 Better catch TIC file exceptions, enable moving TIC files if fido.packet_keep is defined 2023-10-04 22:22:01 +11:00
ce7a96ca2a Logging cosmetic changes only in Zmodem 2023-10-04 22:06:16 +11:00
28e30a05e6 Make passwords mandatory 2023-10-04 16:26:05 +11:00
e75be34afd Detach users when deleting a system 2023-10-04 15:58:46 +11:00
d82f8ac8b3 Catch bad DNS queries and reduce exception logging 2023-10-04 15:50:24 +11:00
0fcb628c11 Non functional cosmetic updates 2023-10-04 15:49:44 +11:00
c7e707c143 Attempt to catch errors creating address for dovenet mail 2023-10-04 12:17:16 +11:00
62f0c1a909 DNS server now responds to SRV and TXT records 2023-10-03 23:15:21 +11:00
073d95f605 Reduce the exception noise with queries that we dont parse correctly 2023-10-03 20:58:23 +11:00
2a50a1d795 When we dont have session() details return a blank string instead of null 2023-10-03 09:17:30 +11:00
782acad560 When processing packets on the command line, send it to the queue 2023-09-27 11:19:36 +10:00
c0c8861c08 Fix for Serialization of 'finfo' is not allowed 2023-09-24 00:01:44 +10:00
d11a2a5b8d Update nodelist import to exclude systems managed by us 2023-09-23 23:15:42 +10:00
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
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
22c8b3df74 Respond to areafix netmails 2023-09-21 15:25:18 +10:00
b7c1c97cf7 Catch DNS Query that fail unpack() 2023-09-20 22:26:35 +10:00
612efda945 Process packet seenby/path/via lines when saving echomail/netmail 2023-09-20 21:37:18 +10:00
7fedf88d8c Hopefully a fix to stop clrghouz creating systems called Discovered System 2023-09-19 22:16:25 +10:00
11f9adf11a Fix seenby sort order, with flatten domains 2023-09-19 17:28:25 +10:00
eebe8a159d Fix address reported when scheduling a poll 2023-09-19 13:54:35 +10:00
3a35bce9e7 Changing System::match() to not include NC, some debugging updates 2023-09-19 11:29:08 +10:00
5e67be5ba1 Alert message for echomails with security violations is using wrong address 2023-09-19 11:29:08 +10:00
f315c71ca9 Fix path to public/logo 2023-09-19 11:29:08 +10: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
cc04ddd7b3 More work to ensure messages from a node are valid for the domain, and fix domain flatten to check for zone if one is supplied 2023-09-17 15:54:47 +10:00
e611dcbe11 Filter available echoareas/fileareas based on security 2023-09-17 00:14:46 +10:00
073fa466d6 Added mail:list 2023-09-16 22:12:19 +10:00
708d9a9f67 More work to decommission rogue_path 2023-09-16 21:39:34 +10:00
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
6e133770fc An enhancement to ensure that flatten domains gets the correct FTN 2023-09-15 15:20:19 +10:00
a991db788e For AddressPoll, force using our file cache - seems sometimes the key doesnt release with memcached 2023-09-15 14:28:07 +10:00
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
2f878b6e64 Added filearea import 2023-09-14 23:42:25 +10:00
ec5c28a03e Added ignore_crc option to nodelist import 2023-09-14 23:06:02 +10:00
ff8c370d86 Move packet processing into a job 2023-09-13 20:58:22 +10:00
dc86d09894 Fix file receiving mtime being set 2023-09-13 15:54:53 +10:00
6fb31e2632 Logging to catch the mtime being set on received files 2023-09-13 14:57:36 +10:00
e07369c7a1 Debugging to determine why we create Discovered System 2023-09-12 21:21:09 +10:00
99866458a4 Limit where were respond to test messages 2023-09-12 17:46:32 +10:00
e553bb4ce6 Enable merging address in a domain that has flatten set 2023-09-11 23:25:00 +10:00
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
673c444acd Implement 2D domain processing - mainly for fidonet 2023-09-10 22:48:12 +10:00
ed7dc2ab8b Added an address merge UI page 2023-09-09 21:16:51 +10:00
67c1be209d Logging changes when processing TIC files 2023-09-09 00:10:45 +10:00
6d199345ac Enable nodelist import test mode 2023-09-09 00:10:45 +10:00
7b39dafd12 Change verbosity of TCP read/sent to debug 2023-09-08 21:04:24 +10:00
ed43aaa878 Fix for DNS query's using the domain's dnsdomain 2023-09-08 21:04:24 +10:00
485d67b366 Enable binkp non-secure mode 2023-09-08 21:04:24 +10:00
005aa88514 Fix for App\Classes\File\Tic::close must be compatible with parent 2023-09-08 21:04:24 +10:00
6498e364fb More TIC processing fixes 2023-09-08 21:04:24 +10:00
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
3cd0deada0 Added subject so that it works with job:list 2023-09-05 22:46:49 +12:00
1e17aed170 Debugging to try and catch address creation exception (because of two active addresses) 2023-09-04 14:15:53 +12: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
a5784de9a8 Put TIC processing on it's own queue 2023-08-15 12:25:54 +10:00
462004c9c9 Missed an Address::poll() when linking to an existing system 2023-08-10 11:11:47 +10:00
5a62d69913 When reading from remote with a timeout, return NULL if nothing received 2023-08-10 11:11:47 +10:00
60d17ea297 With some column types, our attribute is a resource 2023-08-10 11:11:47 +10:00
fca133ef57 Fix link to netmail.bin 2023-08-08 14:15:53 +10:00
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
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
fb65c645cb Fix incorrect assigning of service ports in #ccafc6 2023-08-04 17:01:48 +10:00
df541984ab On domain list, also include echoareas without messages. 2023-08-04 10:50:41 +10:00
c59f8ee0ed Improvements to Echoarea Import, area names are now uppercase and descriptions use ucfirst() 2023-08-03 22:11:59 +10:00
a87cf875e4 Enabled sending netmails to upstream areafix/filefix 2023-08-03 17:39:22 +10:00
f281575b15 Enable netmail forwarding for users that receive messages directed at clrghouz 2023-08-03 17:31:42 +10:00
929d25c737 Fix for another address loop when finding a parent 2023-08-01 16:49:43 +10:00
69864db213 When deleting a system, removed the mailer details also 2023-08-01 12:57:58 +10:00
ccafc6866a Removed some old consts 2023-07-31 19:15:12 +10:00
7ca6fdc195 Add total messages to domain view, and improve echoarea stats query 2023-07-30 20:16:58 +10:00
3f7f04c382 Detect when we dont have an address in a domain, and pick the first domain address even if we are not in the zone. 2023-07-30 12:11:08 +10:00
e28e17866e Fix for address <-> children loops 2023-07-30 11:49:21 +10:00
fb2471a05b Fix our echomail sender is not the message originator 2023-07-29 17:48:09 +10:00
944ae41fba Record some todo's 2023-07-29 13:17:59 +10:00
cd140971e2 Implemented echoarea/filearea security 2023-07-29 13:17:36 +10:00
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
ddb8c349b6 Updated crash mail polling to every minute 2023-07-27 21:22:27 +10:00
e97a106178 Add exception class when scheduled tasks fail and exception hasnt been caught 2023-07-27 21:09:57 +10:00
e5944f8b3d Fix display of nodes in search that have HTML chars 2023-07-26 19:44:25 +10:00
4e44e2e266 Added system polling 2023-07-26 19:44:07 +10:00
c23b5ebfc2 Minor changes to thin font 2023-07-25 23:14:33 +10:00
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
9f0fa0a8ec Fix Page::class and rendering 2023-07-23 18:44:39 +10:00
02a3963a12 Fix netmail flags for netmails originating here 2023-07-20 23:12:26 +10: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
db37cc7aa4 Correctly display 4D address when selecting area subscription 2023-07-19 16:51:40 +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
39605af693 Fix last packet transfers shown, added file transfers 2023-07-19 15:16:25 +10:00
f4fc6c24a4 Move the send DB updates out of the protocol and into Send::class 2023-07-19 12:32:41 +10:00
7584e3e44e Fix for received bytes, when packets have been processed 2023-07-19 10:49:57 +10:00
3d4431da9a Logging changes, no functional changes 2023-07-19 10:35:29 +10:00
dcae06aad9 Change DEBUG to a static const 2023-07-19 10:27:47 +10:00
ee03604de3 Fixes to EMSI/ZModem as a result of previous enhancements to items 2023-07-18 23:00:13 +10:00
c1ec4eff36 Optimised our sending and receiving of items 2023-07-18 23:00:13 +10:00
a8f76aec31 Show packet contents for nodes 2023-07-16 00:45:58 +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
61ab0614b6 Correctly storing netmail flags (intransit, local, recv) with senders ID and packet name 2023-07-15 10:46:19 +10:00
7bf957df3a Sending Mail now dynamically creates packet name, size and mtime 2023-07-14 20:03:09 +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
52055c5217 Update nodelist parsing now that we have mailer_system 2023-07-09 22:03:15 +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
02105b10fb Fix EMSI sessions, buffer_clear() was renamed tx_purge() 2023-07-08 17:36:41 +10:00
ccdce6bb62 Move mailer details into a separate table 2023-07-07 23:59:04 +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
30c11956dd Remove some debugging left from previous commits, fix Address::scopeTrashed(), change display of BBS list 2023-07-07 22:42:02 +10:00
6c75659395 Enable demoting and promoting address role 2023-07-06 18:43:32 +10:00
7073fece94 Fix showing packet dump on view packet, change Address::active() to not take into account zone/domain 2023-07-06 15:50:46 +10:00
36d03d1c12 Fix for region_id when importing messages and the address exists in a different region 2023-07-06 13:55:54 +10:00
9762b8c2f4 Fix call to determine if a service is active 2023-07-06 11:55:54 +10:00
d6aafa4322 Changes to phone, add Active/Archive to echomail list for nets 2023-07-06 11:55:54 +10:00
0f7a42c503 Enabled configuration of EMSI tunables in setup 2023-07-06 09:20:33 +10:00
c3d4c1fc31 Enable full setup on the setup form 2023-07-05 22:58:24 +10:00
6f298d778f Some BINKP optimisation, implemented crypt, implemented receiving compressed transfers 2023-07-05 19:38:50 +10:00
f9f9fb5345 Improve debugging and code optimisations for Socket operations 2023-07-04 11:33:28 +10:00
ad36da0bb1 Code cleanup, no functional changes 2023-07-04 11:33:28 +10:00
b70a36003a Remove Passport and replace with Sanctum, upgrade framework to Laravel 10 2023-06-26 21:50:40 +12:00
75549590fc Enable systems to configure their packet type 2023-06-26 21:24:24 +12:00
a26f61d75d Define and detect different packet types (2,2e,2+,2.2) 2023-06-26 21:24:24 +12:00
fa3653a94b Enable sysops to update their own BBS details 2023-06-23 22:04:10 +10:00
fdbc58856b Enabled akas() method to only show current active akas. Should fix the link register netmail from polling an invalid FTN id. 2023-06-23 21:36:30 +10:00
b8534d8598 Make filename unique for each area, rename column to name/lname for files 2023-06-23 17:33:47 +10:00
0eca20ebdd Fix packet:info command when using system, fix adding clrghouz to path for echomail 2023-06-23 16:29:56 +10:00
b1b86ca04a Implemented file sending during BINKP and EMSI sessions 2023-06-22 22:13:47 +10:00
58341db0fb Show netmails to admins, record netmail path in the DB 2023-06-18 23:33:26 +10:00
f147b33b60 Dont activate an address if another system has it active 2023-06-17 19:14:16 +10:00
e3f2d6cf15 Fix EMSI TRX time - force it to be local time 2023-06-17 11:37:59 +10:00
b41d65a8fd Fix SocketClient checking for more data, now that we buffer received data 2023-06-16 23:18:35 +10:00
530c9cbd46 Added DNS to setup configuration and about page 2023-06-12 23:41:25 +10:00
ccf01a1b23 Enhancements to DNS server and notes for usage with bind 2023-06-12 23:19:50 +10:00
b1c62ae227 Update SocketClient to support UDP. Change DNS queries to use SocketClient 2023-06-11 22:18:52 +10:00
073be20ceb Fix for BBS List 2023-04-22 21:31:09 +10:00
b1d522d8cc Added DNS server 2023-04-22 21:30:30 +10:00
ae46dee24e Fix point address assignment 2023-04-15 20:24:53 +10:00
23e8522e1a Performance enhancements for system view 2023-04-15 13:34:08 +10:00
c5500020ae Fix for system registration, new systems couldnt be added. 2023-04-14 19:47:33 +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
04be81852a Save robot processed messages 2023-01-25 16:35:58 +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
d825f71a15 Skip messages that originate from a node in a zone we dont know. 2023-01-01 13:53:51 +11:00
Deon George
06f814395c More debugging to know more about failed echomail parsing because of no zone. 2023-01-01 13:35:56 +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
91fc61e170 Fix nodelist import, when parsing regions 2022-12-19 23:34:42 +11:00
Deon George
eca9f257eb Only show Network Admin if the user is a ZC of a network 2022-12-11 21:46:08 +11:00
Deon George
1656d3c35c Fix address matching during registration 2022-12-11 20:17:24 +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
369f8e48fe Enabled email test command 2022-12-04 14:27:47 +11:00
Deon George
21236b6871 Command to list number of mail waiting for a system 2022-12-04 13:32:46 +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
14349adeab Limit to max messages in a packet, currently hard coded to 50 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
55a2a67b8d Auth is now controlled by routing 2022-11-26 06:54:24 +07:00
Deon George
c034ce6cd4 Added FTN list, System View 2022-11-25 17:44:03 +07:00
Deon George
102a972fcb Rename address:merge to address:purge, included merging file/echo subscriptions, updated web subscription cannot add echos to deleted ftns 2022-11-20 17:52:49 +11:00
Deon George
289caa8225 Added address:purge, changing active_addresses index 2022-11-20 17:52:49 +11:00
Deon George
5957a25044 Enabled address undelete and purge, now showing systems deleted messages 2022-11-19 12:02:13 +11:00
Deon George
216bd1a2cd Sometimes guessExtension doesnt return bin for pkt's 2022-11-15 22:13:31 +11:00
Deon George
4e66990826 Fix processing packets when we loop without reading 2022-11-15 22:01:05 +11:00
Deon George
3ffb1c1fd6 Support for ZIP archives 2022-11-14 00:29:55 +11:00
Deon George
702a4e4f37 Attempt to catch DB errors and abort the transaction, so that the queue continues to run. 2022-11-13 15:17:22 +11:00
Deon George
e7ebaa85cb Fix nodelist crc's that have 8 chars 2022-11-13 15:17:22 +11:00
Deon George
b158bb5a7d Add domain to TIC processing, for nodelists that dont have a domain 2022-11-13 15:17:22 +11:00
Deon George
9f0fa242e6 When deleting an Address change active to FALSE 2022-11-13 15:17:22 +11:00
Deon George
eab36c1603 Create TO ftn (for netmails), identify REPLYID, add file:list 2022-11-11 22:57:40 +11:00
Deon George
6284016400 Auto create FTN address for intransit netmail when the destination is not known. 2022-11-06 14:40:03 +11:00
Deon George
9a8ee1aa2b Fix packets with null values in the date, and exceptions not catching it 2022-11-05 19:17:37 +11:00
Deon George
584b988093 UTF8 decoding needs to be done after casting 2022-11-05 15:17:11 +11:00
Deon George
531654724a Enable specifying a domain for nodelist import, and throwing exceptions when errors occur 2022-11-05 15:17:11 +11:00
Deon George
c7187dbb0e Fix casting on compressed attributes when value is NULL, reduce some BINKP debugging messages 2022-11-05 15:17:11 +11:00
Deon George
9721db185b Ensure Echomail is initialised correctly 2022-11-05 10:17:14 +11:00
Deon George
b45e2c6dd8 Support processing nodelists from file repository and assume nodelists are zip fiels 2022-11-05 10:17:14 +11:00
Deon George
2790381a30 Determine if an inbound file is a nodelist 2022-11-05 10:17:14 +11:00
Deon George
34f289953d Implementation fixes for TIC processing 2022-11-05 10:17:14 +11:00
Deon George
7571a2cd7d Enable moving inbound files to s3 and logging in DB 2022-11-04 17:30:18 +11:00
Deon George
029a8a9d73 Added file areas and TIC processing 2022-11-02 22:01:45 +11:00
Deon George
702c5fb4f2 Indexes for performance improvements, improved FTN regex 2022-11-02 22:01:45 +11:00
Deon George
da85e85774 Cast empty Collections to null, Cast strings to zstd compressed strings, add msg_src to echomails processed, fix duplicate seenbys 2022-11-02 21:20:43 +11:00
Deon George
e8fc75f2e3 Remove OldEchomail since we no longer have the mongo dependancies 2022-10-29 17:42:56 +11:00
Deon George
c267573129 Update to Laravel 9 2022-10-27 20:05:51 +08:00
Deon George
e6ba03080b Use zstd for domain home pages info, added nunomaduro/laravel-console-summary 2022-10-27 19:16:35 +08:00
Deon George
5745c67538 Refactor the database, in preparation to moving to postgresql 2022-10-23 13:50:08 +11:00
Deon George
2495e4675c Command refactoring - no functional changes 2022-06-27 00:14:36 +10:00
Deon George
0fe65d6187 Change gethostbyname() with dns_get_record() 2022-03-25 21:50:58 +11:00
Deon George
8072f7c5a9 Work on registration of existing systems to users 2022-03-20 22:42:11 +11:00
Deon George
4ff29e7e43 Some fixes for registering hosts, enable jobs to go to postgres, initial setup fixes 2022-03-12 10:30:02 +11:00
Deon George
cf3b1947a4 Fix creating a system with the correct role, Fix need to have hold/active on creation 2022-03-01 22:07:08 +11:00
Deon George
6db16712ee Fix passthrough netmail. 2022-02-19 17:03:12 +11:00
Deon George
daba4a78d3 Fix echoarea name is converted to UC, add netmail VIA lines for outgoing netmail 2022-02-17 23:55:37 +11:00
Deon George
12a40a79fb Fix for single encoding error, when only the first message was decoded, some logging for Address objects 2022-02-13 11:27:23 +11:00
Deon George
f216f42917 Minor cosmetic changes, show hex_dump when data purged from protocol stream 2022-02-13 11:27:23 +11:00
Deon George
f142284a2b Understand some gated messages, that are gated from a different zone 2022-02-12 11:35:24 +11:00
Deon George
d1bfa3a035 Fix for trying to receive a new file, when the previous file open failed with a permission denied 2022-02-06 20:40:21 +11:00
Deon George
a05ca1c2a4 Misc bug fixes while testing 2022-02-06 20:40:21 +11:00
Deon George
b65289af9f Enable binding ports for IPv6 2022-02-03 13:23:58 +11:00
Deon George
d660d5a6df Move DomainController::NODE* to Address::NODE*, make role mandatory in the database, change logic so that mail generated by the host comes from a node address. 2022-02-03 13:23:58 +11:00
Deon George
efa7195633 Add DBID back to messages, add path/seen-by to generated messages, other minor cosmetic fixes 2022-01-22 23:08:46 +11:00
Deon George
fe9fbb88b0 Fix packet name sent to remote - now matches packet name stored in DB 2022-01-20 23:25:47 +11:00
Deon George
98c9b880d4 Some debugging to track packet names created for sending 2022-01-20 22:47:44 +11:00
Deon George
421cd565bd Enable us to create an outbound packet without updating send details. Determine the send address for packets earlier 2022-01-20 17:54:02 +11:00
Deon George
d930c410dc Remove caching on Zone, fix cockroach cannot do like on integers 2022-01-20 17:51:40 +11:00
Deon George
c7e6bb2575 Enable system mail hold 2022-01-16 11:51:49 +11:00
Deon George
6f1d47a6ab Fixes to message processing, now that we are using cockroachdb 2022-01-15 17:11:51 +11:00
Deon George
e78e79a8f5 Change sorting on graphs so that date is in date order 2022-01-15 14:58:42 +11:00
Deon George
6b0bf32552 Query optimisations for last_messages and traffic 2022-01-15 14:58:42 +11:00