Branch: refs/heads/dont-allow-mixed-family-links
Home: https://github.com/kronosnet/kronosnet
Commit: 45d52252667a4c940fd15ef1971b91759197194c
https://github.com/kronosnet/kronosnet/commit/45d52252667a4c940fd15ef1971b9…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M libknet/links.c
M libknet/tests/api_knet_link_set_config.c
Log Message:
-----------
link: Check address families on a link always match
We can't create a link with a source address of a different
address family than the destination as all sends will fail.
Branch: refs/heads/dont-spin-split-ipfamily
Home: https://github.com/kronosnet/kronosnet
Commit: 7c32ecada13c5d19ca7d2617bc52faa39361dca5
https://github.com/kronosnet/kronosnet/commit/7c32ecada13c5d19ca7d2617bc52f…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M libknet/transport_udp.c
Log Message:
-----------
udp: Don't spin if a node has the wrong IP family
If a link has nodes with a mix of IP families (eg it's set up
with IPv4 ones and an IPv6 one is added) then knet spins on sending
to an IPv6 one from a IPv4 socket with -EAFNOSUPPORT.
Yes, this is a bad config error but knet should handle it with a
little more grace.
sctp does not seem to suffer from the spinning at least
Signed-off-by: Christine Caulfield <ccaulfie(a)redhat.com>
Branch: refs/heads/functional-testing
Home: https://github.com/kronosnet/kronosnet
Commit: e453cf25c4ef6a253ccf3501f1498d738fcc47dd
https://github.com/kronosnet/kronosnet/commit/e453cf25c4ef6a253ccf3501f1498…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
[tests] remove unnecessary shutdown locking
the test should be in charge not to shutdown too much at once
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: af17c4ce9cffe03f1053727287a4270a7ecec80a
https://github.com/kronosnet/kronosnet/commit/af17c4ce9cffe03f1053727287a42…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
[tests] print information about which knet_handle is performing operations
this is necessary when a test creates multiple handles for functional testing
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 8bcf18e4b86b57b31f107a1e5d6a24bc42146d60
https://github.com/kronosnet/kronosnet/commit/8bcf18e4b86b57b31f107a1e5d6a2…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
[tests] use link_get_enable instead of get_status
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: dd051e21ba4363ba93cfb3fbcfd8487034273205
https://github.com/kronosnet/kronosnet/commit/dd051e21ba4363ba93cfb3fbcfd84…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M libknet/tests/test-common.c
M libknet/tests/test-common.h
Log Message:
-----------
[tests] add basic framework to create, join and stop many nodes
all nodes will be using loopback interface (lo) at different
port offset.
currently limited to ipv4 for basic development.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare: https://github.com/kronosnet/kronosnet/compare/d29c1c103fdc...dd051e21ba43
Branch: refs/heads/rekey
Home: https://github.com/kronosnet/kronosnet
Commit: f41eb7e253b73add299a3ab5fa1ed77943e6a69b
https://github.com/kronosnet/kronosnet/commit/f41eb7e253b73add299a3ab5fa1ed…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M libknet/crypto.c
M libknet/crypto_model.h
M libknet/crypto_nss.c
M libknet/crypto_openssl.c
M libknet/handle.c
M libknet/internals.h
Log Message:
-----------
[crypto] first pass to implement rekey by de-harcoding crypto_instance in each internal API call
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 5324ad6d46709e853157d64cbc98742e5b8e7c3a
https://github.com/kronosnet/kronosnet/commit/5324ad6d46709e853157d64cbc987…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M libknet/crypto.c
M libknet/crypto.h
M libknet/crypto_model.h
M libknet/crypto_nss.c
M libknet/crypto_openssl.c
M libknet/handle.c
M libknet/libknet.h
M libknet/tests/api-check.mk
A libknet/tests/api_knet_handle_crypto_start_rekey.c
A libknet/tests/api_knet_handle_crypto_stop_rekey.c
A libknet/tests/api_knet_handle_crypto_use_newkey.c
M man/Makefile.am
Log Message:
-----------
[crypto] add support for rekey public APIs
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare: https://github.com/kronosnet/kronosnet/compare/e4d0354b39bb...5324ad6d4670
Branch: refs/heads/stable1-proposed
Home: https://github.com/kronosnet/kronosnet
Commit: 1137b71f57e998a344c8f5db5135b3c28097d587
https://github.com/kronosnet/kronosnet/commit/1137b71f57e998a344c8f5db5135b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M kronosnet.spec.in
Log Message:
-----------
[tests] test rpm should match currently installed version of libknet
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a9ca6afa22fe52d048059a2e63f60a97e87747fa
https://github.com/kronosnet/kronosnet/commit/a9ca6afa22fe52d048059a2e63f60…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M libknet/transport_sctp.c
M libknet/transport_udp.c
Log Message:
-----------
[transports] fix usage after free of transport info memory
spotted while implementing functional testing for rekey.
when configuring multiple hosts (3+) with 1 link sharing
the same listener, but NOT enabling the link, if the user
attempts to shutdown knet_h, the first call to knet_link_clear_config
will not recognize that the listener is still in use by another
link and will release all resources.
At the time of invoking clear_config on the second link, transport_clear_config
will access already freed memory, or alternatively, a call to
link_enable would cause a crash because the listener does no
longer exist.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare: https://github.com/kronosnet/kronosnet/compare/2e29e0bbc8d6...a9ca6afa22fe
Branch: refs/heads/master
Home: https://github.com/kronosnet/kronosnet
Commit: 78d00c88ed13a3e6eb11bfd4c940a6418a7d26d3
https://github.com/kronosnet/kronosnet/commit/78d00c88ed13a3e6eb11bfd4c940a…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-25 (Mon, 25 Mar 2019)
Changed paths:
M kronosnet.spec.in
Log Message:
-----------
[tests] test rpm should match currently installed version of libknet
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 07688a2afca385b11b87fc079ff888d2b02ff27b
https://github.com/kronosnet/kronosnet/commit/07688a2afca385b11b87fc079ff88…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-25 (Mon, 25 Mar 2019)
Changed paths:
M libknet/transport_sctp.c
M libknet/transport_udp.c
Log Message:
-----------
[transports] fix usage after free of transport info memory
spotted while implementing functional testing for rekey.
when configuring multiple hosts (3+) with 1 link sharing
the same listener, but NOT enabling the link, if the user
attempts to shutdown knet_h, the first call to knet_link_clear_config
will not recognize that the listener is still in use by another
link and will release all resources.
At the time of invoking clear_config on the second link, transport_clear_config
will access already freed memory, or alternatively, a call to
link_enable would cause a crash because the listener does no
longer exist.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 4818cfa5ee91f43dfaa3df4b0217eef6cc67d4de
https://github.com/kronosnet/kronosnet/commit/4818cfa5ee91f43dfaa3df4b0217e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M kronosnet.spec.in
M libknet/transport_sctp.c
M libknet/transport_udp.c
Log Message:
-----------
Merge pull request #208 from kronosnet/fixes
important fixes
Compare: https://github.com/kronosnet/kronosnet/compare/2ff304d3a1f5...4818cfa5ee91