- Authentication with rate limit
- Fast, minimal latency.
- Efficient. 3kb memory usage with 1 connection.
- Username & password auth
- Cross platform
- Per-user allocation limit
./srp register <username> <password>
./srp deletelogin <username> <password>
./srp claim <port>
./srp unclaim <username> <password>
./srp forward
./srp servehost=127.0.0.1:6969
# Port forwarding restrictions
min_port=20000
max_port=21000
ports_per_login=10
logins_per_ip=3
# Restricted ports (comma-separated, can only be used via config file assignment)
# Example: restricted_ports=22,80,443,3306
restricted_ports=
# Address of the SRP server
server=127.0.0.1:6969
# Login
passwd=Omena0:bingchilling
# Forwards
# <remote port> -> <local port>
forwards=[
20001 -> 8000
]
Live list of logins in format:
<username>:<passwd hash>:<creation timestamp>[|<claimed ports csv>]Editing the file should apply changes without restarting server. The server should edit this file to add/remove accounts/claimed ports