• Stars
    star
    457
  • Rank 95,775 (Top 2 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

scp has a run-in with mosh (alpha)

🏎🏎🏎 shoop 🏎🏎🏎 Build Status

SCP for the modern era. If I were better at marketing I might call this "insanely" fast.

security and stability

This is so incredibly alpha. not alpha like how fraternities use it. alpha like unverified.

DO NOT USE THIS FOR SECURITY SENSITIVE MATERIAL.

THIS IS A PREVIEW. As time passes, software gets more secure assuming I keep my unlaziness. Also right now, the protocol isn't stabilized, so you will need to keep the binaries on the server and client at (more or less) the same revision until we leave pre-alpha state.

what's it do

Shoop is a high-speed encrypted file transfer tool reminiscent of scp. It uses SSH to bootstrap authentication and encryption, then uses UDT (a reliable protocol from the 2000s) instead of TCP (a reliable protocol from the 1970s).

It is particularly useful in connections that are "bursty".

From Vietnam, for example, it typically speeds up my downloads by about 2x, if not more for larger files.

install

The server-side and client-side use the same binary (at least for now). Follow these instructions for both sides (at the moment, I'm not distributing binaries until this is more stable). If you're familiar with mosh, it's a very similar setup.

macOS

  1. get Command Line Tools for Xcode: xcode-select --install, https://developer.apple.com/downloads or Xcode
  2. get rust (easily via rustup curl https://sh.rustup.rs -sSf | sh)
  3. cargo install shoop

debian (if you're on another linux, you know the difference)

  1. get build-essentials sudo apt install build-essentials
  2. get rust (easily via rustup curl https://sh.rustup.rs -sSf | sh)
  3. cargo install shoop

windows

  1. yes sorry

server

If you have a firewall, the default port range shoop uses is 55000-55050 (if you want 50 simultaneous connections). In Ubuntu this might look like:

sudo ufw allow 55000:55050/udp

your typical performance example

☁  shoop [master] ⚑ time scp host-in-germany:~/125mb.file .
1.65s user 2.20s system 2% cpu 2:15.39 total
☁  shoop [master] ⚑ time shoop host-in-germany:~/125mb.file
2.39s user 4.53s system 8% cpu 1:18.53 total

why should i use it

  • It deals with unreliable/shoddy connections much more gracefully
  • It survives network interruptions

but isn't there tool X, Y, and Z already for this?

no, actually, not really.

More Repositories

1

snow

A Rust implementation of the Noise Protocol Framework
Rust
883
star
2

material-colors

Android XML resource with the full material color palette.
45
star
3

noise.js

ambient sound synthesis library for not going crazy
JavaScript
11
star
4

android-obd-reader

A Bluetooth OBDII client for Android devices.
Java
11
star
5

mio-utun

A userspace tunnel wrapper for mio.
Rust
8
star
6

tokio-utun

Tokio bindings for userspace tunnels in macOS
Rust
5
star
7

voyager

DEPRECATED - no longer maintained since 2012. Update your friends on your road trip in real-time online and keep track of the marks you've made on the road over your lifetime.
JavaScript
5
star
8

voyager-android

DEPRECATED - no longer maintained since 2012. Update your friends on your road trip in real-time online and keep track of the marks you've made on the road over your lifetime.
Java
4
star
9

hevc-datamosh

an application to assist in HEVC/H.264 datamoshing
Rust
3
star
10

Eightdroid

Android video streaming application for CS414 @ UIUC
Java
2
star
11

alti2

A rust tool for reading from the Alti-2 Atlas (and possibly others)
Rust
2
star
12

InternBot

InternBot
Ruby
2
star
13

ofnoise.com

Ambient noise for the masses.
1
star
14

wireguard-control

A high-level control library to get and set configurations for WireGuard interfaces.
1
star
15

Eightdesktop

Java
1
star
16

Notifox

Python
1
star
17

craigsgraph.jakemcginty.com

JavaScript
1
star
18

catlogcat

Prettify logcat output in gists
JavaScript
1
star
19

RattusWeb

Python
1
star
20

flower

JavaScript
1
star
21

spritegen

Go
1
star
22

jakemcginty.com

initial push to github
JavaScript
1
star
23

twock

A (surprisingly functional) experiment to see if we can guess what time of day it is by what is being tweeted.
JavaScript
1
star
24

Pormanteau

It makes even less sense with just this word as the project title! Like a spork! And Pokemon!
Java
1
star