Commit Graph

  • fb69af9bf4 Update Reticulum initialization to incorporate storage management and identity handling Sudo-Ivan 2025-12-06 12:14:20 -06:00
  • dd87da4a51 Fix packet handling in Transport to clarify link data processing Ivan 2025-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. Ivan 2025-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. Ivan 2025-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. Ivan 2025-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. Ivan 2025-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. Ivan 2025-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. Ivan 2025-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. Ivan 2025-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. Ivan 2025-12-01 20:02:02 -06:00
  • f513c6abcd Add RESPONSE_MAX_GRACE_TIME constant to resource.go for enhanced timeout management Ivan 2025-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. Ivan 2025-12-01 20:01:48 -06:00
  • 1e67bc56b6 Improve Destination struct with better request handling and link management Ivan 2025-12-01 20:01:31 -06:00
  • b0e6ce93f9 Update README.md Ivan 2025-11-21 15:19:27 -06:00
  • 0d2239be83 suppress errors on file removal in SaveRatchet and LoadRatchets methods for improved error handling Ivan 2025-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. Ivan 2025-11-21 12:43:22 -06:00
  • d14692b19b Add FromFile and loadPrivateKey methods to Identity for loading identity from file and initializing keys Ivan 2025-11-21 12:43:16 -06:00
  • ca3bef0635 implement storage manager for ratchet key management with directory initialization and ratchet data handling Ivan 2025-11-21 12:43:10 -06:00
  • 59486330ec update HandleIncomingLinkRequest to accept packet instead of linkID and add HandleRequest method for improved request handling Ivan 2025-11-21 12:43:00 -06:00
  • 1133e9755d Add better logging in HandlePacket and handleLinkPacket for better error tracking and clarity Ivan 2025-11-21 12:42:18 -06:00
  • b450aa8569 refactor: update delivery callback in TestPacketReceiptCallbacks to use channel for improved synchronization Ivan 2025-11-20 21:49:50 -06:00
  • 6aef9e9337 update revive linter rules Ivan 2025-11-20 21:46:15 -06:00
  • 678ab32ee6 refactor: simplify index increment for IFAC code handling in handleAnnouncePacket for improved readability Ivan 2025-11-20 21:45:49 -06:00
  • 4e37112aee refactor: replace log statements with debug logging in packet.go for improved clarity and consistency Ivan 2025-11-20 21:45:44 -06:00
  • af046370db refactor: replace log statements with debug logging in link.go for improved clarity and consistency Ivan 2025-11-20 21:45:39 -06:00
  • eb40fd6451 refactor: remove flaky address resolution checks in TestNewUDPInterface for improved test reliability Ivan 2025-11-20 21:45:35 -06:00
  • 763fb4a962 refactor: improve variable initialization in GetRTT method for better clarity Ivan 2025-11-20 21:45:30 -06:00
  • 673f19b1ff feat: add OpenBSD support for TCP keepalive configuration in TCPClientInterface Ivan 2025-11-20 21:45:25 -06:00
  • 4a20551e9a feat: add NetBSD support for TCP keepalive configuration in TCPClientInterface Ivan 2025-11-20 21:45:20 -06:00
  • 1ac5696c80 refactor: improve variable initialization and return types in Identity methods for clarity Ivan 2025-11-20 21:45:15 -06:00
  • 5c2ea259b8 refactor: replace log statements with debug logging for packet resend errors in channel.go Ivan 2025-11-20 21:45:10 -06:00
  • 7573e942f1 refactor: streamline Read and Close methods in buffer.go for improved clarity and efficiency Ivan 2025-11-20 21:45:06 -06:00
  • d3cf775394 refactor: simplify RequestPath method by removing unnecessary error handling Ivan 2025-11-20 21:45:01 -06:00
  • 5e19f6f802 fix: update TargetHost for Quad4 TCP interface from rns.quad4.io to rns2.quad4.io Ivan 2025-11-20 21:44:51 -06:00
  • 72d70b2141 feat: add receipt management for packet handling, including registration, unregistration, and proof validation Ivan 2025-11-20 21:31:36 -06:00
  • 06da42a148 feat: implement PacketReceipt struct with methods for receipt creation, validation, and timeout handling Ivan 2025-11-20 21:31:31 -06:00
  • ec8b843cd4 feat: enhance Packet struct with new fields and hash methods for improved functionality Ivan 2025-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 Ivan 2025-11-20 21:31:18 -06:00
  • b0669954a4 code cleanup Ivan 2025-11-20 21:25:50 -06:00
  • ded5853026 move platformGetRTT implementation to tcp_common.go for non-Linux platforms Ivan 2025-11-20 21:24:58 -06:00
  • 426422413c Update TODO Ivan 2025-11-20 21:24:36 -06:00
  • 50c8546344 chore: update golang.org/x/crypto dependency to v0.45.0 in go.mod and go.sum Ivan 2025-11-20 18:22:08 -06:00
  • b0fad14504 fix: add security comment for TCP_INFO syscall in platformGetRTT function Ivan 2025-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 Ivan 2025-11-20 18:14:57 -06:00
  • 189645940c fix: add security comments to clarify handling of non-critical errors in ratchet file operations Ivan 2025-11-20 18:04:30 -06:00
  • 4f37df2fc0 fix: add security comments to handle non-critical errors in ratchet persistence Ivan 2025-11-20 18:04:26 -06:00
  • 4859f5513a fix: add security comment for Unix timestamp handling in CreatePacket function Ivan 2025-11-20 18:04:22 -06:00
  • 2a2d6d6515 feat: add platform-specific TCP timeout configurations for Darwin, FreeBSD, Windows, and Linux Ivan 2025-11-20 18:04:11 -06:00
  • d0c111d2f5 Update README Ivan 2025-11-20 17:57:58 -06:00
  • 3d943aaaef refactor: improve announce packet handling by clarifying address extraction and validation logic Ivan 2025-11-20 17:57:13 -06:00
  • d5d7fbdb79 refactor: simplify comments in getHashablePart function for clarity Ivan 2025-11-20 17:57:07 -06:00
  • fdfe895d2d feat: enhance TCP and UDP interfaces with improved timeout settings and MTU configuration Ivan 2025-11-20 17:57:00 -06:00
  • 01e639133b feat: enhance AutoInterface with improved configuration and multicast handling Ivan 2025-11-20 17:56:54 -06:00
  • 6c6953e664 refactor: update identity management to use raw byte storage and msgpack for ratchet persistence Ivan 2025-11-20 17:56:48 -06:00
  • b4039dc148 feat: implement ratchet management with persistence and rotation Ivan 2025-11-20 17:56:40 -06:00
  • ba18fba43e Fix announce packet and debug logging Ivan 2025-11-20 17:56:29 -06:00
  • f4a929ce3a Update README.md Ivan 2025-11-13 10:30:50 -06:00
  • fe66163ef7 remove Ivan 2025-11-13 10:30:41 -06:00
  • 2cc34172c8 remove workflows Ivan 2025-11-13 10:30:32 -06:00
  • 9331c4edbd add donation information and funding options Ivan 2025-11-10 12:57:25 -06:00
  • 8725c68b24 update: tinygo workflow Ivan 2025-11-10 10:17:44 -06:00
  • 07512a3c88 update Ivan 2025-11-10 10:15:42 -06:00
  • 6217a889e1 update Makefile with tinygo build options Ivan 2025-11-10 10:11:45 -06:00
  • 92e4651c0c update build constraints for TCP interfaces to support TinyGo Ivan 2025-11-10 10:11:06 -06:00
  • f097bb3241 security: use net.JoinHostPort instead of fmt.Sprintf v0.5.0 Ivan 2025-11-09 00:05:36 -06:00
  • 22fc5093db perf: combine multiple append calls in transport Ivan 2025-11-09 00:05:31 -06:00
  • fc95e54b2e update: Makefile with debug build target and update help text Ivan 2025-11-09 00:01:19 -06:00
  • 636d400f1e refactor: migrate to structured debug logging Ivan 2025-11-09 00:00:55 -06:00
  • d446c3f3df Add microVM setup files microvm Ivan 2025-11-07 13:19:56 -06:00
  • a01bad919c Merge pull request 'Update TinyGo branch with debug logging' (#2) from main into tinygo ivan 2025-11-07 18:53:54 +00:00
  • fd5eb65bc0 fix: use context.TODO() in logger.Enabled check for improved clarity Ivan 2025-11-07 12:51:14 -06:00
  • 4e13fe523b fix: resolve deepsource linter issues Ivan 2025-11-07 12:47:47 -06:00
  • dd2cc3e3d9 update logging function to improve argument handling Ivan 2025-11-07 12:44:40 -06:00
  • 353e9c6d9b Update logging to use new debug package Ivan 2025-11-07 12:41:29 -06:00
  • 088ba3337d Add debug package for logging with adjustable levels Ivan 2025-11-07 12:41:14 -06:00
  • cfc88e887b Merge pull request 'update tinygo' (#1) from main into tinygo ivan 2025-11-06 21:16:11 +00:00
  • 4cd2338095 Update README.md Ivan 2025-11-06 15:12:16 -06:00
  • c6cc1d8ca8 Update Ivan 2025-10-31 07:39:51 -05:00
  • 0afb0e9ade Update Ivan 2025-10-31 07:39:41 -05:00
  • feeaa72102 Update GitHub Actions workflows Ivan 2025-10-31 07:39:34 -05:00
  • d325ee6a2d Update UDPInterface Send method to return an error for unsupported UDP functionality in TinyGo Ivan 2025-10-30 19:08:42 -05:00
  • a45ad400f9 Fixes Ivan 2025-10-30 19:05:20 -05: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. Ivan 2025-10-30 19:01:33 -05:00
  • 1b3f4e59db Update GitHub Actions workflow to trigger on 'tinygo' branch for builds Ivan 2025-10-30 19:01:18 -05:00
  • bb964445f3 add examples to gitignore for now Ivan 2025-10-30 18:57:48 -05:00
  • 5369037a74 Add TinyGo build targets to Makefile and create GitHub Actions workflow for TinyGo builds Ivan 2025-10-30 18:54:23 -05:00
  • bb98248830 Update Go module dependencies and version in go.mod and go.sum files Ivan 2025-10-30 18:49:23 -05:00
  • 575657bbc5 Remove cyclomatic and cognitive complexity rules from revive.toml configuration Ivan 2025-10-26 11:49:48 -05:00
  • 8da4a759f5 Add FromHash method to create destinations from known hashes and enhance link handling capabilities Ivan 2025-10-07 22:44:08 -05:00
  • dff1489ee5 Add link ID generation in Establish method for connection requests Ivan 2025-10-07 22:44:02 -05:00
  • 30c97bc9dd Implement identity recall functionality to retrieve existing identities by hash Ivan 2025-10-07 22:43:55 -05:00
  • 005e2566aa Add destination registration and link handling in Transport Ivan 2025-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. Ivan 2025-10-07 21:53:39 -05:00
  • b548e5711e Add destination type constants for packet handling in types.go Ivan 2025-10-07 21:31:45 -05:00
  • cc89bfef6e Update destination hash calculation in handleAnnouncePacket to use SHA256. Ivan 2025-10-07 21:31:40 -05:00
  • 45a3ac1e87 Fix destination hash calculation by incorporating SHA256 for name hashing. Ivan 2025-10-07 21:31:16 -05:00
  • e39936ac30 Fix Announce struct to include destination name and hash validation. Ivan 2025-10-07 21:30:57 -05:00
  • b601ae1c51 Add read loop for UDP interface to handle incoming packets asynchronously. Ivan 2025-10-07 21:30:27 -05:00
  • 7d7a022736 Refine CPU usage calculation in performance monitoring script by truncating decimal values before summation. Ivan 2025-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. Ivan 2025-09-27 05:54:30 -05:00