- 13 Sep, 2025 23 commits
-
-
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
-
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
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
Add wssshc_watcher.sh script for monitoring and restarting wssshc with command-line arguments support
-
Stefy Lanza (nextime / spora ) authored
Add SSH options -o UserKnownHostsFile=/dev/null and -o LogLevel ERROR to all wsssh and wsscp implementations
-
Stefy Lanza (nextime / spora ) authored
Update README and CHANGELOG with latest improvements; enhance logo assets and C implementations; add clean script; update .gitignore to ignore videos
-
Stefy Lanza (nextime / spora ) authored
Resolve remaining compilation warnings in wssshc.c by fixing printf format specifier and type casts for size_t
-
Stefy Lanza (nextime / spora ) authored
Fix large WebSocket frame truncation in wssshc by reducing BUFFER_SIZE to 4096 to prevent partial reception on server
-
- 12 Sep, 2025 17 commits
-
-
Stefy Lanza (nextime / spora ) authored
- Implement ping/pong event handlers in wsscp.py and wsssh.py - Register ping_handler and pong_handler functions for WebSocket connections - Enable debug logging for ping/pong events when debug mode is enabled - Maintain automatic pong responses via websockets library while adding explicit handling
-
Stefy Lanza (nextime / spora ) authored
- Implement explicit ping/pong frame parsing and response in wsssh.c - Add send_pong_frame function to handle WebSocket ping frames - Maintain WebSocket protocol compliance for connection keep-alive - Python implementations handle ping/pong automatically via websockets library
-
Stefy Lanza (nextime / spora ) authored
- Replace blocking recv() with select() for efficient I/O multiplexing - Add 50ms timeouts to prevent indefinite blocking operations - Increase buffer size from 4KB to 1MB for optimal throughput - Add 3-second exit delay after SSH completion for clean shutdown - Fix setup_tunnel return codes to prevent segmentation faults - Correct memory management in argument cleanup
-
Stefy Lanza (nextime / spora ) authored
- Replace busy-waiting usleep loops with select() for efficient I/O multiplexing - Add 50ms timeouts to prevent blocking operations - Maintain 1MB buffers for optimal throughput - Add 3-second exit delay after SCP completion for clean shutdown - Fix critical bug in setup_tunnel return codes to prevent segfaults - Correct memory management in argument cleanup to avoid corruption - Add StrictHostKeyChecking=no option to wsscp and wsssh in both Python and C implementations
-
Stefy Lanza (nextime / spora ) authored
- Regenerated logo variants from source image - Updated banner and icon files for consistency
-
Stefy Lanza (nextime / spora ) authored
- Fixed wssshd examples to include required --password parameter - Updated wsssh examples to remove obsolete 'ssh' command requirement - Updated wsscp examples to remove obsolete 'scp' command requirement - Fixed debug mode examples to use current CLI syntax
-
Stefy Lanza (nextime / spora ) authored
- Fixed obsolete command line examples that were missing the required --password parameter - Updated all wssshc usage examples in both files
-
Stefy Lanza (nextime / spora ) authored
- Added entry for GPL-3.0 license headers in shell scripts and C implementations - Updated version 1.1.0 'Changed' section
-
Stefy Lanza (nextime / spora ) authored
- Added license headers to build.sh, clean.sh, and wssshtools/configure.sh - Added license headers to wssshtools/wsscp.c, wssshtools/wsssh.c, and wssshtools/wssshc.c - Headers match the format used in Python files for consistency
-
Stefy Lanza (nextime / spora ) authored
- Move C building logic outside Python-building conditional block - Ensure --wssshtools-only builds all C tools (wssshc, wsssh, wsscp) - Skip Python binary building when --wssshtools-only is specified - Maintain compatibility with other build options
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
- Fix critical WebSocket frame parsing bug: signed char causing negative payload lengths - Add comprehensive message type handling for tunnel_response, tunnel_request, tunnel_ack - Implement buffered data transmission to prevent data loss from blocking sends - Add frame processing safeguards to prevent infinite loops - Optimize performance with increased sleep times to reduce CPU usage - Clean up inappropriate debug output from utility functions - Add proper resource management and error handling throughout Root causes fixed: 1. Signed/unsigned char bug in frame length calculation 2. Missing tunnel_response message handling breaking SSH protocol 3. Data loss from non-blocking socket operations 4. Infinite loops from malformed frame processing 5. High CPU usage from short sleep intervals The C implementation now properly handles WebSocket frames of all sizes and maintains SSH protocol data integrity.
-
Stefy Lanza (nextime / spora ) authored
- Added removal of wsssh-tools*.buildinfo files from both dist/ and root directories - .buildinfo files are generated by dpkg-buildpackage for reproducible build information - Ensures complete cleanup of all Debian packaging artifacts including build metadata
-
Stefy Lanza (nextime / spora ) authored
- Added cleanup for dist/ directory Debian files (moved by build.sh) - Added cleanup for root directory Debian files (fallback) - Added cleanup for wssshtools/debian/ build artifacts: - debian/wsssh-tools/ build directory - debian/files - debian/*.debhelper* files - debian/*.substvars files - debian/debhelper-build-stamp - Ensures complete cleanup of all Debian packaging artifacts - Maintains existing cleanup for PyInstaller and C build artifacts
-
Stefy Lanza (nextime / spora ) authored
- Modified configure.sh to generate Makefile with Debian-aware installation logic - Added conditional installation: /usr/bin for Debian packages, /usr/local/bin for manual installs - Detects Debian builds by checking if DESTDIR contains 'debian/' - Updated uninstall target to clean both installation locations - Fixes dh_usrlocal error by ensuring proper file locations in Debian packages - Maintains backward compatibility for manual installations
-
Stefy Lanza (nextime / spora ) authored
- Fixed debian/changelog: Replaced $(date -R) with proper RFC 2822 formatted date - Removed debian/compat: Eliminated conflict with debhelper-compat in debian/control - Both files were causing dpkg-buildpackage errors during Debian package creation - Package builds should now complete successfully
-
Stefy Lanza (nextime / spora ) authored
- Added --debian-only flag that skips Python/C building and SSL/logo generation - Only performs Debian package building and dependency checking - Useful for quick package rebuilds after Debian packaging changes - Maintains all existing functionality when used with --debian - Provides focused output showing only Debian package results
-