]> Cypherpunks.ru repositories - govpn.git/log
govpn.git
9 years agoPreparing for 2.2 release
Sergey Matveev [Sun, 15 Mar 2015 16:07:46 +0000 (19:07 +0300)]
Preparing for 2.2 release

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoKeep TAP listener state and skip sinkReady step if necessary
Sergey Matveev [Sun, 15 Mar 2015 16:04:20 +0000 (19:04 +0300)]
Keep TAP listener state and skip sinkReady step if necessary

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoHeartbeats can block channels during rehandshake. Make them asynchronous
Sergey Matveev [Sun, 15 Mar 2015 16:00:27 +0000 (19:00 +0300)]
Heartbeats can block channels during rehandshake. Make them asynchronous

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoSkip Ethernet events from rehandshaked peers, as peers are replaced by another ones
Sergey Matveev [Sun, 15 Mar 2015 15:54:43 +0000 (18:54 +0300)]
Skip Ethernet events from rehandshaked peers, as peers are replaced by another ones

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoSkip heartbeat packets that can appear during rehandshake period
Sergey Matveev [Sun, 15 Mar 2015 15:53:48 +0000 (18:53 +0300)]
Skip heartbeat packets that can appear during rehandshake period

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoExit quietly if no script is found, as many of them are optional
Sergey Matveev [Sun, 15 Mar 2015 07:53:51 +0000 (10:53 +0300)]
Exit quietly if no script is found, as many of them are optional

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoRemove hardcopy-related commands from texinfo source
Sergey Matveev [Fri, 13 Mar 2015 17:46:54 +0000 (20:46 +0300)]
Remove hardcopy-related commands from texinfo source

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoNote about GOMAXPROC usage
Sergey Matveev [Fri, 13 Mar 2015 10:48:07 +0000 (13:48 +0300)]
Note about GOMAXPROC usage

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoMerge branch 'develop' 2.1
Sergey Matveev [Fri, 13 Mar 2015 10:24:23 +0000 (13:24 +0300)]
Merge branch 'develop'

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoPreparing for 2.1 release
Sergey Matveev [Fri, 13 Mar 2015 10:24:05 +0000 (13:24 +0300)]
Preparing for 2.1 release

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoNotes about setting GOPATH variable
Sergey Matveev [Fri, 13 Mar 2015 10:22:03 +0000 (13:22 +0300)]
Notes about setting GOPATH variable

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoNo need in Close method for TAP-interfaces, as we listen for them all the time
Sergey Matveev [Fri, 13 Mar 2015 10:12:43 +0000 (13:12 +0300)]
No need in Close method for TAP-interfaces, as we listen for them all the time

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoFixed path to working water-library
Sergey Matveev [Fri, 13 Mar 2015 10:03:18 +0000 (13:03 +0300)]
Fixed path to working water-library

Thanks to Martin G (https://github.com/martingartonft) for pointing this out!

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoVarious documentation additions, links
Sergey Matveev [Fri, 13 Mar 2015 07:57:45 +0000 (10:57 +0300)]
Various documentation additions, links

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoTexinfo documentation, client ID, simultaneous clients 2.0
Sergey Matveev [Thu, 5 Mar 2015 15:52:02 +0000 (18:52 +0300)]
Texinfo documentation, client ID, simultaneous clients

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoObfuscate/randomize message nonces 1.5
Sergey Matveev [Fri, 27 Feb 2015 20:52:09 +0000 (23:52 +0300)]
Obfuscate/randomize message nonces

Nonce is directly written inside transport messages and it is the only
part that is different from randomness (because it does not require it
actually). One can use them as GoVPN's traffic fingerprint.

Apply simple PRP function on the nonce before it's usage. Internal
counters are keeped in the state, but encrypted and decrypted during
actual use using XTEA algorithm. It is rather simple, fast enough,
simplier than applying Luby-Rackoff to make PRP from Salsa20.

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoMove comparison with OpenVPN to Features section
Sergey Matveev [Fri, 27 Feb 2015 11:49:28 +0000 (14:49 +0300)]
Move comparison with OpenVPN to Features section

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoRaise copyright years
Sergey Matveev [Fri, 27 Feb 2015 10:55:24 +0000 (13:55 +0300)]
Raise copyright years

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoSlightly more higher performance because of removing := 1.4
Sergey Matveev [Sun, 18 Jan 2015 10:47:05 +0000 (13:47 +0300)]
Slightly more higher performance because of removing :=

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoWell, performance is not so high actually
Sergey Matveev [Sun, 18 Jan 2015 09:57:41 +0000 (12:57 +0300)]
Well, performance is not so high actually

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoAllow nonce difference in specified orders, to prevent unordered packets dropping 1.3
Sergey Matveev [Sat, 17 Jan 2015 17:35:54 +0000 (20:35 +0300)]
Allow nonce difference in specified orders, to prevent unordered packets dropping

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoOfficial repositories moved to another URL
Sergey Matveev [Sat, 17 Jan 2015 17:12:39 +0000 (20:12 +0300)]
Official repositories moved to another URL

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoLesser copyright junk appearing in godoc
Sergey Matveev [Fri, 16 Jan 2015 12:36:13 +0000 (15:36 +0300)]
Lesser copyright junk appearing in godoc

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoFewer copying → higher performance
Sergey Matveev [Sun, 11 Jan 2015 14:07:24 +0000 (17:07 +0300)]
Fewer copying → higher performance

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoRehandshake after every 4GiB of transferred data
Sergey Matveev [Sun, 11 Jan 2015 13:44:35 +0000 (16:44 +0300)]
Rehandshake after every 4GiB of transferred data

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoAbility to call up and down scripts
Sergey Matveev [Sat, 10 Jan 2015 20:02:05 +0000 (23:02 +0300)]
Ability to call up and down scripts

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoHeartbeating the channel twice during timeout
Sergey Matveev [Sat, 10 Jan 2015 18:57:14 +0000 (21:57 +0300)]
Heartbeating the channel twice during timeout

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoDo not access hot variables through the pointer
Sergey Matveev [Sat, 10 Jan 2015 18:05:06 +0000 (21:05 +0300)]
Do not access hot variables through the pointer

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoSpecify PSK through the file, not as command line argument
Sergey Matveev [Sat, 10 Jan 2015 17:35:01 +0000 (20:35 +0300)]
Specify PSK through the file, not as command line argument

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agogo vet advises to add blank line
Sergey Matveev [Sat, 10 Jan 2015 17:30:04 +0000 (20:30 +0300)]
go vet advises to add blank line

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] More examples with IPv6 and FreeBSD
Sergey Matveev [Sat, 10 Jan 2015 17:20:11 +0000 (20:20 +0300)]
[DOC] More examples with IPv6 and FreeBSD

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Some additions that OpenVPN can be faster, because of it's C nature
Sergey Matveev [Sat, 10 Jan 2015 17:18:39 +0000 (20:18 +0300)]
[DOC] Some additions that OpenVPN can be faster, because of it's C nature

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoRemove unnecessary precomputations of DH private key 1.2
Sergey Matveev [Wed, 7 Jan 2015 14:05:08 +0000 (17:05 +0300)]
Remove unnecessary precomputations of DH private key

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoFreeBSD TAP support 1.1
Sergey Matveev [Sat, 6 Dec 2014 12:18:40 +0000 (15:18 +0300)]
FreeBSD TAP support

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoExit when daemon is becoming dead 1.0
Sergey Matveev [Thu, 21 Aug 2014 12:41:09 +0000 (16:41 +0400)]
Exit when daemon is becoming dead

* Exit if handshake is timeouted
* Exit if daemon becomes unavailable
* Simplify overall code

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoPerformance optimizations
Sergey Matveev [Mon, 11 Aug 2014 11:32:13 +0000 (15:32 +0400)]
Performance optimizations

Do not use everytime buffer creation for each Ethernet, UDP and general
packet processing. Use channels to synchronize access to that shared
buffers.

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoVarious trivial code corrections
Sergey Matveev [Sun, 10 Aug 2014 16:12:13 +0000 (20:12 +0400)]
Various trivial code corrections

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoDocument example usage
Sergey Matveev [Sun, 10 Aug 2014 15:41:08 +0000 (19:41 +0400)]
Document example usage

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoAbility to decrease verbosity
Sergey Matveev [Sun, 10 Aug 2014 15:28:39 +0000 (19:28 +0400)]
Ability to decrease verbosity

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoUse TAP interface directly, without promiscuous mode
Sergey Matveev [Sun, 10 Aug 2014 13:28:40 +0000 (17:28 +0400)]
Use TAP interface directly, without promiscuous mode

* This removes gopacket dependency
* However adds water-library small one

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoFix nounces incrementing
Sergey Matveev [Sun, 10 Aug 2014 14:56:08 +0000 (18:56 +0400)]
Fix nounces incrementing

That bug leads to reusing the same nonce.

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoOut-of-order message recieved printing
Sergey Matveev [Sun, 10 Aug 2014 14:19:49 +0000 (18:19 +0400)]
Out-of-order message recieved printing

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoInitial commit
Sergey Matveev [Wed, 30 Jul 2014 06:52:43 +0000 (10:52 +0400)]
Initial commit

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>