Commit Graph

648 Commits

Author SHA1 Message Date
752462d20f Update job:list, and change "subject" to "jobname" 2024-05-22 09:21:59 +10:00
72d68fa1ab Update SocketClient to support raw IP addresses 2024-05-22 09:21:59 +10:00
aaec5f8f4a Security update enabling update_nn to edit system details 2024-05-22 09:21:59 +10:00
ab2e288f06 More complete rework of packet parsing and packet generation with f279d85 - and testing passes 2024-05-22 09:21:59 +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
59ec5f5a0c Update on security, user to edit their own system 2024-05-18 08:27:17 +10:00
29710c37c2 Complete rework of packet parsing and packet generation 2024-05-17 22:10:54 +10:00
0457b3df25 Resorting methods, no functional changes 2024-05-13 18:55:39 +10:00
731fdb0a44 When decompressing compressed messages, dont barf if we try to decompress the same attribute twice 2024-05-13 17:50:24 +10:00
6216ada5e5 Fix recording of netmails, when they contain taglines and origin lines 2024-05-13 17:50:24 +10:00
f912e81ee6 Change where processed packets are placed, if fido.packet_keep is true
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 54s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m54s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-12 21:56:46 +10:00
4fe5dc6ad0 Fix for session being reported negative 2024-05-12 21:56:46 +10:00
556b95c7c1 Fix when dispatching packets, and our address object has many relations already loaded, causing memory exhaustion due to recursion 2024-05-12 21:56:46 +10:00
14c505c15b Must not cache the mail waiting queries, otherwise mail/files will be resent in a query loop
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 41s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m42s
Create Docker Image / Final Docker Image Manifest (push) Successful in 12s
2024-05-12 14:56:18 +10:00
3ad20f969b Put back laravel-eloquent-query-cache and remove Caching from previous commit
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m41s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-11 09:10:00 +10:00
4d13199848 Some interface SQL performance improvements 2024-05-11 08:18:57 +10:00
cd2efbd1d4 Added downstream(), and fixed failing tests in RoutingTest
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 42s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m48s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-10 21:33:02 +10:00
edee0643ec Reorder functions, no functional changes 2024-05-09 21:31:50 +10:00
23159d19d5 Rework address roles, making Address::role optional, rework determining uplink/downlinks/parent/children 2024-05-09 21:22:30 +10:00
2765a27db8 Performance fix for address_merge, when there are a log of echomails to move to the new address
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 38s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m39s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-06 08:23:07 +10:00
c8ef7d065b Fix address_add validation, missing scoped to zone. Change to use shortform of $request->post() in address_add()
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m43s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-05 23:17:29 +10:00
b17fe1d2ee It seems session time is now returning a float, cast it to an int
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 34s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m40s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-05 17:41:47 +10:00
5389739920 Enable setting autohold and address validation in web UI
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 41s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m47s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-05 00:10:55 +10:00
92f964f572 Remove static cache from our_address in favour of Cache::class keyed off setup:system_id 2024-04-26 20:31:02 +10:00
9abfd88e3d Fix for AreaSecurity when presented security is null 2024-04-26 20:31:02 +10:00
e9895aee45 Added Echoarea::addresses_active() to find addresses that are connected to the area, and active 2024-04-26 20:31:02 +10:00
79b180f453 Upgrade to Laravel 11, begining of enabling network join functionality, removed QueryCacheable 2024-04-26 20:31:02 +10:00
6e376100a5 Fix System registration form presentation and validation processing
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m42s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-26 12:23:55 +10:00
f42fe97902 Add user policy to manage user security
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 34s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m40s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-25 16:08:09 +10:00
6a41536d57 Enable user reseting password
Some checks failed
Create Docker Image / Build Docker Image (x86_64) (push) Failing after 24s
Create Docker Image / Build Docker Image (arm64) (push) Failing after 54s
Create Docker Image / Final Docker Image Manifest (push) Has been skipped
2024-04-25 15:45:05 +10:00
527cc1d4ab Added passkey for logins 2024-04-25 15:45:05 +10:00
ceffc7ff14 Removed unnessary controller functions that just call a view, HTML/CSS consistency updates 2024-04-25 15:44:52 +10:00
001618d719 Move zone:check to debug namespace, add address:check command
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 35s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m37s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-21 22:10:12 +10:00
bba6f93fbc Code improvement to our_address(), reducing arguments 2024-04-21 21:40:55 +10:00
1c270025cf Move determination of system packet to System::class 2024-04-21 20:40:19 +10:00
3f5668292f More optimisations for users dashboard
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 36s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m34s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-21 00:28:50 +10:00
7b225d8fc0 Attempt to catch dns query failures
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 36s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m37s
Create Docker Image / Final Docker Image Manifest (push) Successful in 11s
2024-04-16 22:01:09 +09:30
ff7ab68a54 Added filefix rescan 2024-04-16 22:00:41 +09:30
a2ff2df9f3 Move security evaluations for File/Echoareas back to model 2024-04-16 21:28:35 +09:30
42cc50512f Fix topmenu dropdown rendering, Recognise POINTs in Address Type 2024-04-14 16:52:47 +10:00
bb42f418e0 Revert part of 9299697, so that our (lowest) address is selected, especially in the case for msgid creation
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 32s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m34s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-14 11:03:17 +10:00
ae0bd09a47 Add Debug command Packet:Address
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 34s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m35s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-14 10:43:07 +10:00
9299697ec1 Fix a caching pollution issue when using static
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 32s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m35s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-14 10:23:21 +10:00
bac41969a5 Optimise queries for rendering the users dashboard page
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 32s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m37s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s
2024-04-14 00:47:08 +10:00
d6e23b9a90 Optimise queries for rendering the about page
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 33s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m38s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-13 22:41:58 +10:00
2edc41b11e Support merging addresses when both src/dst addresses are in the seenby 2024-04-13 20:54:05 +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
cb09016539 Partially revert #9cf0f1e so that we create jobs by Address ID, not System ID 2024-01-10 16:58:35 +11:00
c1a1797778 If user information is not provided in a system update (for example when users update), then dont zap system_users 2023-12-20 17:18:10 +11:00
9376c6de11 We should check for subscription before checking for permissions 2023-12-20 11:20:48 +11:00
713615d8d5 Revert changes to CompressedString::class, messages were going out base64 encoded and compressed 2023-12-19 16:51:15 +11:00
01107cd3dc Added AnsiLove for rendering messages with ANSI sequences 2023-12-19 15:16:10 +11:00
c9d04b64ac Enabled NetmailPolicy, users can see netmail if they are in the seen-by, a ZC or admin 2023-12-19 12:55:27 +11:00
90206f2bb5 Enable admin setting user for a system 2023-12-19 12:55:27 +11:00
ac2ee7df0c Fix for netmail notifications, fftn_id wasnt being set correctly 2023-12-19 09:13:16 +11:00
24f6af3d3b Disabling our routine to set a default on an address, it needs to be improved 2023-12-19 08:54:26 +11:00
9c8e546765 Increase some logging for binkp sessions 2023-12-18 22:44:55 +11:00
13e51724c0 Further enhancement with #9063a2a - to ensure our message addressing and content picks the right address 2023-12-18 20:43:21 +11:00
1ded66990c Enable ZC to see netmail in their zone, and point owners to see their own netmail 2023-12-18 20:43:21 +11:00
fd07fb2be7 Include children in netmail for a host 2023-12-18 20:43:21 +11:00
e1c9fa12aa When rethrowing an exception, only include the message 2023-12-18 20:43:21 +11:00
7b9ab388d8 Optimise our use of items waiting and queries used. We are now using a single consistent query for each resource. 2023-12-18 20:43:21 +11:00
7af67de2a8 Fix scenario when creating a new BBS during user registration 'Attempt to read property exists on null' 2023-12-18 20:43:21 +11:00
27c050dc38 When we have multiple addresses, add we want a specific address, return the lowest role, or if strict mode enable, return the lowest role that is higher than the target 2023-12-18 20:43:21 +11:00
301fc33d2f HubStats was not limiting the scope to the date, now that the scopeUncollected..() methods dont limit by date (changed in #5a74386) 2023-12-18 20:43:21 +11:00
5d88a5e10e our_address() now takes a domain name - missed it for hub stats 2023-12-18 20:43:21 +11:00
aae551aacf Simplify packet processing. Re-enable pkt processing tests. 2023-12-18 20:43:21 +11:00
f6a6c13ca2 NCs should be /0 not /x 2023-12-18 20:43:21 +11:00
b9bc413b05 Fix for finding the TIC origin, it doesnt have a parent 2023-12-18 20:43:21 +11:00
caa6e629f4 Change Address::parent(),Address::children(), improved CI testing 2023-12-18 20:43:21 +11:00
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