Major refactoring: Extract shared libraries and fix port option behavior
- Extracted ~1500+ lines of duplicate code into shared libraries: * wssshlib.h/.c - Shared utilities (config, flags, ports, IDs) * websocket.h/.c - WebSocket functions (handshake, framing, messaging) * wssh_ssl.h/.c - SSL/TLS setup functions * tunnel.h/.c - Tunnel management (setup, reconnection, data handling) - Fixed critical port option behavior: * -p/-P options now correctly specify wssshd server port * Removed misleading documentation about options being passed through * Updated help text and man pages to reflect correct behavior - Cleaned up help documentation: * Removed duplicate 'Options:' sections from wsssh and wsscp * Consolidated all options into single, clean sections - Updated build system: * Modified configure.sh and Makefile for new library structure * Proper linking of wsssh and wsscp against shared libraries - Updated documentation: * CHANGELOG.md - Added version 1.4.6 with comprehensive details * README.md - Updated architecture and project structure * DOCUMENTATION.md - Reflected new library structure * Man pages - Corrected port option examples * TODO.md - Updated completion status - Maintained backward compatibility while improving maintainability
Showing











wsssh-server/debian/files
0 → 100644
File added
File added
File added
52.7 KB
4.19 KB
23.2 KB
2.34 KB
84.6 KB
3.24 KB
4.91 KB
7.23 KB
23.2 KB
84.6 KB
307 KB
7.23 KB
778 KB
wssshtools/tunnel.c
0 → 100644
wssshtools/tunnel.h
0 → 100644
wssshtools/websocket.c
0 → 100644
wssshtools/websocket.h
0 → 100644
wssshtools/wssh_ssl.c
0 → 100644
wssshtools/wssh_ssl.h
0 → 100644
wssshtools/wssshlib.c
0 → 100644
wssshtools/wssshlib.h
0 → 100644