sstp

Crates.iosstp
lib.rssstp
version0.2.2
sourcesrc
created_at2021-12-28 17:19:13.738189
updated_at2022-01-04 22:24:12.692042
descriptionCroc implementation in Rust...
homepage
repositoryhttps://github.com/deathbyknowledge/sstp
max_upload_size
id504296
size46,915
Steve James (deathbyknowledge)

documentation

README

SSTP (Steve's Super Transfer Program)

Some time ago I came across Croc, a file transfer program written in Go by schollz. It struck me as a really good program that I could actually use in my daily life. Since I've been trying to learn some Rust and at the same time expand my networking knowledge, I decided to give it a try and create a Rust implementation (-ish, at least get the same functionality out of it) of it. WIP.

Install

cargo install sstp

Usage

Send a file:

sstp send [path/to/file]

Running the previous command will generate a unique code. Use that code from a different device to start the transfer.

Recieve a file:

sstp send [code]

Start a relay server:

sstp relay

TODOs:

  • Add extra parameters: Relay address(as a domain name) and custom code.
  • Add compression
  • Add e2e encryption (PAKE or other protocol)
  • Automate tests
  • Use multiple ports on the relay...?
  • Improve project structure. Change into cli/lib workspace maybe?
  • Fix room cleanup
  • Resume interrupted transfers
  • Support more than 1 file transfers.
  • Use Defeault trait for params?
Commit count: 36

cargo fmt