]> Cypherpunks.ru repositories - govpn.git/log
govpn.git
9 years agoPer-peer timeout, noncediff, noise, cpr settings
Sergey Matveev [Sat, 2 May 2015 11:51:53 +0000 (14:51 +0300)]
Per-peer timeout, noncediff, noise, cpr settings

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoAdd Established statistics field to know when connection was established
Sergey Matveev [Sat, 2 May 2015 09:38:43 +0000 (12:38 +0300)]
Add Established statistics field to know when connection was established

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] XTEA used as PRP
Sergey Matveev [Sat, 2 May 2015 09:36:51 +0000 (12:36 +0300)]
[DOC] XTEA used as PRP

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] README updating due to noise and CPR features
Sergey Matveev [Fri, 1 May 2015 22:33:07 +0000 (01:33 +0300)]
[DOC] README updating due to noise and CPR features

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoAbility to generate Constant Packet Rate traffic
Sergey Matveev [Fri, 1 May 2015 22:26:39 +0000 (01:26 +0300)]
Ability to generate Constant Packet Rate traffic

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Overview refactoring
Sergey Matveev [Fri, 1 May 2015 22:25:45 +0000 (01:25 +0300)]
[DOC] Overview refactoring

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoCorrect FramesIn counting, take into account heartbeats
Sergey Matveev [Fri, 1 May 2015 21:37:27 +0000 (00:37 +0300)]
Correct FramesIn counting, take into account heartbeats

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoTimeout is duration, not integer. Simplify code
Sergey Matveev [Fri, 1 May 2015 21:34:18 +0000 (00:34 +0300)]
Timeout is duration, not integer. Simplify code

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Correct remark about how often we send heartbeats
Sergey Matveev [Fri, 1 May 2015 21:28:54 +0000 (00:28 +0300)]
[DOC] Correct remark about how often we send heartbeats

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoSmaller Emptiness, as 16 KiB is enough even for jumbo frames
Sergey Matveev [Fri, 1 May 2015 19:27:10 +0000 (22:27 +0300)]
Smaller Emptiness, as 16 KiB is enough even for jumbo frames

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoNicer code construction
Sergey Matveev [Fri, 1 May 2015 19:26:38 +0000 (22:26 +0300)]
Nicer code construction

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoCorrectly summarize overall and payload traffic
Sergey Matveev [Fri, 1 May 2015 19:26:11 +0000 (22:26 +0300)]
Correctly summarize overall and payload traffic

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoAbility to append noise to outgoing packets
Sergey Matveev [Fri, 1 May 2015 17:01:52 +0000 (20:01 +0300)]
Ability to append noise to outgoing packets

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] User manual refactoring
Sergey Matveev [Fri, 1 May 2015 18:41:50 +0000 (21:41 +0300)]
[DOC] User manual refactoring

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] What MTU is and how it is calculated
Sergey Matveev [Fri, 1 May 2015 16:58:17 +0000 (19:58 +0300)]
[DOC] What MTU is and how it is calculated

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoExplicitly store payload size in each message
Sergey Matveev [Fri, 1 May 2015 14:59:46 +0000 (17:59 +0300)]
Explicitly store payload size in each message

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoBenchmark tests for transport encrypt/decrypt functions
Sergey Matveev [Fri, 1 May 2015 12:25:34 +0000 (15:25 +0300)]
Benchmark tests for transport encrypt/decrypt functions

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoPerformance increase by relieving GC
Sergey Matveev [Fri, 1 May 2015 10:41:02 +0000 (13:41 +0300)]
Performance increase by relieving GC

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Example stats output
Sergey Matveev [Thu, 30 Apr 2015 19:10:02 +0000 (22:10 +0300)]
[DOC] Example stats output

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] GNU is using HTTPS by default now
Sergey Matveev [Thu, 30 Apr 2015 19:01:44 +0000 (22:01 +0300)]
[DOC] GNU is using HTTPS by default now

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Download link for 2.4 release
Sergey Matveev [Thu, 30 Apr 2015 16:37:46 +0000 (19:37 +0300)]
[DOC] Download link for 2.4 release

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoMerge branch 'develop' 2.4
Sergey Matveev [Thu, 30 Apr 2015 16:34:38 +0000 (19:34 +0300)]
Merge branch 'develop'

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoStore version number in single file only
Sergey Matveev [Thu, 30 Apr 2015 16:33:13 +0000 (19:33 +0300)]
Store version number in single file only

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Explicitly license documentation at free licence
Sergey Matveev [Thu, 30 Apr 2015 15:12:33 +0000 (18:12 +0300)]
[DOC] Explicitly license documentation at free licence

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoDo not include git-specific makedist.sh in release tarballs
Sergey Matveev [Thu, 30 Apr 2015 14:55:53 +0000 (17:55 +0300)]
Do not include git-specific makedist.sh in release tarballs

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoPreparing for 2.4 release
Sergey Matveev [Thu, 30 Apr 2015 14:31:53 +0000 (17:31 +0300)]
Preparing for 2.4 release

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoOptional HTTP-server providing with known peers information in JSON
Sergey Matveev [Thu, 30 Apr 2015 14:17:02 +0000 (17:17 +0300)]
Optional HTTP-server providing with known peers information in JSON

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoAdd various statistics saved for each peer
Sergey Matveev [Thu, 30 Apr 2015 13:53:03 +0000 (16:53 +0300)]
Add various statistics saved for each peer

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoSplit long line
Sergey Matveev [Thu, 30 Apr 2015 13:51:22 +0000 (16:51 +0300)]
Split long line

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoAbility to bind human readable name to the peer
Sergey Matveev [Thu, 30 Apr 2015 13:49:04 +0000 (16:49 +0300)]
Ability to bind human readable name to the peer

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Some refactoring, rewording
Sergey Matveev [Thu, 30 Apr 2015 09:44:21 +0000 (12:44 +0300)]
[DOC] Some refactoring, rewording

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Split large govpn.texi to several smaller parts
Sergey Matveev [Sun, 26 Apr 2015 20:15:07 +0000 (23:15 +0300)]
[DOC] Split large govpn.texi to several smaller parts

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Download link for 2.3 release
Sergey Matveev [Sun, 26 Apr 2015 16:48:10 +0000 (19:48 +0300)]
[DOC] Download link for 2.3 release

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoMerge branch 'develop' 2.3
Sergey Matveev [Sun, 26 Apr 2015 16:42:13 +0000 (19:42 +0300)]
Merge branch 'develop'

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoMove makedist.sh utility to applicable directory
Sergey Matveev [Sun, 26 Apr 2015 16:42:01 +0000 (19:42 +0300)]
Move makedist.sh utility to applicable directory

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoPreparing for 2.3 release
Sergey Matveev [Sun, 26 Apr 2015 16:32:55 +0000 (19:32 +0300)]
Preparing for 2.3 release

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoReplace handshake NULLs with an IDtag
Sergey Matveev [Sun, 26 Apr 2015 16:19:54 +0000 (19:19 +0300)]
Replace handshake NULLs with an IDtag

Each handshake message contains so called IDtag: XTEA encrypted first 64
bits of transmitted message with client's identity as a key. To
determine if it is handshake message we check all possible client
identities as a key.

Now handshake messages became indistinguishable from the random.

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoRefresh identitifaction keys in the background
Sergey Matveev [Sun, 26 Apr 2015 13:50:31 +0000 (16:50 +0300)]
Refresh identitifaction keys in the background

Instead of calling identities refresh everytime.

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Explicitly note how to subscribe to maillist
Sergey Matveev [Thu, 23 Apr 2015 10:02:08 +0000 (13:02 +0300)]
[DOC] Explicitly note how to subscribe to maillist

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Point to git-repository URL directly, instead of github project's page
Sergey Matveev [Thu, 23 Apr 2015 09:58:34 +0000 (12:58 +0300)]
[DOC] Point to git-repository URL directly, instead of github project's page

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] It is very likely to make handshake packets indistinguishable from the noise
Sergey Matveev [Thu, 23 Apr 2015 09:57:56 +0000 (12:57 +0300)]
[DOC] It is very likely to make handshake packets indistinguishable from the noise

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Add missing nonces in handshake description examples
Sergey Matveev [Tue, 21 Apr 2015 21:19:27 +0000 (00:19 +0300)]
[DOC] Add missing nonces in handshake description examples

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] DJB's suggestion of Curve25519 advertisement
Sergey Matveev [Tue, 21 Apr 2015 21:18:43 +0000 (00:18 +0300)]
[DOC] DJB's suggestion of Curve25519 advertisement

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoAdd simple script for creating new clients keys
Sergey Matveev [Tue, 21 Apr 2015 21:17:49 +0000 (00:17 +0300)]
Add simple script for creating new clients keys

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Add SHA256 checksum additionally to PGP signatures
Sergey Matveev [Fri, 3 Apr 2015 18:56:49 +0000 (21:56 +0300)]
[DOC] Add SHA256 checksum additionally to PGP signatures

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoExplicitly make Bytes counter 64-bits long
Sergey Matveev [Fri, 3 Apr 2015 07:55:49 +0000 (10:55 +0300)]
Explicitly make Bytes counter 64-bits long

On 32-bit systems int by default is 32-bits long and that counter can
not hold 2**32 value.

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Link to website's .onion address
Sergey Matveev [Sun, 29 Mar 2015 09:24:07 +0000 (12:24 +0300)]
[DOC] Link to website's .onion address

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoVersion should include compiler's version too
Sergey Matveev [Sun, 29 Mar 2015 08:50:36 +0000 (11:50 +0300)]
Version should include compiler's version too

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoRemove long human unreadable constant value
Sergey Matveev [Sat, 28 Mar 2015 15:02:42 +0000 (18:02 +0300)]
Remove long human unreadable constant value

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoSimplify external command call
Sergey Matveev [Fri, 27 Mar 2015 16:15:23 +0000 (19:15 +0300)]
Simplify external command call

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Link to Fortuna PRNG
Sergey Matveev [Mon, 23 Mar 2015 19:24:34 +0000 (22:24 +0300)]
[DOC] Link to Fortuna PRNG

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoZero handshake and peer states after their usage
Sergey Matveev [Mon, 23 Mar 2015 15:04:40 +0000 (18:04 +0300)]
Zero handshake and peer states after their usage

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Cleanup old generated HTMLs
Sergey Matveev [Mon, 23 Mar 2015 14:38:55 +0000 (17:38 +0300)]
[DOC] Cleanup old generated HTMLs

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Replace too long section name
Sergey Matveev [Mon, 16 Mar 2015 09:51:55 +0000 (12:51 +0300)]
[DOC] Replace too long section name

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years ago[DOC] Remark about good PRNG requirement
Sergey Matveev [Mon, 16 Mar 2015 09:50:36 +0000 (12:50 +0300)]
[DOC] Remark about good PRNG requirement

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoRemark about proprietary OS
Sergey Matveev [Sun, 15 Mar 2015 21:15:29 +0000 (00:15 +0300)]
Remark about proprietary OS

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
9 years agoMerge branch 'develop' 2.2
Sergey Matveev [Sun, 15 Mar 2015 16:10:07 +0000 (19:10 +0300)]
Merge branch 'develop'

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
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>