|
asci/nc
what is netcat (nc)? netcat is the simplest port to port comunication program you could imagine. you simply pipe stuff into a netcat open port, and it shows up on the other end where another netcat knew to contact the first guy. it is the easiest (and potentially fastest) way to send data from one machine to another. and as long as you are not piping the info into some shell or program which spins of new commands, you may be relatively safe. however, by definition nectat is unsafe. so use it at your own risk. // netcat // README @sourceforge @freshmeat from secure machine to open machine: local: nc -l -p 8090 | tar xvfp - secure: tar cfp - file1 file2 ... | nc -w 3 localmachine 8090from local machine to secure machine: local: tar cfp - file1 file2 ... | nc -w3 -l -p 8090 secure: nc -w 3 localmachine 8090 | tar xvfp - netcat can be the perfect tool for data distribution in an cluster environment. if you are behing a firewall, simple create rsh or ssh deamons on all your nodes (in case off ssh be sure to configure keys to avoid password typing, it is in fact recommended you disable password logon); and then simple launch jobs that ssh to each node, and hookup to a front netcat broadcaster. this has been tested to work both on linux clusters, as well as windows (yes windows nt, 2000, and xp professional) using cygwin.) |