Branch: refs/heads/fix-acl
Home: https://github.com/kronosnet/kronosnet
Commit: 5fac8f0ead3a0f24ce2e43f0fca8ca03898f23e9
https://github.com/kronosnet/kronosnet/commit/5fac8f0ead3a0f24ce2e43f0fca8c…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2021-07-19 (Mon, 19 Jul 2021)
Changed paths:
M libknet/tests/fun_acl_check.c
Log Message:
-----------
test: actually get rid of arbitrary sleeps
A better way is to wait for the link to go down BEFORE calling
knet_link_rm_acl(), then wait for it to come back up AFTER
knet_link_rm_ac(). That avoids all sleeps and makes it properly
event-driven.
This patch also fixes an error reporting bug.
Branch: refs/heads/fix-acl
Home: https://github.com/kronosnet/kronosnet
Commit: 3cb696382755d9bfccc4edfc4db57c0513e69c1c
https://github.com/kronosnet/kronosnet/commit/3cb696382755d9bfccc4edfc4db57…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2021-07-19 (Mon, 19 Jul 2021)
Changed paths:
M libknet/tests/fun_acl_check.c
Log Message:
-----------
test: Add some waits after removing a blocking ACL
The ACL can make the link unstable and we can get down events
even after calling knet_link_rm_acl(), so simply checking
for all links up is not sufficient.
Branch: refs/heads/fix-acl
Home: https://github.com/kronosnet/kronosnet
Commit: d7fb64c0129f20501aca101ad6beaac9f0294856
https://github.com/kronosnet/kronosnet/commit/d7fb64c0129f20501aca101ad6bea…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2021-07-10 (Sat, 10 Jul 2021)
Changed paths:
M libknet/tests/api_knet_send_sync.c
M libknet/transport_sctp.c
Log Message:
-----------
[sctp] fix invalid memory access
and add more tests to the SCTP matrix
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a38710e48220275a4c57f63f2f148fd766fb5323
https://github.com/kronosnet/kronosnet/commit/a38710e48220275a4c57f63f2f148…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2021-07-10 (Sat, 10 Jul 2021)
Changed paths:
M libknet/links.c
Log Message:
-----------
[acl] make knet_link_add_acl a wrapper to knet_link_insert_acl
remove lots of duplicated code
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 0ff08e8eb60dd58163f085e563ef7c4082274c25
https://github.com/kronosnet/kronosnet/commit/0ff08e8eb60dd58163f085e563ef7…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2021-07-10 (Sat, 10 Jul 2021)
Changed paths:
M libknet/internals.h
M libknet/links.c
M libknet/links_acl.c
M libknet/links_acl.h
M libknet/links_acl_ip.c
M libknet/tests/Makefile.am
M libknet/tests/api_knet_link_add_acl.c
M libknet/tests/api_knet_link_clear_acl.c
M libknet/tests/api_knet_link_insert_acl.c
M libknet/tests/api_knet_link_rm_acl.c
M libknet/tests/api_knet_link_set_config.c
M libknet/tests/api_knet_send.c
A libknet/tests/fun_acl_check.c
M libknet/threads_rx.c
M libknet/transport_sctp.c
Log Message:
-----------
[acl] major internal rework
ACL internal management was somewhat broken and didn´t really
do what was advertised for dynamic links.
- fix ACL to be truely per host/link as public API advertise
- move ACL checking when host/link are known
- add extensive tests
- fix various minor bugs that went undetected for a bit
- enable access list testings on more tests
Signed-off-by: Christine Caulfield <ccaulfie(a)redhat.com>
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare: https://github.com/kronosnet/kronosnet/compare/c361b9fa4fbc...0ff08e8eb60d