Skip to content

Releases: FreeNetLabs/ssh-ify

v0.0.2

24 Mar 15:46

Choose a tag to compare

Changelog

  • 3fc4e8e Refactor HandleChannels: extract channel relay logic into separate relayChannel function for clarity
  • c164503 Fix method receiver for HandleChannels: update to use Server receiver in SSH handling
  • 3a9adff Refactor SSH server integration: update connection handling and streamline server configuration
  • 03923eb Fix variable naming in Run function: rename proxyConn to clientConn for clarity
  • 0e77d2f Refactor Start function: pass ssh configuration to server and remove redundant config creation
  • dc2e21f Refactor websocket handling: remove proxy method and streamline upgrade logic
  • dcae295 Update README.md: standardize JSON keys in configuration example

v0.0.1

24 Mar 04:22

Choose a tag to compare

Changelog

  • b2fe398 Add GitHub Actions workflow for release automation with GoReleaser
  • 631c8da Refactor LoadHostKey function: streamline host key loading and improve error handling
  • d182f82 Fix variable naming in NewConfig function: rename cfgSSH to sshCfg for consistency
  • cc36bd1 Fix variable naming in Run method: rename tunnelConn to proxyConn for clarity
  • f6fda52 Refactor proxy handling: implement connection management and WebSocket upgrade logic; remove obsolete session handling
  • e035b14 Refactor configuration structure and update SSH handling; rename fields and functions for clarity
  • b8e3afa Refactor configuration and SSH key handling; update JSON tags and improve error messages
  • a646a69 Refactor configuration loading and SSH channel handling; streamline session management and improve error handling
  • 2cba24a Refactor SSH channel handling: move ForwardData function and add Session management in new tunnel package
  • 5342216 Refactor channels handings and move to seprate file
  • 4e21dc0 Update README and refactor module paths; enhance configuration and server start logic
  • e7a0f73 Refactor banner handling in config and SSH server; rename BannerMessage to Banner
  • 759b4bb Add configurable banner message to SSH server
  • 5de8849 Remove handling of non-existent config file in LoadConfig function
  • bb07f1a Initialize SSH config in NewServer and pass to Session; remove unused SSH config setter
  • b8a39d1 Refactor ListenAndServe to inline serveListener for improved readability
  • bcbfb91 Remove unnecessary WebSocket headers and clean up comments in tunnel.go
  • aeeed49 Remove redundant logging of server start in main function
  • 13f9126 Remove unused default listen address and port variables; clean up constants in tunnel.go
  • 029c4c2 Move RSA key generation functions to a new file for better organization
  • 28aad89 Refactor buffer management to simplify I/O operations and improve memory handling
  • 79d10c9 Remove authentication configuration from main function
  • 01c34d6 Refactor configuration directory handling and improve error messages
  • 00fa574 Replace fmt and os with log for error handling in main function
  • 6eb728c Refactor SSH server and user management components
  • 7d7709b Fix installation command in README
  • bf78360 Move main.go to root of the project
  • 086e79a Implement configuration directory management and update user database path handling
  • 4ea3fa2 Refactor code comments for clarity and conciseness across multiple files
  • eec3ee9 Refactor printUsage function to improve readability and formatting of command-line help output
  • 252c4bc Revise README to simplify project description and enhance feature clarity
  • cac046c Update module paths to use full import paths and upgrade dependencies
  • 1fe7b36 Add support for automatic default user creation via environment variables
  • 0aa5ce2 Remove user management package documentation
  • b998967 Refactor tunnel and ssh packages: consolidate code into a single files
  • ae1f32a Add automatic certificate generation in listenTLS function
  • 94ea6f1 Implement buffer pooling for optimized I/O operations in SSH and tunnel packages; update relevant functions and documentation.
  • d5ab493 Refactor server to support simultaneous TCP and TLS listeners; update port handling and documentation for clarity.
  • 9066e59 Rename Process method to Handle in Session struct for improved clarity and update references in serveListener function.
  • 35a49f0 Add SSH server configuration handling in config.go and update documentation
  • 69a01af Add instructions for running the server as a background process in README
  • c8bfb01 Update README to include reference to custom SSH WebSocket client Tunn
  • 19c7e66 Add LICENSE and README files; enhance documentation and examples throughout the codebase
  • 5f171f8 Refactor SSH channel handling: rename HandleSSHForwardChannels to HandleSSHChannels for improved clarity and update session logging to use sessionID field for consistency.
  • bc6d91c Refactor SSH connection handling: rename ServeConn to HandleSSHConnection for improved clarity and consistency in the SSH server implementation.
  • fe4620f Refactor user database management: add ReloadFromFile method for improved data consistency and update AddUser, RemoveUser, UpdatePassword, EnableUser, and DisableUser methods to reload user data after modifications.
  • 1f80360 Refactor tunnel package: implement ListenAndServe and ListenAndServeTLS methods, introduce serveListener function, and enhance WebSocketHandler for improved session management and connection handling.
  • 3e8aa4a Refactor certgen package: enhance documentation for package and functions to improve clarity and usability.
  • 40e3af6 Refactor channel handling functions: enhance documentation for isDirectTCPIPChannel, parseDirectTCPIPExtra, and handlePortForwarding for improved clarity and maintainability.
  • 3a365f1 Refactor port forwarding functions: rename ServePortForward to HandleSSHForwardChannels for improved clarity and modularity; extract logic into helper functions for better maintainability.
  • 7c659a0 Refactor ForwardData function: improve error handling by excluding io.EOF from log messages for clearer error reporting
  • 8912c94 Refactor tunnel package: enhance documentation, restructure connection handling, and introduce Session management for improved clarity and maintainability
  • 10a8498 Refactor WebSocketUpgradeResponse: update response format for clarity and compliance with WebSocket protocol standards
  • 4135181 Refactor package documentation: update and standardize package comments for clarity and consistency across SSH and tunnel modules
  • 9d9440c Refactor PasswordAuth function: streamline authentication logic and improve error handling for better clarity and maintainability
  • 029531f Remove LastLogin field from User struct and update GetUserInfo function accordingly
  • 9a1bf55 Refactor server lifecycle management: consolidate server initialization and shutdown handling in StartServer function, ensuring graceful shutdown and improved code organization
  • 7bf8106 Refactor SSH server integration: re-export ServerConfig for easier access and streamline WebSocket upgrade handling in the tunnel package
  • 7311af6 Refactor connection management: replace active connection counting with atomic operations for thread safety and improved performance
  • b814356 Refactor GenerateCert function: improve error handling, streamline file existence checks, and enhance code clarity
  • 3f43ee8 Add certificate generation utilities and update server to use new certgen package
  • 80fa6d3 Refactor server and tunnel package: rename functions for clarity, improve connection handling, and enhance TLS setup
  • 8f2bff5 Remove HTTP CONNECT handling from Process method in Handler
  • f869aaa Refactor strucutre off project
  • d2868ce Remove redundant require statement for golang.org/x/crypto in go.mod
  • a0a0ba4 Implement user management CLI and enhance authentication with custom user database
  • 3920f11 Refactor ForwardData to ensure proper connection closure after data transfer
  • 0417f24 Refactor function and type names for clarity and consistency across the codebase
  • 6db5cc0 Refactor function names for clarity and consistency across the codebase
  • ccd0367 Improve connection management logging in handler and server
  • 5ad2acf Add custom SSH version banner and welcome message to server config
  • 3661f17 Refactor logging to use standard log package for consistency and thread safety
  • c6c7c83 Enhance documentation across the codebase with package and function comments for clarity and maintainability.
  • 3d0e54a initial release
  • b9caabc Initial commit