]> Cypherpunks.ru repositories - govpn.git/commitdiff
Merge branch 'develop' 5.3
authorSergey Matveev <stargrave@stargrave.org>
Thu, 21 Jan 2016 09:28:36 +0000 (12:28 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 21 Jan 2016 09:28:36 +0000 (12:28 +0300)
Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
37 files changed:
VERSION
common.mk
doc/download.texi
doc/installation.texi
doc/news.texi
doc/sources.texi
src/cypherpunks.ru/govpn/aont/aont_test.go [moved from src/govpn/aont/aont_test.go with 100% similarity]
src/cypherpunks.ru/govpn/aont/oaep.go [moved from src/govpn/aont/oaep.go with 100% similarity]
src/cypherpunks.ru/govpn/cmd/govpn-client/main.go [moved from src/govpn/cmd/govpn-client/main.go with 99% similarity]
src/cypherpunks.ru/govpn/cmd/govpn-client/proxy.go [moved from src/govpn/cmd/govpn-client/proxy.go with 100% similarity]
src/cypherpunks.ru/govpn/cmd/govpn-client/tcp.go [moved from src/govpn/cmd/govpn-client/tcp.go with 99% similarity]
src/cypherpunks.ru/govpn/cmd/govpn-client/udp.go [moved from src/govpn/cmd/govpn-client/udp.go with 99% similarity]
src/cypherpunks.ru/govpn/cmd/govpn-server/common.go [moved from src/govpn/cmd/govpn-server/common.go with 98% similarity]
src/cypherpunks.ru/govpn/cmd/govpn-server/conf.go [moved from src/govpn/cmd/govpn-server/conf.go with 99% similarity]
src/cypherpunks.ru/govpn/cmd/govpn-server/main.go [moved from src/govpn/cmd/govpn-server/main.go with 99% similarity]
src/cypherpunks.ru/govpn/cmd/govpn-server/proxy.go [moved from src/govpn/cmd/govpn-server/proxy.go with 100% similarity]
src/cypherpunks.ru/govpn/cmd/govpn-server/tcp.go [moved from src/govpn/cmd/govpn-server/tcp.go with 99% similarity]
src/cypherpunks.ru/govpn/cmd/govpn-server/udp.go [moved from src/govpn/cmd/govpn-server/udp.go with 99% similarity]
src/cypherpunks.ru/govpn/cmd/govpn-verifier/main.go [moved from src/govpn/cmd/govpn-verifier/main.go with 98% similarity]
src/cypherpunks.ru/govpn/cnw/cnw.go [moved from src/govpn/cnw/cnw.go with 100% similarity]
src/cypherpunks.ru/govpn/cnw/cnw_test.go [moved from src/govpn/cnw/cnw_test.go with 100% similarity]
src/cypherpunks.ru/govpn/common.go [moved from src/govpn/common.go with 100% similarity]
src/cypherpunks.ru/govpn/conf.go [moved from src/govpn/conf.go with 100% similarity]
src/cypherpunks.ru/govpn/egd.go [moved from src/govpn/egd.go with 100% similarity]
src/cypherpunks.ru/govpn/encless.go [moved from src/govpn/encless.go with 97% similarity]
src/cypherpunks.ru/govpn/encless_test.go [moved from src/govpn/encless_test.go with 100% similarity]
src/cypherpunks.ru/govpn/govpn.go [moved from src/govpn/govpn.go with 100% similarity]
src/cypherpunks.ru/govpn/handshake.go [moved from src/govpn/handshake.go with 100% similarity]
src/cypherpunks.ru/govpn/handshake_test.go [moved from src/govpn/handshake_test.go with 100% similarity]
src/cypherpunks.ru/govpn/identify.go [moved from src/govpn/identify.go with 100% similarity]
src/cypherpunks.ru/govpn/peer.go [moved from src/govpn/peer.go with 100% similarity]
src/cypherpunks.ru/govpn/peer_test.go [moved from src/govpn/peer_test.go with 100% similarity]
src/cypherpunks.ru/govpn/stats.go [moved from src/govpn/stats.go with 100% similarity]
src/cypherpunks.ru/govpn/tap.go [moved from src/govpn/tap.go with 100% similarity]
src/cypherpunks.ru/govpn/tap_freebsd.go [moved from src/govpn/tap_freebsd.go with 100% similarity]
src/cypherpunks.ru/govpn/tap_linux.go [moved from src/govpn/tap_linux.go with 100% similarity]
src/cypherpunks.ru/govpn/verifier.go [moved from src/govpn/verifier.go with 97% similarity]

diff --git a/VERSION b/VERSION
index ef425ca98208c00037caa6df391724cc8762d239..d346e2ab7f2109b12c9bf53299bbbf6e7527fe7f 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-5.2
+5.3
index 95349c4699392e8227b3f2be75dd2b2cfe697651..8597a61f79d6b7c5cb32f194353a0bc2af617cb6 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -10,16 +10,16 @@ DOCDIR = $(DESTDIR)$(PREFIX)/share/doc/govpn
 all: govpn-client govpn-server govpn-verifier
 
 govpn-client:
-       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" govpn/cmd/govpn-client
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/govpn/cmd/govpn-client
 
 govpn-server:
-       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" govpn/cmd/govpn-server
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/govpn/cmd/govpn-server
 
 govpn-verifier:
-       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" govpn/cmd/govpn-verifier
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/govpn/cmd/govpn-verifier
 
 bench:
-       GOPATH=$(GOPATH) go test -bench . govpn/...
+       GOPATH=$(GOPATH) go test -bench . cypherpunks.ru/govpn/...
 
 clean:
        rm -f govpn-client govpn-server govpn-verifier
index c67efed684884b400544b86f556a70e63634a140..6dd3d920af1811e6d8d566267b9351afccff95f7 100644 (file)
@@ -9,6 +9,10 @@ You can obtain releases source code prepared tarballs from the links below:
 @multitable {XXXXX} {XXXX KiB} {link sign} {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}
 @headitem Version @tab Size @tab Tarball @tab SHA256 checksum
 
+@item 5.2 @tab 300 KiB
+@tab @url{download/govpn-5.2.tar.xz, link} @url{download/govpn-5.2.tar.xz.sig, sign}
+@tab @code{44e3a3265b30305a4436e172565585c327fb28d26197e61b7496c437d032c0db}
+
 @item 5.1 @tab 287 KiB
 @tab @url{download/govpn-5.1.tar.xz, link} @url{download/govpn-5.1.tar.xz.sig, sign}
 @tab @code{0d456c5683287dca31f8c3302eb9a9329feab82bc1fbdb0098fca991513536d1}
index ca95bb1bd216693decec0da5af1550503326bca9..63205788dd1f819337f9473aa7d7eaacc5e490e3 100644 (file)
@@ -18,11 +18,12 @@ Possibly GoVPN already exists in your distribution:
 @end itemize
 
 GoVPN is written on Go programming language and you have to install Go
-compiler (1.5+ version is highly recommended): @code{lang/go} port in
-FreeBSD and @code{golang} package in most GNU/Linux distributions.
-@emph{Make} (BSD and GNU ones are fine) is recommended for convenient
-building. @url{https://www.gnu.org/software/texinfo/, Texinfo} is used
-for building documentation. Possibly you also need to install TUN/TAP
+compiler (1.5+ version is highly recommended, 1.4 is the minimal
+sufficient): @code{lang/go} port in FreeBSD and @code{golang} package in
+most GNU/Linux distributions. @emph{Make} (BSD and GNU ones are fine) is
+recommended for convenient building.
+@url{https://www.gnu.org/software/texinfo/, Texinfo} is used for
+building documentation. Possibly you also need to install TUN/TAP
 interface utilities (depending on your operating system):
 @code{uml-utilities} package in most GNU/Linux distributions.
 
index 608613a93689fd2ca87430ac8dfe02190c5a8ccc..2846bc6ed66fa80ba2dc326f6a340326bee14b8a 100644 (file)
@@ -5,6 +5,14 @@
 
 @table @strong
 
+@item Release 5.3
+@cindex Release 5.3
+@itemize
+@item Fixed minor bug with @code{newclient.sh} that caught
+"Passphrase:" prompt and inserted it into example YAML output.
+Just replaced stdout output to stderr for that prompt.
+@end itemize
+
 @item Release 5.2
 @cindex Release 5.2
 @itemize
index f1eb3eb90f31f20a3e2699e9238309f8099875d1..d6245ce9394ba16d649c27c6e09f885f60a0a058 100644 (file)
@@ -28,7 +28,7 @@ repositories will be unavailable (they are seldom updated):
 
 @multitable @columnfractions .50 .50
 @headitem Software/library @tab Mirror
-@item @code{govpn} @tab @url{https://github.com/stargrave/govpn.git}
+@item @code{cypherpunks.ru/govpn} @tab @url{https://github.com/stargrave/govpn.git}
 @item @code{github.com/agl/ed25519} @tab @url{git://git.cypherpunks.ru/ed25519.git}
 @item @code{github.com/bigeagle/water} @tab @url{git://git.cypherpunks.ru/water.git}
 @item @code{github.com/dchest/blake2b} @tab @url{git://git.cypherpunks.ru/blake2b.git}
similarity index 99%
rename from src/govpn/cmd/govpn-client/main.go
rename to src/cypherpunks.ru/govpn/cmd/govpn-client/main.go
index e73854cb482e1246fdfa96fdb1188de17e69ecf1..b46a16eb93203cb93a7002d372b24b64de050602 100644 (file)
@@ -27,7 +27,7 @@ import (
        "os/signal"
        "time"
 
-       "govpn"
+       "cypherpunks.ru/govpn"
 )
 
 var (
similarity index 99%
rename from src/govpn/cmd/govpn-client/tcp.go
rename to src/cypherpunks.ru/govpn/cmd/govpn-client/tcp.go
index 7f2af6085bebcbef5ed873cd33319fc7dc0c47a7..7e2b1a3db9db896d1fcf27b20dbe7ccc0f37db3b 100644 (file)
@@ -25,7 +25,7 @@ import (
        "sync/atomic"
        "time"
 
-       "govpn"
+       "cypherpunks.ru/govpn"
 )
 
 func startTCP(timeouted, rehandshaking, termination chan struct{}) {
similarity index 99%
rename from src/govpn/cmd/govpn-client/udp.go
rename to src/cypherpunks.ru/govpn/cmd/govpn-client/udp.go
index 581e66cf74f122ceee169a53c86f1dab0f6b6dc3..3d0c421bd4168683ade366abf0bc54302affc2a7 100644 (file)
@@ -24,7 +24,7 @@ import (
        "sync/atomic"
        "time"
 
-       "govpn"
+       "cypherpunks.ru/govpn"
 )
 
 func startUDP(timeouted, rehandshaking, termination chan struct{}) {
similarity index 98%
rename from src/govpn/cmd/govpn-server/common.go
rename to src/cypherpunks.ru/govpn/cmd/govpn-server/common.go
index 313fc394aed7b70fc21e28d32b7f01bf5236ac9b..eac8a98097b10ac1c4c11f2ca7e55ab6505072c3 100644 (file)
@@ -24,7 +24,7 @@ import (
        "sync"
        "time"
 
-       "govpn"
+       "cypherpunks.ru/govpn"
 )
 
 type PeerState struct {
similarity index 99%
rename from src/govpn/cmd/govpn-server/conf.go
rename to src/cypherpunks.ru/govpn/cmd/govpn-server/conf.go
index 00fa7c851e5b109bbecc4b0b4db8f449341f953d..131eeba502201fc46f56d077e65113af69a6c8e4 100644 (file)
@@ -26,7 +26,7 @@ import (
 
        "github.com/go-yaml/yaml"
 
-       "govpn"
+       "cypherpunks.ru/govpn"
 )
 
 const (
similarity index 99%
rename from src/govpn/cmd/govpn-server/main.go
rename to src/cypherpunks.ru/govpn/cmd/govpn-server/main.go
index e7abfdf19b94d0a3ffc1c07ca63bfa46f3c5e509..886b8a812b365dae21960e36232e4d18b0e6618f 100644 (file)
@@ -27,7 +27,7 @@ import (
        "os/signal"
        "time"
 
-       "govpn"
+       "cypherpunks.ru/govpn"
 )
 
 var (
similarity index 99%
rename from src/govpn/cmd/govpn-server/tcp.go
rename to src/cypherpunks.ru/govpn/cmd/govpn-server/tcp.go
index e3458cb54df74bb97091eac06fd8b5363fccdb67..417fcb1601f9fac8c67509ca5693a2b447891656 100644 (file)
@@ -24,7 +24,7 @@ import (
        "net"
        "time"
 
-       "govpn"
+       "cypherpunks.ru/govpn"
 )
 
 func startTCP() {
similarity index 99%
rename from src/govpn/cmd/govpn-server/udp.go
rename to src/cypherpunks.ru/govpn/cmd/govpn-server/udp.go
index ddbbee81e660251903ec45496f737f02e68a9d80..73f4d6fbc7e79cf678f50aab5730d661099dd994 100644 (file)
@@ -22,7 +22,7 @@ import (
        "log"
        "net"
 
-       "govpn"
+       "cypherpunks.ru/govpn"
 )
 
 type UDPSender struct {
similarity index 98%
rename from src/govpn/cmd/govpn-verifier/main.go
rename to src/cypherpunks.ru/govpn/cmd/govpn-verifier/main.go
index 10bd90b0902e2c934c8c435cc3b5e5e9dbce1a48..5d595803fcad085acd30e35f55ee896e1021fff3 100644 (file)
@@ -25,7 +25,7 @@ import (
        "fmt"
        "log"
 
-       "govpn"
+       "cypherpunks.ru/govpn"
 )
 
 var (
similarity index 97%
rename from src/govpn/encless.go
rename to src/cypherpunks.ru/govpn/encless.go
index 21162b78491d6c14d9e43ad8920af84c335c9967..30eb4a5e33d9446f07c646c03bede769c4043339 100644 (file)
@@ -19,8 +19,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 package govpn
 
 import (
-       "govpn/aont"
-       "govpn/cnw"
+       "cypherpunks.ru/govpn/aont"
+       "cypherpunks.ru/govpn/cnw"
 )
 
 const (
similarity index 97%
rename from src/govpn/verifier.go
rename to src/cypherpunks.ru/govpn/verifier.go
index 0dc9388188ad0e1f0c29eec611e7218cae32b687..a452a50a84737231a2e0e3d28701dee10138bf23 100644 (file)
@@ -25,6 +25,7 @@ import (
        "fmt"
        "io/ioutil"
        "log"
+       "os"
        "strings"
 
        "github.com/agl/ed25519"
@@ -125,9 +126,9 @@ func KeyRead(path string) (string, error) {
        var err error
        var pass string
        if path == "" {
-               fmt.Print("Passphrase:")
+               os.Stderr.Write([]byte("Passphrase:"))
                p, err = terminal.ReadPassword(0)
-               fmt.Print("\n")
+               os.Stderr.Write([]byte("\n"))
                pass = string(p)
        } else {
                p, err = ioutil.ReadFile(path)