1. 13 Sep, 2025 26 commits
  2. 12 Sep, 2025 14 commits
    • Stefy Lanza (nextime / spora )'s avatar
      Add explicit ping/pong message handling to Python implementations · b3e5e3d2
      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
      b3e5e3d2
    • Stefy Lanza (nextime / spora )'s avatar
      Add ping/pong message handling to wsssh C implementation · e230ee7c
      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
      e230ee7c
    • Stefy Lanza (nextime / spora )'s avatar
      Apply same performance optimizations to wsssh C version as wsscp · 7c247fe7
      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
      7c247fe7
    • Stefy Lanza (nextime / spora )'s avatar
      Optimize C wsscp performance and add SSH options · 7eb01b2a
      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
      7eb01b2a
    • Stefy Lanza (nextime / spora )'s avatar
      Update logo and icon assets · 92294668
      Stefy Lanza (nextime / spora ) authored
      - Regenerated logo variants from source image
      - Updated banner and icon files for consistency
      92294668
    • Stefy Lanza (nextime / spora )'s avatar
      Update documentation examples to match current command line interfaces · 8d1997cf
      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
      8d1997cf
    • Stefy Lanza (nextime / spora )'s avatar
      Update README.md and DOCUMENTATION.md examples to include --password parameter for wssshc · 846679e7
      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
      846679e7
    • Stefy Lanza (nextime / spora )'s avatar
      Update CHANGELOG.md to document license header additions · f7988bdf
      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
      f7988bdf
    • Stefy Lanza (nextime / spora )'s avatar
      Add GPL-3.0 license headers to shell scripts and C implementations · c47e4736
      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
      c47e4736
    • Stefy Lanza (nextime / spora )'s avatar
      Fix --wssshtools-only option to build only C implementations · 7240da10
      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
      7240da10
    • Stefy Lanza (nextime / spora )'s avatar
      e6376dfa
    • Stefy Lanza (nextime / spora )'s avatar
      Fix wsscp C implementation hang issues · 87e45f53
      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.
      87e45f53
    • Stefy Lanza (nextime / spora )'s avatar
      Add .buildinfo file cleanup to clean.sh · bc0d305a
      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
      bc0d305a
    • Stefy Lanza (nextime / spora )'s avatar
      Enhance clean.sh to remove all Debian package building artifacts · 2a597626
      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
      2a597626