Branch: refs/heads/newcrypto
Home: https://github.com/fabbione/kronosnet
Commit: 22dac782fe69a8996671b68e7e66cd73e3104656
https://github.com/fabbione/kronosnet/commit/22dac782fe69a8996671b68e7e66cd…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M libknet/handle.c
M libknet/threads_send_recv.c
Log Message:
-----------
[send/recv] Move sending thread to iovec implementation
save plenty memcpy around and reduce memory footprint
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 3cea1579c6c93553921548358be04edf8a7ba5b4
https://github.com/fabbione/kronosnet/commit/3cea1579c6c93553921548358be04e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M configure.ac
M poc-code/Makefile.am
R poc-code/iov-enc/.gitignore
R poc-code/iov-enc/Makefile.am
R poc-code/iov-enc/main.c
Log Message:
-----------
[poc] remove iov-enc code now merged in master
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 253a919efba7b2645586c45d02d5e963ba33af83
https://github.com/fabbione/kronosnet/commit/253a919efba7b2645586c45d02d5e9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M libknet/tests/Makefile.am
A libknet/tests/knet_bench.c
Log Message:
-----------
[tests] Add knet_bench as more flexible replacement for ping_test
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 0f08051da8f1f259e3ddfa868deafbd1b8696e5b
https://github.com/fabbione/kronosnet/commit/0f08051da8f1f259e3ddfa868deafb…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M libknet/threads_send_recv.c
Log Message:
-----------
[send/recv] Fix bug in handling HOSTINFO packets seq num
the bcast/ucast seq num were being mixed up, causing packet
loss on link up/down (also in active mode).
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 38eacd072bfa935d0ee6dbd7bee2d3dbb7994385
https://github.com/fabbione/kronosnet/commit/38eacd072bfa935d0ee6dbd7bee2d3…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
M libknet/tests/test-common.c
M libknet/tests/test-common.h
Log Message:
-----------
[tests] add facility to stop a whole knet handle in one shot
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 1a5450ecbdc823ecd439628450b3f3e0aa231571
https://github.com/fabbione/kronosnet/commit/1a5450ecbdc823ecd439628450b3f3…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
M libknet/tests/crypto_bench.c
M libknet/tests/test-common.c
M libknet/tests/test-common.h
Log Message:
-----------
[tests] allow scheduler to be configured and allow start_logging to be called multiple times safely
also test crypto_bench with multiple schedulers
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: aa5c5f01bcfad3eacf87d25296203faae9fc89c5
https://github.com/fabbione/kronosnet/commit/aa5c5f01bcfad3eacf87d25296203f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M libknet/tests/test-common.c
M libknet/tests/test-common.h
Log Message:
-----------
[tests] add options to configure scheduler
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 4012b78d335fe5393c1a71f37bcdb3d4d9455abe
https://github.com/fabbione/kronosnet/commit/4012b78d335fe5393c1a71f37bcdb3…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M libknet/tests/crypto_bench.c
Log Message:
-----------
[tests] move crypto bench to use start_logging
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 396d7db1fcaa70ee38f6c5f9ecf8ebffa94720b7
https://github.com/fabbione/kronosnet/commit/396d7db1fcaa70ee38f6c5f9ecf8eb…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
[tests] add knet logs: prefix when no logs are being recorded
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 8aac23263fb33ff1d3dd35f2da0caeb447eabab9
https://github.com/fabbione/kronosnet/commit/8aac23263fb33ff1d3dd35f2da0cae…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M libknet/tests/test-common.h
Log Message:
-----------
[tests] add warning on when to use or not to use start_logging
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: ef05673a30c618f9e7b891c702671ff0efddb3aa
https://github.com/fabbione/kronosnet/commit/ef05673a30c618f9e7b891c702671f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M libknet/tests/test-common.c
M libknet/tests/test-common.h
Log Message:
-----------
[tests] add logging thread support to simplify writing tests
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/newcrypto
Home: https://github.com/fabbione/kronosnet
Commit: 190e2bee9af6b0811d515e753bb089be77dc5d42
https://github.com/fabbione/kronosnet/commit/190e2bee9af6b0811d515e753bb089…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-15 (Tue, 15 Nov 2016)
Changed paths:
M libknet/handle.c
M libknet/threads_send_recv.c
Log Message:
-----------
[send/recv] Move sending thread to iovec implementation
save plenty memcpy around and reduce memory footprint
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 43a98469418ef47cb6d57864c3208dc083214671
https://github.com/fabbione/kronosnet/commit/43a98469418ef47cb6d57864c3208d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-15 (Tue, 15 Nov 2016)
Changed paths:
M libknet/tests/Makefile.am
A libknet/tests/crypto_bench.c
R libknet/tests/fun_crypto_benchmark.c
Log Message:
-----------
[tests] rename fun_crypto_benchmark to crypto_bench
and create a benchmark section in tests/Makefile.am
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: d2440f96bf2bf085808d546cb322f4114aab9764
https://github.com/fabbione/kronosnet/commit/d2440f96bf2bf085808d546cb322f4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-15 (Tue, 15 Nov 2016)
Changed paths:
M libknet/tests/fun_crypto_benchmark.c
M libknet/tests/int_crypto.c
Log Message:
-----------
[tests] fix up input handling on crypto tests
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 2979fe52652b0906928fed52eb3495e539e72ecd
https://github.com/fabbione/kronosnet/commit/2979fe52652b0906928fed52eb3495…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-15 (Tue, 15 Nov 2016)
Changed paths:
M libknet/nsscrypto.c
Log Message:
-----------
[crypto] drop the unnecessary hash_block code
this was a leftover from corosync port of the code and it was
a failsafe for buffer allocation apparently. buffer allocation
was completely reworked in corosync to dynamically account for
headers and so on.
this also removes one memcpy and shave some more time in hashing
operations.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 5200c2339b4dc030e14369ab8e5cc1accf380ca4
https://github.com/fabbione/kronosnet/commit/5200c2339b4dc030e14369ab8e5cc1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-15 (Tue, 15 Nov 2016)
Changed paths:
M libknet/tests/int_crypto.c
Log Message:
-----------
[tests] dynamically allocate memory for int_crypto_test
and make it easier to extend text to some input boundaries.
also make check-memcheck doesn't appear to spot bad memory access
on allocated-on-stack buffers
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 8536a4d239d923d1119d09f1e1084a20e58ae772
https://github.com/fabbione/kronosnet/commit/8536a4d239d923d1119d09f1e1084a…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-15 (Tue, 15 Nov 2016)
Changed paths:
M libknet/crypto.c
M libknet/crypto.h
M libknet/nsscrypto.c
M libknet/nsscrypto.h
Log Message:
-----------
[crypto] cleanup some headers and drop duplicate code
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 1991f495766cd88c55b377d94155f6640967e6ee
https://github.com/fabbione/kronosnet/commit/1991f495766cd88c55b377d94155f6…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-15 (Tue, 15 Nov 2016)
Changed paths:
M libknet/crypto.c
M libknet/crypto.h
M libknet/nsscrypto.c
M libknet/nsscrypto.h
M libknet/tests/fun_crypto_benchmark.c
Log Message:
-----------
[crypto] introduce (nss)crypto_encrypt_and_signv
and move crypto_encrypt_and_sign to use the v version.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 77213908e0d5d67f75c431e0602313a65767186b
https://github.com/fabbione/kronosnet/commit/77213908e0d5d67f75c431e0602313…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-15 (Tue, 15 Nov 2016)
Changed paths:
M configure.ac
M poc-code/Makefile.am
A poc-code/iov-hash/.gitignore
A poc-code/iov-hash/Makefile.am
A poc-code/iov-hash/main.c
Log Message:
-----------
[poc] add io-hashing PoC
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/newcrypto
Home: https://github.com/fabbione/kronosnet
Commit: 066f4d093effaa80433baf44e9e485374e41f84b
https://github.com/fabbione/kronosnet/commit/066f4d093effaa80433baf44e9e485…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M libknet/handle.c
M libknet/threads_send_recv.c
Log Message:
-----------
[send/recv] Move sending thread to iovec implementation
save plenty memcpy around and reduce memory footprint
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/newcrypto
Home: https://github.com/fabbione/kronosnet
Commit: f41bee32c640371ade17f2be28ea8fa5c745cdb1
https://github.com/fabbione/kronosnet/commit/f41bee32c640371ade17f2be28ea8f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-13 (Sun, 13 Nov 2016)
Changed paths:
M libknet/tests/fun_crypto_benchmark.c
M libknet/tests/int_crypto.c
Log Message:
-----------
[tests] fix up input handling on crypto tests
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/newcrypto
Home: https://github.com/fabbione/kronosnet
Commit: b28ec6be21d340eda36db4481d38dd49b2e7228c
https://github.com/fabbione/kronosnet/commit/b28ec6be21d340eda36db4481d38dd…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-13 (Sun, 13 Nov 2016)
Changed paths:
M libknet/nsscrypto.c
Log Message:
-----------
[crypto] drop the unnecessary hash_block code
this was a leftover from corosync port of the code and it was
a failsafe for buffer allocation apparently. buffer allocation
was completely reworked in corosync to dynamically account for
headers and so on.
this also removes one memcpy and shave some more time in hashing
operations.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/newcrypto
Home: https://github.com/fabbione/kronosnet
Commit: 81a501715c6ba626d14c21961d2b36be60bafe4f
https://github.com/fabbione/kronosnet/commit/81a501715c6ba626d14c21961d2b36…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-13 (Sun, 13 Nov 2016)
Changed paths:
M libknet/tests/int_crypto.c
Log Message:
-----------
[tests] dynamically allocate memory for int_crypto_test
and make it easier to extend text to some input boundaries.
also make check-memcheck doesn't appear to spot bad memory access
on allocated-on-stack buffers
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/newcrypto
Home: https://github.com/fabbione/kronosnet
Commit: a9de3e391ddaf0af54584d95d962ca53341b93d6
https://github.com/fabbione/kronosnet/commit/a9de3e391ddaf0af54584d95d962ca…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-13 (Sun, 13 Nov 2016)
Changed paths:
M libknet/crypto.c
M libknet/crypto.h
M libknet/nsscrypto.c
M libknet/nsscrypto.h
Log Message:
-----------
[crypto] cleanup some headers and drop duplicate code
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/newcrypto
Home: https://github.com/fabbione/kronosnet
Commit: 4f5ef35b6978f320f031cae2c3dc5d0adbdeaf17
https://github.com/fabbione/kronosnet/commit/4f5ef35b6978f320f031cae2c3dc5d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-12 (Sat, 12 Nov 2016)
Changed paths:
M configure.ac
M poc-code/Makefile.am
A poc-code/iov-hash/.gitignore
A poc-code/iov-hash/Makefile.am
A poc-code/iov-hash/main.c
Log Message:
-----------
[poc] add io-hashing PoC
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/newcrypto
Home: https://github.com/fabbione/kronosnet
Commit: 830c1ed34a932e57c5a6670eae6881ca4a48a046
https://github.com/fabbione/kronosnet/commit/830c1ed34a932e57c5a6670eae6881…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-07 (Mon, 07 Nov 2016)
Changed paths:
M libknet/crypto.c
M libknet/crypto.h
M libknet/nsscrypto.c
M libknet/nsscrypto.h
M libknet/tests/fun_crypto_benchmark.c
Log Message:
-----------
[crypto] introduce (nss)crypto_encrypt_and_signv
and move crypto_encrypt_and_sign to use the v version.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 9954dfb317cf6666fb57ef07a3596129b0e91510
https://github.com/fabbione/kronosnet/commit/9954dfb317cf6666fb57ef07a35961…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-06 (Sun, 06 Nov 2016)
Changed paths:
M libknet/tests/Makefile.am
A libknet/tests/int_crypto.c
Log Message:
-----------
[tests] add internal crypto basic test
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 7368d54c93464b6728214d63f367d13822d7af06
https://github.com/fabbione/kronosnet/commit/7368d54c93464b6728214d63f367d1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-06 (Sun, 06 Nov 2016)
Changed paths:
M Makefile.am
M configure.ac
A poc-code/Makefile.am
M poc-code/access-list/Makefile.am
M poc-code/iov-enc/Makefile.am
Log Message:
-----------
Integrate it all with build
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 712dee586980046b06bb800ccd9b241fa721ee5b
https://github.com/fabbione/kronosnet/commit/712dee586980046b06bb800ccd9b24…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-06 (Sun, 06 Nov 2016)
Changed paths:
M configure.ac
A poc-code/access-list/.gitignore
M poc-code/access-list/Makefile.am
M poc-code/access-list/test_ipcheck.c
A poc-code/iov-enc/.gitignore
M poc-code/iov-enc/Makefile.am
Log Message:
-----------
Simplify build of poc-code
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 7e39d4745f3ec6d978a76ac73257fdd7ca25a164
https://github.com/fabbione/kronosnet/commit/7e39d4745f3ec6d978a76ac73257fd…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-06 (Sun, 06 Nov 2016)
Changed paths:
M poc-code/iov-enc/main.c
Log Message:
-----------
Simplify even further. EncContext tracks the location of the buffer
and doesn't care about tmp_len
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: c299b2a38556b2e5784971c68ae1714f37d669de
https://github.com/fabbione/kronosnet/commit/c299b2a38556b2e5784971c68ae171…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-05 (Sat, 05 Nov 2016)
Changed paths:
A poc-code/iov-enc/Makefile.am
A poc-code/iov-enc/main.c
Log Message:
-----------
Add libnss iovec PoC
this is a small modified version of the code example available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/nss_sample_co…
to show that it is possible to encrypt from multiple src buffers
into a final buffer.
this approach will allow us to remove a lot of memcpy around the
recv/send thread and replace them with iovec mapping all across.
Possible side effects:
- less memory consumption (mapping vs allocating)
- more complex code / crypto (internal) API changes
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: b52f4df592100a4ae4fcb5399c2a56b790341bcf
https://github.com/fabbione/kronosnet/commit/b52f4df592100a4ae4fcb5399c2a56…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-11-05 (Sat, 05 Nov 2016)
Changed paths:
A poc-code/access-list/Makefile.am
A poc-code/access-list/ipcheck.c
A poc-code/access-list/ipcheck.h
A poc-code/access-list/test_ipcheck.c
A poc-code/access-list/test_ipcheck.txt
Log Message:
-----------
Add poc-code directory and move access-list code from Chrissie there
Over time we have created a lot of small PoC code to make knet better.
Most of it is already integrated but other chunks are still floating around.
I prefer to keep them here so that:
1) they don't get lost
2) it will be easier to integrate them once we get to that point
3) we can share PoC and work on them together
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>