Releases: Freaky/tarssh
Releases · Freaky/tarssh
Tokio Stability
Going Green
- Restructure connection handling to reduce memory and CPU use
- Observed drop of ~2MB from 8MB to 6MB with 4000 connections
- Remove
--threads
option, tarssh is now strictly single-threaded - Send the banner line-by-line
- Track bytes sent per-connection and globally
- Add
SIGINFO
(andSIGHUP
) support to log status on demand - Stop calling
accept()
when the connection limit is reached
Moving to NeoTokio
- Update to Tokio 0.3.4
- Set socket buffers on listen rather than after accept
- Remove references to not-really-maintained Docker image
Control the Logs
Added
--disable-log-ident
and--disable-log-level
flags
Changed
- Rename
--disable-timestamps
to--disable-log-timestamps
- Rework FreeBSD rc script
- Tweak systemd service file
A Waity Release
Added
- systemd
.service
file (extra/tarssh.service
, #2 from @BenWiederhake) - Simple log analysis script (
extra/tarssh_log_stats.rb
)
Changed
- Upgrade to Tokio 0.2
- Migrate to async/await
- Default to Tokio's basic single-threaded scheduler to minimise resource use
First crate
Finally publish as a crate \o/