52f8e21da0
Refactor Destination struct to enhance request handling and link management; introduce IncomingLinkHandler for improved link processing and update transport interface usage.
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.
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.
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.
Go Build Multi-Platform / build (amd64, windows) (push) Failing after 39s
Go Build Multi-Platform / build (amd64, freebsd) (push) Failing after 43s
Go Build Multi-Platform / build (amd64, linux) (push) Failing after 41s
Go Build Multi-Platform / build (amd64, darwin) (push) Failing after 45s
Go Build Multi-Platform / build (arm, freebsd) (push) Failing after 14s
Go Build Multi-Platform / build (arm, linux) (push) Failing after 13s
Go Build Multi-Platform / build (arm, windows) (push) Failing after 20s
Go Build Multi-Platform / build (arm64, freebsd) (push) Failing after 21s
Go Build Multi-Platform / Create Release (push) Has been skipped
Go Build Multi-Platform / build (arm64, darwin) (push) Failing after 20s
Go Build Multi-Platform / build (arm64, linux) (push) Failing after 21s
Go Build Multi-Platform / build (arm64, windows) (push) Failing after 20s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Failing after 1m15s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Failing after 1m17s
Go Revive Lint / lint (push) Successful in 1m11s
Run Gosec / tests (push) Failing after 1m30s
Go Test Multi-Platform / Test (macos-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (windows-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (macos-latest, arm64) (push) Has been cancelled
2025-12-01 20:02:02 -06:00
f513c6abcd
Add RESPONSE_MAX_GRACE_TIME constant to resource.go for enhanced timeout management
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.
2025-12-01 20:01:48 -06:00
1e67bc56b6
Improve Destination struct with better request handling and link management
2025-12-01 20:01:31 -06:00
cfcdb62168
Add HandleIncomingLinkRequest and GetLinkID methods for improved link handling and status retrieval; enhance logging for link proof generation and sending process.
Go Build Multi-Platform / build (arm, freebsd) (push) Failing after 26s
Go Build Multi-Platform / build (arm, windows) (push) Failing after 34s
Go Build Multi-Platform / build (arm64, darwin) (push) Failing after 32s
Go Build Multi-Platform / build (arm64, freebsd) (push) Failing after 46s
Go Build Multi-Platform / build (arm64, windows) (push) Failing after 35s
Go Test Multi-Platform / Test (macos-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Has been cancelled
Run Gosec / tests (push) Has been cancelled
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Has been cancelled
Go Build Multi-Platform / build (amd64, windows) (push) Failing after 38s
Go Build Multi-Platform / build (amd64, darwin) (push) Failing after 44s
Go Build Multi-Platform / build (amd64, freebsd) (push) Failing after 42s
Go Build Multi-Platform / build (amd64, linux) (push) Failing after 41s
Go Build Multi-Platform / build (arm, linux) (push) Failing after 27s
Go Build Multi-Platform / build (arm64, linux) (push) Failing after 43s
Go Build Multi-Platform / Create Release (push) Has been cancelled
Go Test Multi-Platform / Test (windows-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (macos-latest, arm64) (push) Has been cancelled
Go Revive Lint / lint (push) Has been cancelled
2025-11-21 12:43:22 -06:00
d14692b19b
Add FromFile and loadPrivateKey methods to Identity for loading identity from file and initializing keys
2025-11-21 12:43:16 -06:00
59486330ec
update HandleIncomingLinkRequest to accept packet instead of linkID and add HandleRequest method for improved request handling
2025-11-21 12:43:00 -06:00
1133e9755d
Add better logging in HandlePacket and handleLinkPacket for better error tracking and clarity
2025-11-21 12:42:18 -06:00
b450aa8569
refactor: update delivery callback in TestPacketReceiptCallbacks to use channel for improved synchronization
Go Build Multi-Platform / build (amd64, freebsd) (push) Failing after 33s
Go Build Multi-Platform / build (amd64, darwin) (push) Failing after 20s
Go Build Multi-Platform / build (amd64, windows) (push) Failing after 30s
Go Build Multi-Platform / build (amd64, linux) (push) Failing after 38s
Go Build Multi-Platform / build (arm, freebsd) (push) Failing after 39s
Go Build Multi-Platform / build (arm, linux) (push) Failing after 36s
Go Test Multi-Platform / Test (macos-latest, amd64) (push) Has been cancelled
Go Build Multi-Platform / build (arm, windows) (push) Failing after 34s
Go Build Multi-Platform / build (arm64, darwin) (push) Failing after 30s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m25s
Go Revive Lint / lint (push) Successful in 44s
Go Build Multi-Platform / build (arm64, freebsd) (push) Failing after 29s
Go Build Multi-Platform / build (arm64, linux) (push) Failing after 31s
Go Build Multi-Platform / build (arm64, windows) (push) Failing after 44s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 43s
Go Build Multi-Platform / Create Release (push) Has been skipped
Run Gosec / tests (push) Successful in 59s
Go Test Multi-Platform / Test (windows-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (macos-latest, arm64) (push) Has been cancelled
2025-11-20 21:49:50 -06:00
678ab32ee6
refactor: simplify index increment for IFAC code handling in handleAnnouncePacket for improved readability
2025-11-20 21:45:49 -06:00
4e37112aee
refactor: replace log statements with debug logging in packet.go for improved clarity and consistency
2025-11-20 21:45:44 -06:00
af046370db
refactor: replace log statements with debug logging in link.go for improved clarity and consistency
2025-11-20 21:45:39 -06:00
eb40fd6451
refactor: remove flaky address resolution checks in TestNewUDPInterface for improved test reliability
2025-11-20 21:45:35 -06:00
763fb4a962
refactor: improve variable initialization in GetRTT method for better clarity
2025-11-20 21:45:30 -06:00
673f19b1ff
feat: add OpenBSD support for TCP keepalive configuration in TCPClientInterface
2025-11-20 21:45:25 -06:00
4a20551e9a
feat: add NetBSD support for TCP keepalive configuration in TCPClientInterface
2025-11-20 21:45:20 -06:00
1ac5696c80
refactor: improve variable initialization and return types in Identity methods for clarity
2025-11-20 21:45:15 -06:00
5c2ea259b8
refactor: replace log statements with debug logging for packet resend errors in channel.go
2025-11-20 21:45:10 -06:00
7573e942f1
refactor: streamline Read and Close methods in buffer.go for improved clarity and efficiency
2025-11-20 21:45:06 -06:00
d3cf775394
refactor: simplify RequestPath method by removing unnecessary error handling
2025-11-20 21:45:01 -06:00
72d70b2141
feat: add receipt management for packet handling, including registration, unregistration, and proof validation
2025-11-20 21:31:36 -06:00
06da42a148
feat: implement PacketReceipt struct with methods for receipt creation, validation, and timeout handling
2025-11-20 21:31:31 -06:00
ec8b843cd4
feat: enhance Packet struct with new fields and hash methods for improved functionality
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
2025-11-20 21:31:18 -06:00
b0669954a4
code cleanup
2025-11-20 21:25:50 -06:00
ded5853026
move platformGetRTT implementation to tcp_common.go for non-Linux platforms
2025-11-20 21:24:58 -06:00
b0fad14504
fix: add security comment for TCP_INFO syscall in platformGetRTT function
Go Build Multi-Platform / build (amd64, darwin) (push) Failing after 23s
Go Build Multi-Platform / build (amd64, freebsd) (push) Failing after 24s
Go Build Multi-Platform / build (amd64, windows) (push) Failing after 39s
Go Build Multi-Platform / build (amd64, linux) (push) Failing after 41s
Go Build Multi-Platform / build (arm64, freebsd) (push) Has been cancelled
Go Build Multi-Platform / build (arm64, linux) (push) Has been cancelled
Go Build Multi-Platform / build (arm64, windows) (push) Has been cancelled
Go Build Multi-Platform / Create Release (push) Has been cancelled
Go Build Multi-Platform / build (arm, linux) (push) Has been cancelled
Go Build Multi-Platform / build (arm, windows) (push) Has been cancelled
Go Revive Lint / lint (push) Has been cancelled
Go Build Multi-Platform / build (arm, freebsd) (push) Has been cancelled
Go Test Multi-Platform / Test (macos-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (windows-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (macos-latest, arm64) (push) Has been cancelled
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Has been cancelled
Go Build Multi-Platform / build (arm64, darwin) (push) Has been cancelled
Run Gosec / tests (push) Has been cancelled
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
Go Build Multi-Platform / build (arm, linux) (push) Failing after 38s
Go Build Multi-Platform / build (arm, windows) (push) Failing after 33s
Go Build Multi-Platform / build (arm, freebsd) (push) Failing after 41s
Go Build Multi-Platform / build (arm64, darwin) (push) Failing after 31s
Go Build Multi-Platform / build (arm64, freebsd) (push) Failing after 22s
Go Build Multi-Platform / build (arm64, linux) (push) Failing after 29s
Go Build Multi-Platform / build (arm64, windows) (push) Failing after 37s
Go Build Multi-Platform / build (amd64, darwin) (push) Failing after 31s
Go Build Multi-Platform / build (amd64, freebsd) (push) Failing after 30s
Go Build Multi-Platform / build (amd64, linux) (push) Failing after 34s
Go Build Multi-Platform / build (amd64, windows) (push) Failing after 33s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m0s
Go Build Multi-Platform / Create Release (push) Has been skipped
Go Revive Lint / lint (push) Successful in 48s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m25s
Run Gosec / tests (push) Failing after 58s
Go Test Multi-Platform / Test (macos-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (windows-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (macos-latest, arm64) (push) Has been cancelled
2025-11-20 18:14:57 -06:00
189645940c
fix: add security comments to clarify handling of non-critical errors in ratchet file operations
Go Build Multi-Platform / build (arm, freebsd) (push) Failing after 35s
Go Build Multi-Platform / build (arm, linux) (push) Failing after 39s
Go Build Multi-Platform / build (arm, windows) (push) Failing after 38s
Go Build Multi-Platform / build (arm64, freebsd) (push) Failing after 30s
Go Build Multi-Platform / build (amd64, darwin) (push) Failing after 29s
Go Build Multi-Platform / build (amd64, freebsd) (push) Failing after 33s
Go Build Multi-Platform / build (amd64, windows) (push) Failing after 32s
Go Build Multi-Platform / build (amd64, linux) (push) Failing after 35s
Go Build Multi-Platform / build (arm64, darwin) (push) Failing after 36s
Go Build Multi-Platform / build (arm64, linux) (push) Failing after 36s
Go Build Multi-Platform / build (arm64, windows) (push) Failing after 34s
Run Gosec / tests (push) Failing after 58s
Go Test Multi-Platform / Test (macos-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (windows-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 46s
Go Build Multi-Platform / Create Release (push) Has been skipped
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m28s
Go Revive Lint / lint (push) Successful in 55s
Go Test Multi-Platform / Test (macos-latest, arm64) (push) Has been cancelled
2025-11-20 18:04:30 -06:00
4f37df2fc0
fix: add security comments to handle non-critical errors in ratchet persistence
2025-11-20 18:04:26 -06:00
4859f5513a
fix: add security comment for Unix timestamp handling in CreatePacket function
2025-11-20 18:04:22 -06:00
2a2d6d6515
feat: add platform-specific TCP timeout configurations for Darwin, FreeBSD, Windows, and Linux
2025-11-20 18:04:11 -06:00
3d943aaaef
refactor: improve announce packet handling by clarifying address extraction and validation logic
Go Build Multi-Platform / build (arm, freebsd) (push) Has been cancelled
Go Build Multi-Platform / build (arm, linux) (push) Has been cancelled
Go Build Multi-Platform / build (arm, windows) (push) Has been cancelled
Go Build Multi-Platform / build (arm64, darwin) (push) Has been cancelled
Go Build Multi-Platform / build (amd64, windows) (push) Has been cancelled
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Has been cancelled
Run Gosec / tests (push) Has been cancelled
Go Revive Lint / lint (push) Has been cancelled
Go Test Multi-Platform / Test (macos-latest, amd64) (push) Has been cancelled
Go Build Multi-Platform / build (amd64, linux) (push) Has been cancelled
Go Test Multi-Platform / Test (windows-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (macos-latest, arm64) (push) Has been cancelled
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Has been cancelled
Go Build Multi-Platform / build (amd64, freebsd) (push) Has been cancelled
Go Build Multi-Platform / build (arm64, freebsd) (push) Has been cancelled
Go Build Multi-Platform / build (arm64, linux) (push) Has been cancelled
Go Build Multi-Platform / build (arm64, windows) (push) Has been cancelled
Go Build Multi-Platform / Create Release (push) Has been cancelled
Go Build Multi-Platform / build (amd64, darwin) (push) Has started running
2025-11-20 17:57:13 -06:00
d5d7fbdb79
refactor: simplify comments in getHashablePart function for clarity
2025-11-20 17:57:07 -06:00
fdfe895d2d
feat: enhance TCP and UDP interfaces with improved timeout settings and MTU configuration
2025-11-20 17:57:00 -06:00
01e639133b
feat: enhance AutoInterface with improved configuration and multicast handling
2025-11-20 17:56:54 -06:00
6c6953e664
refactor: update identity management to use raw byte storage and msgpack for ratchet persistence
2025-11-20 17:56:48 -06:00
b4039dc148
feat: implement ratchet management with persistence and rotation
2025-11-20 17:56:40 -06:00
ba18fba43e
Fix announce packet and debug logging
2025-11-20 17:56:29 -06:00
f097bb3241
security: use net.JoinHostPort instead of fmt.Sprintf
Benchmark GC Performance / benchmark (push) Successful in 1m19s
Run Gosec / tests (push) Successful in 48s
Go Revive Lint / lint (push) Successful in 34s
Go Build Multi-Platform / build (amd64, darwin) (push) Failing after 31s
Go Build Multi-Platform / build (amd64, windows) (push) Failing after 34s
Go Build Multi-Platform / build (arm, freebsd) (push) Failing after 29s
Go Build Multi-Platform / build (arm, linux) (push) Failing after 27s
Go Build Multi-Platform / Create Release (push) Has been skipped
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 48s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m28s
Go Build Multi-Platform / build (amd64, freebsd) (push) Failing after 27s
Go Build Multi-Platform / build (amd64, linux) (push) Failing after 27s
Go Build Multi-Platform / build (arm, windows) (push) Failing after 27s
Go Build Multi-Platform / build (arm64, darwin) (push) Failing after 27s
Go Build Multi-Platform / build (arm64, freebsd) (push) Failing after 27s
Performance Monitor / performance-monitor (push) Successful in 2m40s
Go Build Multi-Platform / build (arm64, windows) (push) Failing after 25s
Go Build Multi-Platform / build (arm64, linux) (push) Failing after 27s
Go Test Multi-Platform / Test (macos-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (windows-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (macos-latest, arm64) (push) Has been cancelled
2025-11-09 00:05:36 -06:00
22fc5093db
perf: combine multiple append calls in transport
2025-11-09 00:05:31 -06:00
636d400f1e
refactor: migrate to structured debug logging
2025-11-09 00:00:55 -06:00
fd5eb65bc0
fix: use context.TODO() in logger.Enabled check for improved clarity
2025-11-07 12:51:14 -06:00
4e13fe523b
fix: resolve deepsource linter issues
...
- Fixed the append usage warning (CRT-D0001)
- Fixed the nil context warning (SCC-SA1012)
2025-11-07 12:47:47 -06:00
dd2cc3e3d9
update logging function to improve argument handling
2025-11-07 12:44:40 -06:00
088ba3337d
Add debug package for logging with adjustable levels
...
- Introduced a new debug package that allows for logging at various levels (1-7).
- Implemented initialization, logger retrieval, and logging functions.
- Added functionality to set and get the current debug level.
2025-11-07 12:41:14 -06:00
8da4a759f5
Add FromHash method to create destinations from known hashes and enhance link handling capabilities
2025-10-07 22:44:08 -05:00