353e9c6d9b
Update logging to use new debug package
...
- Removed the old debug logging functions and replaced them with calls to the new debug package.
- Updated logging statements throughout the main.go file to utilize adjustable logging levels.
- Enhanced the clarity and structure of log messages for better debugging and traceability.
2025-11-07 12:41:29 -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
4cd2338095
Update README.md
2025-11-06 15:12:16 -06:00
c6cc1d8ca8
Update
2025-10-31 07:39:51 -05:00
0afb0e9ade
Update
2025-10-31 07:39:41 -05:00
feeaa72102
Update GitHub Actions workflows
...
- Pin to full -length commit hash
- Add master alongside main
2025-10-31 07:39:34 -05:00
bb964445f3
add examples to gitignore for now
2025-10-30 18:57:48 -05:00
5369037a74
Add TinyGo build targets to Makefile and create GitHub Actions workflow for TinyGo builds
2025-10-30 18:54:23 -05:00
bb98248830
Update Go module dependencies and version in go.mod and go.sum files
2025-10-30 18:49:23 -05:00
575657bbc5
Remove cyclomatic and cognitive complexity rules from revive.toml configuration
2025-10-26 11:49:48 -05:00
8da4a759f5
Add FromHash method to create destinations from known hashes and enhance link handling capabilities
2025-10-07 22:44:08 -05:00
dff1489ee5
Add link ID generation in Establish method for connection requests
2025-10-07 22:44:02 -05:00
30c97bc9dd
Implement identity recall functionality to retrieve existing identities by hash
2025-10-07 22:43:55 -05:00
005e2566aa
Add destination registration and link handling in Transport
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.
2025-10-07 21:53:39 -05:00
b548e5711e
Add destination type constants for packet handling in types.go
2025-10-07 21:31:45 -05:00
cc89bfef6e
Update destination hash calculation in handleAnnouncePacket to use SHA256.
2025-10-07 21:31:40 -05:00
45a3ac1e87
Fix destination hash calculation by incorporating SHA256 for name hashing.
2025-10-07 21:31:16 -05:00
e39936ac30
Fix Announce struct to include destination name and hash validation.
...
Also update New and NewAnnounce functions to require destinationHash and destinationName parameters.
2025-10-07 21:30:57 -05:00
b601ae1c51
Add read loop for UDP interface to handle incoming packets asynchronously.
2025-10-07 21:30:27 -05:00
7d7a022736
Refine CPU usage calculation in performance monitoring script by truncating decimal values before summation.
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.
2025-09-27 05:54:30 -05:00
f3808a73e1
Remove caching step for Go modules in performance monitoring workflow
2025-09-27 05:51:43 -05:00
cb908fb143
Increase monitoring duration
2025-09-27 05:50:29 -05:00
f53194be25
Fix announce packet handling to align with RNS specification. Enhance payload parsing, signature verification, and destination hash validation. Improve logging for better debugging of announce packet processing.
2025-09-27 05:48:33 -05:00
ad732d1465
mark interface as online
2025-09-27 05:47:28 -05:00
b70a7d03af
Add autointerface for testing
2025-09-27 05:47:17 -05:00
911fe3ea8e
Add support for 32-byte Ed25519
2025-09-27 05:46:51 -05:00
b59bb349dc
add basic performance monitoring action
2025-09-27 05:44:47 -05:00
08cbacd69f
Update README badges for clarity and consistency in multi-platform testing
2025-09-27 05:44:03 -05:00
9a70a92261
Add support for multi-platform testing
2025-09-27 05:43:54 -05:00
be34168a1b
Refine comment in TCPClientInterface to clarify HDLC framing usage for TCP connections
2025-09-27 04:41:36 -05:00
cebab6b2f3
Add debug logging and missing packet data
2025-09-27 04:41:25 -05:00
fdcb371582
Fix announce packet creation and sending logic to use the announce package. Enhance error handling and logging for interface checks during packet transmission.
2025-09-27 04:40:47 -05:00
f01b1f8bac
Update Decrypt method in Identity to validate token structure and HMAC. Update extraction logic for ephemeral public key, ciphertext, and MAC, ensuring proper error handling for token size and HMAC validation.
2025-09-27 04:40:35 -05:00
a0eca36884
Update logging in HandlePacket and handleAnnouncePacket.
2025-09-27 04:30:59 -05:00
972d00df92
Fix TCPClientInterface readLoop and handlePacket methods to streamline HDLC framing logic and improve packet handling. Remove KISS framing support and update logging for received packets. Ensure outgoing data uses HDLC framing consistently.
2025-09-27 04:30:28 -05:00
483b6e562b
Update announce packet creation and sending logic to utilize transport methods
2025-09-27 04:30:13 -05:00
cbb5ffa970
Cleanup incorrect or outdated code
2025-09-27 04:29:59 -05:00
b7cc0c39b4
Fix announce data parsing to include ratchet field and update length checks
2025-09-27 04:26:22 -05:00
982c173760
Add GitHub Actions workflow for benchmarking GC performance
2025-09-25 13:13:39 -05:00
49ca73ab3a
Update TODO
2025-09-25 13:11:56 -05:00
43b224b4d7
Update README
2025-09-25 13:11:46 -05:00
456a95d569
Add benchmarking tests for packet and transport operations
2025-09-25 12:42:44 -05:00
53b2d18a79
Add benchmarking targets to Makefile for standard and experimental GC
2025-09-25 12:42:06 -05:00
8d7f86e15a
Update README
2025-09-25 12:28:24 -05:00
40213eeac9
Add experimental greenteagc support, release build (strip debug symbols) and lint
2025-09-25 12:24:14 -05:00
5cb8b12a0f
Update Dockerfiles to use Go version 1.25 with ARG for flexibility
2025-09-25 03:31:57 -05:00
2f165186d1
Update README
2025-09-25 03:29:24 -05:00
6cd3b15d78
Update Go version to 1.25 in workflow files
2025-09-25 03:29:16 -05:00