fb69af9bf4
Update Reticulum initialization to incorporate storage management and identity handling
Sudo-Ivan2025-12-06 12:14:20 -06:00
dd87da4a51
Fix packet handling in Transport to clarify link data processing
Ivan2025-12-01 20:52:04 -06:00
c8d231556c
Add channel handling to Link struct; implement methods for managing incoming channel packets, resource advertisements, and packet delivery. Enhance initialization with IncomingLinkHandler registration and improve error handling for resource requests.
Ivan2025-12-01 20:30:59 -06:00
b489135c5b
Enhance Transport struct with path request handling and cleanup mechanisms; introduce DiscoveryPathRequest and PathAnnounceEntry types for improved path management, and implement maintenance jobs for expired paths, discovery requests, and announces.
Ivan2025-12-01 20:30:53 -06:00
1d83e7f539
Add request handling and metadata management to Resource struct; introduce methods for request ID, response status, and hashmap access, while removing deprecated IsCompressed method for cleaner code.
Ivan2025-12-01 20:30:42 -06:00
565b13a0eb
Add ResourceAdvertisement struct and related methods for managing resource advertisements; implement packing and unpacking functionality with msgpack for efficient data handling.
Ivan2025-12-01 20:30:37 -06:00
52f8e21da0
Refactor Destination struct to enhance request handling and link management; introduce IncomingLinkHandler for improved link processing and update transport interface usage.
Ivan2025-12-01 20:30:32 -06:00
ad5b6ed83a
Add LoadOrCreateTransportIdentity function to manage transport identity loading and creation; implement storage path handling and error logging for improved identity management.
Ivan2025-12-01 20:30:27 -06:00
cced3f5092
Add HandleInbound method for processing incoming channel packets; introduce GenericMessage struct for message handling and packing/unpacking functionality.
Ivan2025-12-01 20:30:22 -06:00
3b2a8591a7
Update link management by adding RegisterLink and UnregisterLink methods; improve handleLinkPacket and handleProofPacket for better link validation and error logging.
Ivan2025-12-01 20:02:02 -06:00
f513c6abcd
Add RESPONSE_MAX_GRACE_TIME constant to resource.go for enhanced timeout management
Ivan2025-12-01 20:01:54 -06:00
e83bc31ccc
Update Link management with improved request handling, timeout mechanisms, and resource management; refactor packet handling for better clarity and efficiency.
Ivan2025-12-01 20:01:48 -06:00
1e67bc56b6
Improve Destination struct with better request handling and link management
Ivan2025-12-01 20:01:31 -06:00
0d2239be83
suppress errors on file removal in SaveRatchet and LoadRatchets methods for improved error handling
Ivan2025-11-21 12:45:40 -06:00
cfcdb62168
Add HandleIncomingLinkRequest and GetLinkID methods for improved link handling and status retrieval; enhance logging for link proof generation and sending process.
Ivan2025-11-21 12:43:22 -06:00
d14692b19b
Add FromFile and loadPrivateKey methods to Identity for loading identity from file and initializing keys
Ivan2025-11-21 12:43:16 -06:00
ca3bef0635
implement storage manager for ratchet key management with directory initialization and ratchet data handling
Ivan2025-11-21 12:43:10 -06:00
59486330ec
update HandleIncomingLinkRequest to accept packet instead of linkID and add HandleRequest method for improved request handling
Ivan2025-11-21 12:43:00 -06:00
1133e9755d
Add better logging in HandlePacket and handleLinkPacket for better error tracking and clarity
Ivan2025-11-21 12:42:18 -06:00
b450aa8569
refactor: update delivery callback in TestPacketReceiptCallbacks to use channel for improved synchronization
Ivan2025-11-20 21:49:50 -06:00
5e19f6f802
fix: update TargetHost for Quad4 TCP interface from rns.quad4.io to rns2.quad4.io
Ivan2025-11-20 21:44:51 -06:00
72d70b2141
feat: add receipt management for packet handling, including registration, unregistration, and proof validation
Ivan2025-11-20 21:31:36 -06:00
06da42a148
feat: implement PacketReceipt struct with methods for receipt creation, validation, and timeout handling
Ivan2025-11-20 21:31:31 -06:00
ec8b843cd4
feat: enhance Packet struct with new fields and hash methods for improved functionality
Ivan2025-11-20 21:31:24 -06:00
9e7e9a71ca
feat: add link establishment tests and implement key generation, handshake, and proof validation in the Link module
Ivan2025-11-20 21:31:18 -06:00
50c8546344
chore: update golang.org/x/crypto dependency to v0.45.0 in go.mod and go.sum
Ivan2025-11-20 18:22:08 -06:00
b0fad14504
fix: add security comment for TCP_INFO syscall in platformGetRTT function
Ivan2025-11-20 18:21:14 -06:00
24aa4fa88b
remove default RTT implementation for non-Linux platforms and enhance keepalive period configuration for FreeBSD and Windows
Ivan2025-11-20 18:14:57 -06:00
189645940c
fix: add security comments to clarify handling of non-critical errors in ratchet file operations
Ivan2025-11-20 18:04:30 -06:00
4f37df2fc0
fix: add security comments to handle non-critical errors in ratchet persistence
Ivan2025-11-20 18:04:26 -06:00
4859f5513a
fix: add security comment for Unix timestamp handling in CreatePacket function
Ivan2025-11-20 18:04:22 -06:00
2a2d6d6515
feat: add platform-specific TCP timeout configurations for Darwin, FreeBSD, Windows, and Linux
Ivan2025-11-20 18:04:11 -06:00
f599cc4d43
Update AutoInterface and UDPInterface to use net.PacketConn for better compatibility with TinyGo. Update methods to handle errors related to unsupported features in TinyGo, including interface enumeration and multicast UDP.
Ivan2025-10-30 19:01:33 -05:00
1b3f4e59db
Update GitHub Actions workflow to trigger on 'tinygo' branch for builds
Ivan2025-10-30 19:01:18 -05:00
bb964445f3
add examples to gitignore for now
Ivan2025-10-30 18:57:48 -05:00
5369037a74
Add TinyGo build targets to Makefile and create GitHub Actions workflow for TinyGo builds
Ivan2025-10-30 18:54:23 -05:00
bb98248830
Update Go module dependencies and version in go.mod and go.sum files
Ivan2025-10-30 18:49:23 -05:00
575657bbc5
Remove cyclomatic and cognitive complexity rules from revive.toml configuration
Ivan2025-10-26 11:49:48 -05:00
8da4a759f5
Add FromHash method to create destinations from known hashes and enhance link handling capabilities
Ivan2025-10-07 22:44:08 -05:00
dff1489ee5
Add link ID generation in Establish method for connection requests
Ivan2025-10-07 22:44:02 -05:00
30c97bc9dd
Implement identity recall functionality to retrieve existing identities by hash
Ivan2025-10-07 22:43:55 -05:00
005e2566aa
Add destination registration and link handling in Transport
Ivan2025-10-07 22:43:45 -05:00
cc10830df3
Fix CreatePacket method in Announce struct to dynamically set context flag based on the existence of ratchet data.
Ivan2025-10-07 21:53:39 -05:00
b548e5711e
Add destination type constants for packet handling in types.go
Ivan2025-10-07 21:31:45 -05:00
cc89bfef6e
Update destination hash calculation in handleAnnouncePacket to use SHA256.
Ivan2025-10-07 21:31:40 -05:00
45a3ac1e87
Fix destination hash calculation by incorporating SHA256 for name hashing.
Ivan2025-10-07 21:31:16 -05:00
e39936ac30
Fix Announce struct to include destination name and hash validation.
Ivan2025-10-07 21:30:57 -05:00
b601ae1c51
Add read loop for UDP interface to handle incoming packets asynchronously.
Ivan2025-10-07 21:30:27 -05:00
7d7a022736
Refine CPU usage calculation in performance monitoring script by truncating decimal values before summation.
Ivan2025-09-27 05:56:31 -05:00
0ac2a8d200
Add binary execution tests for Linux, macOS, and Windows in CI workflow. Enhance ARM cross-compilation testing with specific environment variables.
Ivan2025-09-27 05:54:30 -05:00