Skip to content

Conversation

@andyoknen
Copy link

@andyoknen andyoknen commented Aug 15, 2025

Added

  • Web UI interface for managing Yggdrasil nodes through a browser
    • Built-in configuration editor with JSON support
    • Peer management and monitoring
    • Multilingual support (English and Russian)
    • Authentication system with brute force protection
    • Theme toggle functionality
    • Mobile-responsive design
  • NodeInfo exchange during peer handshakes for better peer identification
    • Peer names are now displayed in CLI and admin responses
    • NodeInfo data is exchanged and stored during connection establishment
    • Enhanced peer display with names alongside IP addresses
  • Development environment improvements
    • Docker and VS Code Dev Container support for easier development setup
    • Enhanced development container configuration with Oh My Zsh
    • Improved development workflow and environment consistency

andyoknen added 30 commits July 29, 2025 15:16
- Updated WebUI configuration to include a password field for authentication.
- Enhanced the WebUI server to handle login and logout functionality with session management.
- Added tests for authentication and session handling.
- Updated README and example configuration to reflect new authentication features.
- Implemented IP-based blocking after 3 failed login attempts, with a 1-minute lockout period.
- Enhanced login handler to check for blocked IPs and record failed attempts.
- Added tests for brute force protection and successful login clearing failed attempts.
- Updated README and example configuration to document new security features.
…out authentication, and implement theme toggle functionality in login and main pages
…n the WebUI and CLI. Update peer data retrieval to fetch names from node information.
… showing IP addresses. Clean up unused code related to peer name retrieval in admin handler.
…elated handlers to include NodeInfo in peer data retrieval and handshake processes.
… admin responses. Enhance debug logging for NodeInfo processing in various components.
…UI. Enhance debug logging for NodeInfo processing.
…nctionality. Enhance configuration handling by converting data to JSON format and adding validation features. Update styles for improved user experience.
…te UI elements for better user experience. Replace toggle functionality with a fixed display of line numbers. Enhance notification messages and confirmation dialogs with translation support for improved localization.
…hlighting Docker and VS Code Dev Container support for enhanced setup and workflow consistency.
…tartSignal function to manage process signals based on the operating system, improving server restart functionality.
@andyoknen andyoknen changed the title Added information about PR to CHANGELOG WebUI, NodeInfo between peers and DevContainers Aug 15, 2025
… needed for cross-platform restart handling. Clean up code by eliminating unused imports and comments related to platform-specific signal handling.
…when both build name and version are available. Update CSS styles for login container and footer margins for improved layout consistency.
… attacks. Implemented validateConfigPath function to sanitize and check file paths before use in configuration settings. Updated relevant functions to utilize this validation, ensuring security and integrity of file operations.
…guration handling. Implemented safeReadFile, safeWriteFile, and safeStat functions to ensure file paths are validated before operations. Added checks for system directory access and path depth limits to improve security. Updated documentation to reflect these changes and included validation comments in the source code.
…reamline code. Update SECURITY.md to reflect the removal of these functions and adjust the section numbering accordingly.
…mplify path validation logic. This change streamlines the configuration handling process by eliminating unnecessary restrictions on system directory access.
…ted documentation. Adjust WebUIServer response structure and translations to reflect the absence of backup path information.
…Info and related UI components. Simplify config response structure in WebUIServer and update frontend to reflect these changes. Clean up unused CSS styles for improved layout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant