pluto-alice / pass

Point to point file transfer tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pass

a file transfer tool. point to point, no server needed. NAT traversal equipped.

Note: pass cannot traverse LSN (Large Sacel NAT) see more in About Port Mapping

Build

git clone https://github.com/PLUTO-ALicE-Assn/pass.git -b stable
cd pass
make
# copy to /usr/local/bin
# use sudo on linux
make install

Usage

# map for port mapping if you don't have public ip address
$ pass <file-path> <port> (optional) map

File name(not path) cannot exceed 512 characters.

Open a downloaded or web browser and go to address:port.

About port mapping

Currently pass can map port on only home NATs, traversing Large-scale-NAT requires PCP protocol support.

pass will try to ise ipv6 be default, so if you have ipv6 address there is no need to map address.

Safety

There is no encryption so don’t use this on any secret.

TO-DO

More test

Library used

miniupnpc: https://github.com/miniupnp/miniupnp

Note

pcp.c & natpmp.c not used because I couldn’t get them to work.

About

Point to point file transfer tool

License:MIT License


Languages

Language:C 99.5%Language:Makefile 0.5%