--- gvpe/NEWS 2011/06/21 16:27:32 1.102 +++ gvpe/NEWS 2016/06/30 11:43:38 1.130 @@ -1,12 +1,89 @@ GVPE NEWS +TODO: bridge mode, finally? +TODO: gcm mode? +TODO: replace ripemd160 as the only authentication hash. +TODO: increase rsa size. +TODO: replace transport bits by transport endpoint structs? +TODO: http://incog-izick.blogspot.de/2011/08/using-openssl-aes-gcm.html +TODO: http://stackoverflow.com/questions/12153009/openssl-c-example-of-aes-gcm-using-evp-interfaces + +TODO: verify +TODO: make sense of overhead calculation +TODO: if-up &c should not be scripts? +TODO: ipv6 +TODO: gvpectrl should not use default privatekey,. or maybe document it better +TODO: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828336 + - INCOMPATIBLE CHANGE: core protocol version 1.0. + - INCOMPATIBLE CHANGE: node sections are now introduced + with "node nodename", not "node = nodename". + - add workaround for temporary/rare ENOBUFS condition. + - while individual packets couldn't be replayed, a whole session + could be replayed - this has been fixed by an extra key exchange. + - fix a delete vs. delete [] mismatch in the central logging function. + - in addition to rsa key exchange and authentication, the handshake now + adds a diffie-hellman key exchange (using curve25119) for perfect + forward secrecy. mac and cipher keys are derived using HKDF. + - rsa key sizes are now configurable and larger (default is 3072). + correspondingly, the minimum mtu is no longer 296 but 576. + - fixed a potential (unverified) buffer overrun on rsa decryption. + - new per-node low-power setting that tries to reduce cpu/network usage. + - router reconnects could cause excessive rekeying on other connections. + - gvpectrl no longer generates all missing public keys, but + only missing private keys. private keys are also put + into the configured location. + - the pid-file now accepts %s as nodename as elsewhere. + - switch to counter mode (only aes supported at the moment in + openssl). this gets rid of the need to generate a random iv, + is likely more secure (and, as a side effect, gets rid of + slow randomness generation. counter mode is often faster + then cbc mode as well, and packets are smaller). + - no longer use RAND_bytes to generate session keys - you NEED + a real source of entropy now (e.g. egd or /dev/random - see the + openssl documentation). + - multiple node statements for the same node are now supported + and will be merged. + - a new directive "global" switches back to the global section + of the config file. + - if-up scripts can now be specified with absolute paths. + - new global option: serial, to detect configuration mismatches. + - use HKDF as authentication proof, not HMAC or a plain hash + (hint by Ilmari Karonen). + - during rekeying or conenction establishments, hmac authentication + errors could occur and reset the connection. Transient hmac + authentication errors are now being ignored for 3 seconds. + - log the reason for a conneciton loss. + - use a (hopefully) constant time memcmp to compare internal secrets. + - fix a (harmless) errornous out of bounds stack read that would trigger + gcc's -fsanitize=address. + - bump old packet window size from 512 to 65536. + - update for big changes in openssl 1.1 API, wrap primitives + to make further changes easier. + - correctly check return values for openssl 1.0.0 and later. + +2.25 Sat Jul 13 06:42:33 CEST 2013 - INCOMPATIBLE CHANGE: no longer enable udp protocol if no other protocols are enabled - this is necessary when you have nodes with completely unknown protocols, to force mediated connection requests. - INCOMPATIBLE CHANGE: dns transport protocol bumped to version 2. + - core protocol version 0.1, compatible with older releases. + - switch to using RSA_generate_key_ex, which is the badly documented + and needlessly more complicated replacement for the RSA_generate_key + function which is now deprecated. + - support additional hmac hashes: sha256 and sha512, usually truncated. + - change public exponent for rsa keys from 65535 to 65537, for + efficiency reasons - only affects new keys. + - nodes would sometimes declare transport endpoints valid despite + the protocol not being configured locally. + - new global configuration options: chroot, chuser, chuid, chgid, + to chroot to a specified or anonymous new root, and change user id. + - new global configuration options seed_device and seed_interval, + to configure another device than /dev/urandom for random seeds, + and to configure a regular interval to reseed the rng. + - prefer inet_aton over gethostbyname, as the latter is not guaranteed + to "resolve" literal ip addresses. - configure didn't detect openssl 1.0 because SHA1_version became private (patch by TANIGUCHI Takaki). - - core protocol version 0.1, compatible with older releases. - fix a bug where nodes would tell the other side that it supports the same protocols as that other side, instead of its own. - add zlib when found, as openssl depends on it in newer versions. @@ -17,7 +94,7 @@ - major, but incremental, dns transport improvements: - do not simply abort in some error cases in the dns transport, but try to recover. - - allow lowercase/uppercase alises for base-n encodings that do + - allow lowercase/uppercase aliases for base-n encodings that do not rely on case. - use base26 instead of base22 encoding for dns syn's, and base36 instead of base22 for headers (saves one byte/packet). @@ -26,7 +103,14 @@ needless packets. - poll more aggressively when idling in dns (poll once per second as opposed to once per 5 seconds). + - reduce dns send payload size to allow greater rate of ack + messages (should help sack and ipv6). + - allow for ip options in rawip/icmp transports, even though gvpe + doesn't generate them. + - upgrade to autoconf 2.69, automake 1.11. - upgrade to libev 4 API. + - replace COPYING file by actual GPLv3 - files were relicensed to GPLv3 + earlier but COPYING was forgotten. 2.24 Sat Feb 12 05:15:48 CET 2011 - protocol version 0.1, compatible with older releases.