- 23 Sep, 2025 3 commits
-
-
Stefy Lanza (nextime / spora ) authored
- Add output buffering to vnc_session_t structure - Modify read_pipe_output to buffer wsssht stdout - Update vnc_get_output to return buffered data - Modify websocket_vnc_handler to send output to WebSocket client - Enable bidirectional communication for VNC WebSocket connections
-
Stefy Lanza (nextime / spora ) authored
- Remove secure context check in noVNC RFB.js to allow HTTP usage - Add --websocket-tls-only configuration option (defaults to true for security) - Implement mixed TLS/non-TLS WebSocket server support - Add plain WebSocket connection support in protocol layer - Fix critical bugs: buffer overflows, race conditions, HTML template issues - All changes maintain backward compatibility while enabling HTTP WebSocket usage
-
Stefy Lanza (nextime / spora ) authored
- Fix embed_assets.sh sed regex for CommonJS to ES6 conversion - Convert require() calls to import statements in deflate.js - Add missing messages.js file for error messages - Remove module.exports statements from deflate.js - Update all pako zlib files to use ES6 modules This resolves the 'require is not defined' and 'module is not defined' errors in the browser.
-
- 22 Sep, 2025 14 commits
-
-
Stefy Lanza (nextime / spora ) authored
- Modified embed_assets.sh to recursively embed all JS files in templates/novnc/ - Added automatic CommonJS to ES6 module conversion for pako library - Updated assets.c and assets.h to serve /novnc/* paths - Server now serves noVNC assets with correct path structure for tight encoding support
-
Stefy Lanza (nextime / spora ) authored
- Add 'active' field to service_config_t structure (defaults to true) - Parse 'active' field from service config files (accepts true/1/yes) - Skip inactive services during service loading - Maintain backward compatibility with existing configs
-
Stefy Lanza (nextime / spora ) authored
- Add send_registration_message_with_services() to send detailed service info during client registration - Update wssshc to send service configurations during registration - Enhance server to parse service arrays and legacy string format - Fix wsssht to use service from URL in tunnel request messages - Maintain backward compatibility with existing clients
-
Stefy Lanza (nextime / spora ) authored
- Add comprehensive service configuration documentation to README.md - Add detailed service configuration section to DOCUMENTATION.md - Document service config file format and examples for SSH, RDP, VNC - Explain service directory setup and multiple services configuration - Include service discovery and loading information
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
- Fix WebSocket upgrade handshake in web interface - Fix terminal session linking with WebSocket connections - Add binary type setting for WebSocket messages - Add terminal resize after session establishment - Change 'WebSocket SSH Daemon' to 'WSSSHD control panel' in all headers - Add GNOME-like window decorations to terminal interface - Implement window controls: close (disconnect), maximize (fullscreen), minimize (exit fullscreen) - Maintain window decorations in fullscreen mode
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
- Add polling delay to ensure terminal output appears immediately - Update dashboard to refresh client list dynamically without page reload - Fix dashboard layout with proper container - Update debug logging to exclude frequent polling requests - Embed updated HTML templates
-
- 21 Sep, 2025 23 commits
-
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
- Remove template copying from wsssh-server package since templates are now embedded in wssshd2 binary - Fix erroneous wssshd.py installation in wssshtools package - Update both package changelogs to version 1.7.0-1
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
- wssshd2/assets.c: Modified to handle users page dynamically instead of static HTML - wssshd2/configure.sh: Added SQLite3 library dependency checking and linking These changes ensure proper SQLite integration in the build system and dynamic user management interface.
-
Stefy Lanza (nextime / spora ) authored
- README.md: Updated installation, architecture, and build instructions for C implementation - CHANGELOG.md: Added v1.7.0 entry documenting major transition from Python to C - DOCUMENTATION.md: Updated project structure, dependencies, and build instructions - TODO.md: Added v1.7.0 completion status and updated roadmap All documentation now reflects the new C-based architecture with SQLite database and embedded web interface.
-
Stefy Lanza (nextime / spora ) authored
- Removed templates/ directory (no longer needed with embedded HTML) - Removed wssshd.py (Python server entry point) - Removed wsssd/ directory (entire Python server implementation) - Project now uses only wssshd2/ C implementation - Cleaner codebase with single server implementation - Reduced maintenance overhead and confusion
-
Stefy Lanza (nextime / spora ) authored
- Updated package version from 1.6.1-1 to 1.6.5-1 for consistency - Added changelog entry documenting the transition to C binary - Maintained version alignment with wssshtools package - Preserved all existing package functionality and dependencies
-
Stefy Lanza (nextime / spora ) authored
- Change build dependencies from Python to C build tools (gcc, make, libssl-dev, libsqlite3-dev, uuid-dev) - Update runtime dependencies to include libsqlite3-0 and libssl3 - Modify debian/rules to build wssshd2 C binary instead of PyInstaller - Update man page with C version command line options - Update package description to reflect C binary with embedded web interface - Keep all existing init scripts, logrotate, and service files unchanged - Maintain same user creation and path configurations
-
Stefy Lanza (nextime / spora ) authored
- Add SQLite support with proper database initialization - Create users table with id, username, password_hash, is_admin columns - Implement user management functions (add, update, delete, find) - Add security warning for default admin credentials - Add ASCII art banner on startup - Fix login/logout redirects to home page - Add --debug-database option for database operations logging - Support root user directory selection (/etc/wssshd vs ~/.config/wssshd) - Generate dynamic user management interface - Maintain compatibility with existing web interface features
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
- Added --debug-web command line option for comprehensive web request debugging - Fixed HTTP request parsing to properly separate headers from POST body - Implemented Content-Length based body extraction for reliable form data parsing - Added extensive debug output for troubleshooting web requests - Updated configuration system to support debug_web flag The login form now correctly parses username/password from POST requests.
-
Stefy Lanza (nextime / spora ) authored
- Added debug_web flag to wssshd_config_t structure - Added --debug-web command line option parsing - Added comprehensive debug output for web requests including: * Request method, path, query parameters, and content * Session validation and authentication status * Login attempts with username/password logging * HTTP response details (status, headers, content type, length) - Updated help text and configuration display - Fixed compiler warning in debug output
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
- Moved login page HTML to html_pages/login_page.h - Moved users page HTML to html_pages/users_page.h - Updated assets.c to use templates from header files - Updated web.c to use login and users templates directly - Updated configure.sh and regenerated Makefile with all new dependencies
-
Stefy Lanza (nextime / spora ) authored
- Created html_pages/ directory for HTML templates - Moved index page HTML template to html_pages/index_page.h - Moved terminal page HTML template to html_pages/terminal_page.h - Updated web.c to use templates from header files instead of embedded strings - Updated configure.sh to include new header file dependencies in generated Makefile
-
Stefy Lanza (nextime / spora ) authored
- Move web_start_server() before websocket_start_server() to ensure web server starts - Implement full HTTP server with request parsing and response handling - Fix HTTP redirect to properly send Location header instead of Set-Cookie - Remove non-blocking socket setting that caused inconsistent responses - Update shutdown sequence to stop web server before WebSocket server
-
Stefy Lanza (nextime / spora ) authored
- Fix wssshc tunnel uptime display by correcting start_time initialization - Standardize tunnel uptime formatting in wssshd2 to match wssshc (days-hours:minutes:seconds) - Fix wssshd2 last rate calculation to use data transferred since last status print instead of accumulated period
-
Stefy Lanza (nextime / spora ) authored
- Add missing start_time assignment in wsssht tunnel creation - Update uptime display to show days-hours:minutes:seconds format - Improve last rate calculation in wssshc status display to use actual time intervals
-
Stefy Lanza (nextime / spora ) authored
- Added format_bytes() function to display data sizes in B, kB, MB, or GB with 2 decimal places - Updated status logging in both wssshc.c and wssshd2/websocket.c to use formatted data sizes for total data, sent/received bytes, and transfer rates
-
Stefy Lanza (nextime / spora ) authored
- Added log_message() function to prepend YYYY-MM-DD HH:MM:SS timestamps to log messages - Updated all non-debug printf statements to use log_message() in wssshc.c and wssshd2/websocket.c - Fixed variable redefinition issues in wssshc.c - Adapted status logging to use correct tunnel_t fields for wssshd2
-