]> Cypherpunks.ru repositories - govpn.git/log
govpn.git
7 years agoRemove misleading words. Peer exists and ready for processing develop-prev
Sergey Matveev [Sun, 12 Mar 2017 10:57:47 +0000 (13:57 +0300)]
Remove misleading words. Peer exists and ready for processing

7 years agofix close by interrupt read, do not close multiple times
Bruno Clermont [Tue, 7 Mar 2017 03:48:52 +0000 (11:48 +0800)]
fix close by interrupt read, do not close multiple times

7 years agoUpdate cryptographic libraries
Sergey Matveev [Sat, 4 Mar 2017 06:38:52 +0000 (09:38 +0300)]
Update cryptographic libraries

7 years agoGo language does not like underscores in names
Sergey Matveev [Fri, 3 Mar 2017 21:48:14 +0000 (00:48 +0300)]
Go language does not like underscores in names

7 years agoLanguage mistakes and stylistic fixes
Sergey Matveev [Fri, 3 Mar 2017 21:35:51 +0000 (00:35 +0300)]
Language mistakes and stylistic fixes

7 years agoStylistical change
Sergey Matveev [Fri, 3 Mar 2017 21:12:08 +0000 (00:12 +0300)]
Stylistical change

7 years agoFix FreeBSD TAPer
Sergey Matveev [Tue, 14 Feb 2017 09:14:57 +0000 (12:14 +0300)]
Fix FreeBSD TAPer

7 years agofix darwin build
Bruno Clermont [Fri, 10 Feb 2017 08:39:17 +0000 (16:39 +0800)]
fix darwin build

7 years agofix copy-paste
Bruno Clermont [Fri, 10 Feb 2017 08:01:32 +0000 (16:01 +0800)]
fix copy-paste

7 years agolog TAP write error
Bruno Clermont [Wed, 8 Feb 2017 11:25:36 +0000 (19:25 +0800)]
log TAP write error

7 years agodefer unlock
Bruno Clermont [Wed, 8 Feb 2017 11:21:52 +0000 (19:21 +0800)]
defer unlock

7 years agoturn `udpBufs` as a local variable instead of global
Bruno Clermont [Wed, 8 Feb 2017 11:17:42 +0000 (19:17 +0800)]
turn `udpBufs` as a local variable instead of global

7 years agoFix copyright years and authorship
Sergey Matveev [Fri, 3 Mar 2017 21:09:50 +0000 (00:09 +0300)]
Fix copyright years and authorship

7 years agoImprove TAP
Bruno Clermont [Wed, 8 Feb 2017 10:56:10 +0000 (18:56 +0800)]
Improve TAP

- use advanced feature of new version of water to improve configuration
- add support for windows (TAP only), osx and android
- add support for Darwin/OSX (TUN only
- add support for Android (using file descriptor)
- TAP can be `Close`'d

7 years agoSplit long lines
Sergey Matveev [Sat, 25 Feb 2017 12:39:26 +0000 (15:39 +0300)]
Split long lines

7 years agoFix copyright years
Sergey Matveev [Sat, 25 Feb 2017 09:58:58 +0000 (12:58 +0300)]
Fix copyright years

7 years agoRefactor server
Bruno Clermont [Wed, 8 Feb 2017 10:52:55 +0000 (18:52 +0800)]
Refactor server

- server can be used as a Go library
- unexposed type and values that aren't consumed outside package
- golint fixes
- switch logging to logrus
- add more logging messages
- improve usage as a library: no more `panic` or `os.Exit`, return `error` instead
- evalute/raise nearly all possible `error` values
- use interface to allow library consumer to use custom peer configuration backend

7 years agoRevert lenData=len(data) assignment
Sergey Matveev [Sat, 25 Feb 2017 09:20:44 +0000 (12:20 +0300)]
Revert lenData=len(data) assignment

lenData := -- creates new variable each time, that is slow. Slices and
arrays already contain their length. len() function call creates pretty
optimal by performance code.

7 years agoShorten huge constant name, as it is impossible to read that long lines
Sergey Matveev [Sat, 25 Feb 2017 09:12:15 +0000 (12:12 +0300)]
Shorten huge constant name, as it is impossible to read that long lines

7 years agoCould -> can, for consistency
Sergey Matveev [Sat, 25 Feb 2017 09:09:14 +0000 (12:09 +0300)]
Could -> can, for consistency

7 years agoNo markdown-like quotes
Sergey Matveev [Sat, 25 Feb 2017 08:49:16 +0000 (11:49 +0300)]
No markdown-like quotes

7 years agoSplit too long lines
Sergey Matveev [Sat, 25 Feb 2017 08:48:23 +0000 (11:48 +0300)]
Split too long lines

7 years agoStylistic fixes
Sergey Matveev [Sat, 25 Feb 2017 08:48:12 +0000 (11:48 +0300)]
Stylistic fixes

7 years agoFix copyright years
Sergey Matveev [Sat, 25 Feb 2017 08:30:31 +0000 (11:30 +0300)]
Fix copyright years

7 years agoRefactor govpn common package
Bruno Clermont [Wed, 8 Feb 2017 10:41:10 +0000 (18:41 +0800)]
Refactor govpn common package

- unexposed type and values that aren't consumed outside package
- golint fixes
- switch logging to logrus
- add more logging messages
- improve usage as a library: no more `panic` or `os.Exit`, return `error` instead
- evalute/raise nearly all possible `error` values

7 years agotap_freebsd is too small for licensing
Sergey Matveev [Sat, 25 Feb 2017 08:27:38 +0000 (11:27 +0300)]
tap_freebsd is too small for licensing

7 years agoFix copyright years
Sergey Matveev [Sat, 25 Feb 2017 08:27:18 +0000 (11:27 +0300)]
Fix copyright years

7 years agowrap errors
Bruno Clermont [Wed, 8 Feb 2017 10:39:31 +0000 (18:39 +0800)]
wrap errors

7 years agoCopyright and stylistic changes
Sergey Matveev [Sat, 25 Feb 2017 08:15:18 +0000 (11:15 +0300)]
Copyright and stylistic changes

7 years agoUpgrade Client
Bruno Clermont [Wed, 8 Feb 2017 10:39:19 +0000 (18:39 +0800)]
Upgrade Client

- wrap errors
- switch to logrus
- add Android support: allow connection with file descriptor
- move `govpn/client.Protocol` to `govpn.Protocol`
- improve usage as a library: switch from Up/Down as executed script to Go function
- add `PreUp` step
- allow metrics to be consumed by library user
- use a generic channel to stop client
- log failure to close resources
- close TAP when not used anymore

7 years agoAdd useful features related to config reloading
Sergey Matveev [Wed, 15 Feb 2017 06:45:10 +0000 (09:45 +0300)]
Add useful features related to config reloading

7 years agofix password read on windows, `0` isn't Stdin on windows
Bruno Clermont [Wed, 8 Feb 2017 10:32:49 +0000 (18:32 +0800)]
fix password read on windows, `0` isn't Stdin on windows

7 years agoevaluate error in tests
Bruno Clermont [Wed, 8 Feb 2017 10:31:16 +0000 (18:31 +0800)]
evaluate error in tests

7 years agoSimplify operations with arrays and maps
Sergey Matveev [Tue, 14 Feb 2017 09:17:49 +0000 (12:17 +0300)]
Simplify operations with arrays and maps

7 years agoStylistic fixes
Sergey Matveev [Tue, 14 Feb 2017 09:17:07 +0000 (12:17 +0300)]
Stylistic fixes

7 years agoswitch to logrus
Bruno Clermont [Wed, 8 Feb 2017 10:26:03 +0000 (18:26 +0800)]
switch to logrus

7 years agoAdd Bruno Clermont as one of authors
Sergey Matveev [Tue, 14 Feb 2017 09:16:36 +0000 (12:16 +0300)]
Add Bruno Clermont as one of authors

7 years agoadd new dependency
Bruno Clermont [Wed, 8 Feb 2017 10:00:49 +0000 (18:00 +0800)]
add new dependency

7 years agoVarious stylistic and grammar fixes
Sergey Matveev [Tue, 14 Feb 2017 08:28:31 +0000 (11:28 +0300)]
Various stylistic and grammar fixes

7 years agogolint fixes
Bruno Clermont [Wed, 8 Feb 2017 09:50:45 +0000 (17:50 +0800)]
golint fixes

7 years agoupgrade water to original maintained repository
Bruno Clermont [Wed, 8 Feb 2017 08:57:54 +0000 (16:57 +0800)]
upgrade water to original maintained repository

7 years agoDownload link for 7.2 release
Sergey Matveev [Tue, 14 Feb 2017 10:39:42 +0000 (13:39 +0300)]
Download link for 7.2 release

7 years agoFix makedist on tmpfs with noexec
Sergey Matveev [Tue, 14 Feb 2017 10:22:06 +0000 (13:22 +0300)]
Fix makedist on tmpfs with noexec

7 years agoMerge branch 'develop' 7.2
Sergey Matveev [Tue, 14 Feb 2017 10:10:35 +0000 (13:10 +0300)]
Merge branch 'develop'

7 years agoPreparing to 7.2 release
Sergey Matveev [Tue, 14 Feb 2017 10:10:16 +0000 (13:10 +0300)]
Preparing to 7.2 release

7 years agoFix awful bug with expected nonces
Sergey Matveev [Tue, 14 Feb 2017 08:06:17 +0000 (11:06 +0300)]
Fix awful bug with expected nonces

7 years agoDownload link for 7.1 release
Sergey Matveev [Tue, 24 Jan 2017 19:38:38 +0000 (22:38 +0300)]
Download link for 7.1 release

7 years agoMerge branch 'develop' 7.1
Sergey Matveev [Tue, 24 Jan 2017 19:34:26 +0000 (22:34 +0300)]
Merge branch 'develop'

7 years agoPreparing for 7.1 release
Sergey Matveev [Tue, 24 Jan 2017 19:29:16 +0000 (22:29 +0300)]
Preparing for 7.1 release

7 years agogo vet/lint
Sergey Matveev [Tue, 24 Jan 2017 19:19:52 +0000 (22:19 +0300)]
go vet/lint

7 years agoThanks to Bruno Clermont
Sergey Matveev [Tue, 24 Jan 2017 08:30:35 +0000 (11:30 +0300)]
Thanks to Bruno Clermont

7 years agoSchneier should not be in THANKS
Sergey Matveev [Tue, 24 Jan 2017 08:19:07 +0000 (11:19 +0300)]
Schneier should not be in THANKS

7 years agoDo not allocate memory in each iteration
Sergey Matveev [Tue, 24 Jan 2017 08:06:18 +0000 (11:06 +0300)]
Do not allocate memory in each iteration

7 years agoFix an other misusage of .Sum()
Bruno Clermont [Tue, 24 Jan 2017 05:54:29 +0000 (13:54 +0800)]
Fix an other misusage of .Sum()

7 years agoFix handshake peer identification
Bruno Clermont [Tue, 24 Jan 2017 05:12:00 +0000 (13:12 +0800)]
Fix handshake peer identification

7 years agoFix variable references
Sergey Matveev [Tue, 24 Jan 2017 06:36:43 +0000 (09:36 +0300)]
Fix variable references

7 years agoFix docstring splitted lines
Sergey Matveev [Tue, 24 Jan 2017 06:31:59 +0000 (09:31 +0300)]
Fix docstring splitted lines

7 years agoTrivial downloads page refactor
Sergey Matveev [Mon, 23 Jan 2017 18:24:40 +0000 (21:24 +0300)]
Trivial downloads page refactor

7 years agoUse an updated github.com/agl/ed25519
Sergey Matveev [Mon, 23 Jan 2017 18:20:28 +0000 (21:20 +0300)]
Use an updated github.com/agl/ed25519

7 years agoUse an updated golang.org/x/crypto with various assembly related fixes
Sergey Matveev [Mon, 23 Jan 2017 18:18:23 +0000 (21:18 +0300)]
Use an updated golang.org/x/crypto with various assembly related fixes

7 years agoOmit initial release in NEWS
Sergey Matveev [Sat, 21 Jan 2017 10:33:38 +0000 (13:33 +0300)]
Omit initial release in NEWS

7 years agoGenerate plaintext NEWS
Sergey Matveev [Sat, 21 Jan 2017 10:33:20 +0000 (13:33 +0300)]
Generate plaintext NEWS

7 years agoRemove .gitmodules from tarball
Sergey Matveev [Tue, 17 Jan 2017 08:35:42 +0000 (11:35 +0300)]
Remove .gitmodules from tarball

7 years agoBetter wording
Sergey Matveev [Fri, 13 Jan 2017 09:34:38 +0000 (12:34 +0300)]
Better wording

7 years agoFix yaml library licence information
Sergey Matveev [Fri, 13 Jan 2017 09:34:18 +0000 (12:34 +0300)]
Fix yaml library licence information

7 years agoFix sentence mistake
Sergey Matveev [Fri, 13 Jan 2017 09:34:02 +0000 (12:34 +0300)]
Fix sentence mistake

7 years agoRaise copyright years
Sergey Matveev [Mon, 2 Jan 2017 08:02:33 +0000 (11:02 +0300)]
Raise copyright years

7 years agoPrint seconds, not microseconds
Sergey Matveev [Sat, 10 Dec 2016 19:35:58 +0000 (22:35 +0300)]
Print seconds, not microseconds

7 years agoSimple types without useless optimization
Sergey Matveev [Thu, 8 Dec 2016 20:39:01 +0000 (23:39 +0300)]
Simple types without useless optimization

Protocol type is used only in few places, so no need in extra memory
space optimization -- keep code simple.

7 years agoAdd missing copyright information
Sergey Matveev [Thu, 8 Dec 2016 20:35:58 +0000 (23:35 +0300)]
Add missing copyright information

7 years agoNo need to explicitly print the fact that we have exited
Sergey Matveev [Thu, 8 Dec 2016 20:34:46 +0000 (23:34 +0300)]
No need to explicitly print the fact that we have exited

Zero return code from the program tells that everything is ok. There is
"[finish ...]" message (also in syslog if it is enabled) telling that
program (and a tunnel) was going to shutdown.

7 years agoNo need of notice that noise-mode is enabled when encryptionless is on
Sergey Matveev [Thu, 8 Dec 2016 20:33:12 +0000 (23:33 +0300)]
No need of notice that noise-mode is enabled when encryptionless is on

Encryptionless mode always noises the packets (by "definition").
No need to force user setting up -noise option to skip the notice that
encryptionless mode includes noise. Those, who turns this option on --
already should know what they are doing.

7 years agoIt is better to work directly with structs, returning pointer when necessary
Sergey Matveev [Thu, 8 Dec 2016 20:30:48 +0000 (23:30 +0300)]
It is better to work directly with structs, returning pointer when necessary

7 years agoTrivial stylistical changes
Sergey Matveev [Thu, 8 Dec 2016 20:29:57 +0000 (23:29 +0300)]
Trivial stylistical changes

7 years agoWe must fail if invalid transport configuration is set
Sergey Matveev [Thu, 8 Dec 2016 19:58:10 +0000 (22:58 +0300)]
We must fail if invalid transport configuration is set

We must not do anything unexpected by user. It he specified UDP mode and
HTTP proxy -- it is his fault, but that does not mean that we could
assume switching to TCP mode instead. No unexpectedly generated traffic
must come out.

7 years agogo fmt code
Sergey Matveev [Thu, 8 Dec 2016 19:53:40 +0000 (22:53 +0300)]
go fmt code

7 years agoRefactor govpn-client.
Bruno Clermont [Thu, 8 Dec 2016 10:21:42 +0000 (18:21 +0800)]
Refactor govpn-client.

- move out of main client logic, allowing it to be imported from other Go code.
- evaluate all errors values
- client package only return `error`, it don't `os.Exit` anymore
- add a new `Protocol` type

7 years agoYAML library path changed: fix makedist.sh
Sergey Matveev [Thu, 8 Dec 2016 19:52:02 +0000 (22:52 +0300)]
YAML library path changed: fix makedist.sh

7 years agoOnly use YAML binding version 2.
Bruno Clermont [Thu, 8 Dec 2016 10:20:27 +0000 (18:20 +0800)]
Only use YAML binding version 2.

https://github.com/go-yaml/yaml#api-documentation

7 years agoPull changes for golang.org/x/crypto with fixed BLAKE2b on Atom D2700 CPU
Sergey Matveev [Sat, 3 Dec 2016 08:26:23 +0000 (11:26 +0300)]
Pull changes for golang.org/x/crypto with fixed BLAKE2b on Atom D2700 CPU

7 years agoComma in announcement text
Sergey Matveev [Sun, 20 Nov 2016 13:06:19 +0000 (16:06 +0300)]
Comma in announcement text

7 years agoStay only people in THANKS
Sergey Matveev [Sun, 20 Nov 2016 13:05:15 +0000 (16:05 +0300)]
Stay only people in THANKS

7 years ago[DOC] Download link for 7.0 release
Sergey Matveev [Sat, 29 Oct 2016 17:46:20 +0000 (20:46 +0300)]
[DOC] Download link for 7.0 release

7 years agoMerge branch 'develop' 7.0
Sergey Matveev [Sat, 29 Oct 2016 17:43:35 +0000 (20:43 +0300)]
Merge branch 'develop'

7 years agoInclude only chacha20, not the whole chacha20poly1305
Sergey Matveev [Sat, 29 Oct 2016 17:43:21 +0000 (20:43 +0300)]
Include only chacha20, not the whole chacha20poly1305

7 years ago[DOC] Warn that ChaCha20 is not compatible with previous versions
Sergey Matveev [Sat, 29 Oct 2016 16:47:09 +0000 (19:47 +0300)]
[DOC] Warn that ChaCha20 is not compatible with previous versions

7 years agoAbility to use TUN-interfaces under GNU/Linux
Sergey Matveev [Sat, 29 Oct 2016 16:38:13 +0000 (19:38 +0300)]
Ability to use TUN-interfaces under GNU/Linux

7 years agoReplace (X)Salsa20 with ChaCha20
Sergey Matveev [Sat, 29 Oct 2016 13:42:01 +0000 (16:42 +0300)]
Replace (X)Salsa20 with ChaCha20

Theoreticall it is more faster and secure.

7 years ago[DOC] cr.yp.to websites are accessible through HTTPS
Sergey Matveev [Sat, 29 Oct 2016 14:04:53 +0000 (17:04 +0300)]
[DOC] cr.yp.to websites are accessible through HTTPS

7 years agoXTEA is not used anymore, do not include in sources
Sergey Matveev [Sat, 29 Oct 2016 12:46:13 +0000 (15:46 +0300)]
XTEA is not used anymore, do not include in sources

7 years agoReplace blake2b with golang.org/x/crypto implementation
Sergey Matveev [Sat, 29 Oct 2016 12:43:22 +0000 (15:43 +0300)]
Replace blake2b with golang.org/x/crypto implementation

Just to have fewer repository dependencies.

7 years agoUse an updated salsa20, poly1305 from golang.org/x/crypto
Sergey Matveev [Sat, 29 Oct 2016 12:38:20 +0000 (15:38 +0300)]
Use an updated salsa20, poly1305 from golang.org/x/crypto

7 years ago[DOC] More language neutral quotes
Sergey Matveev [Wed, 19 Oct 2016 20:19:59 +0000 (23:19 +0300)]
[DOC] More language neutral quotes

7 years agoTUN interfaces could be useful
Sergey Matveev [Wed, 19 Oct 2016 19:38:28 +0000 (22:38 +0300)]
TUN interfaces could be useful

7 years ago[DOC] More compact CSS
Sergey Matveev [Sat, 8 Oct 2016 09:17:31 +0000 (12:17 +0300)]
[DOC] More compact CSS

7 years agoFix 404 (dir) link
Sergey Matveev [Tue, 4 Oct 2016 19:06:47 +0000 (22:06 +0300)]
Fix 404 (dir) link

7 years agoSHA256 checksums became larger
Sergey Matveev [Tue, 4 Oct 2016 19:06:39 +0000 (22:06 +0300)]
SHA256 checksums became larger

7 years ago[DOC] Key can be retrieved using HKP keyserver
Sergey Matveev [Tue, 13 Sep 2016 07:45:49 +0000 (10:45 +0300)]
[DOC] Key can be retrieved using HKP keyserver

7 years ago[DOC] Shorter cut
Sergey Matveev [Sun, 11 Sep 2016 14:05:37 +0000 (17:05 +0300)]
[DOC] Shorter cut

7 years ago[DOC] Download link for 6.0 release
Sergey Matveev [Sun, 11 Sep 2016 13:56:37 +0000 (16:56 +0300)]
[DOC] Download link for 6.0 release