LogoopenSUSE Build Service > Projects
Sign Up | Log In

fast file copy tool for LANs

npush will now use IPv6 and IPv4 multicast on the multicast groups
ff02::6e63:7030 (6e63:7030 == 'ncp0') and
(110.99.112 == 'ncp'). If both methods fail, npush will resort to the broadcast
packets used by previous versions. You can force the broadcast method by
passing "-b" to npush so that previous npoll versions can see the

"ncp" is a utility for copying files in a LAN. It has absolutely no security or
integrity checking, no throttling, no features, except one: you don't have to
type the coordinates of your peer.

Please note that the DNS resolver does not use /etc/hosts (as that would not
work with IPv6 anyway), so you should have a properly configured DNS server.

Basically it works like this:
1. You and your buddy want to play Quake
2. Your buddy has a level that you don't have
3. He types npush filename and waits. npush sends out UDP announcement packets
proclaiming that someone wants to send something
4. You type npoll. npoll waits until it sees one of these packets
5. The files are copied with tar over a TCP socket, so permissions and file
dates (and if you are root, owners) are preserved. 

peer1$ npush file1
               peer2$ npoll

peer1$ ncp
               peer2$ ncp peer1 file1 file2 file3

peer1$ npush file1
               peer2$ npoll peer1

Source Files

Filename Size Changed Actions
ncp_1.2.4-3.debian.tar.gz 2.33 KB Download File
ncp_1.2.4-3.dsc 775 Bytes Download File
ncp_1.2.4.orig.tar.bz2 6.03 KB Download File

Comments for home:stbuehler (0)

Login required, please login or signup in order to comment