From 90449a38a3307a0cee261c38c75dad99029f6ab0 Mon Sep 17 00:00:00 2001 From: d3v1150m471c Date: Sun, 10 Jul 2011 22:41:54 -0500 Subject: peer2anonet: made some patches to script. see README file for details. --- contrib/peer2anonet/README | 16 ++++++++++++-- contrib/peer2anonet/peer2anonet | 49 +++++++++++++++++------------------------ 2 files changed, 34 insertions(+), 31 deletions(-) (limited to 'contrib') diff --git a/contrib/peer2anonet/README b/contrib/peer2anonet/README index e775a9e..16291f5 100644 --- a/contrib/peer2anonet/README +++ b/contrib/peer2anonet/README @@ -6,10 +6,17 @@ |_| SYNOPSIS: + # Interactive prompt: peer2anonet - -OR- - peer2anonet < autoconfig + # Accept pipe from file: + peer2anonet < autoconfig.txt + + # Accept netcat pipe: + nc -l 1337 | peer2anonet + + # Send a netcat pipe: + nc 1337 192.168.1.0 < autoconfig.txt DESCRIPTION: peer2anonet is an autoconfiguration utility to easily establish a @@ -118,6 +125,11 @@ CHANGES: Sun Jul 10 18:50:31 CDT 2011 - d3v1150m471c * public key prompt altered to avoid complications. + Sun Jul 10 22:01:12 CDT 2011 - d3v1150m471c + * key inputs changed. peer2anonet no longer generates + key pairs so they can be manually created prior to + using peer2anonet, for expedience. + diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet index a636a42..b7759d6 100644 --- a/contrib/peer2anonet/peer2anonet +++ b/contrib/peer2anonet/peer2anonet @@ -12,35 +12,25 @@ mkdir -p /services mkdir -p /services/bird mkdir -p /service -######################################################################### -# Generate new keys: -KEYS=`quicktun.keypair "/services/$PEERNAME/seckey" +echo "peer2anonet: New peering session configured. +Please place your secret key in: /services/$PEERNAME/seckey " - exit 1 -fi -echo "$PUBKEY" > /services/"$PEERNAME"/pubkey -exit 0 -- cgit v1.2.3