Branch: refs/heads/acl
Home: https://github.com/kronosnet/kronosnet
Commit: 4bd0cc5cc524fa0afe8b86f7e33f43656eeb8b80
https://github.com/kronosnet/kronosnet/commit/4bd0cc5cc524fa0afe8b86f7e33f4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/internals.h
M libknet/transport_loopback.c
M libknet/transport_loopback.h
M libknet/transport_sctp.c
M libknet/transport_sctp.h
M libknet/transport_udp.c
M libknet/transport_udp.h
M libknet/transports.c
M libknet/transports.h
Log Message:
-----------
[transports / access list] add internal API to gather which fd to use for access lists given a certain link struct
this is required for the external API that has to be transport indepedent
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/acl
Home: https://github.com/kronosnet/kronosnet
Commit: 8e3901d67a5b4ee8c5b225d2a38982c8debe1cc7
https://github.com/kronosnet/kronosnet/commit/8e3901d67a5b4ee8c5b225d2a3898…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M configure.ac
M libknet/Makefile.am
A libknet/links_acl.c
A libknet/links_acl.h
M libknet/tests/Makefile.am
A libknet/tests/int_links_acl.c
A libknet/tests/int_links_acl.txt
M poc-code/Makefile.am
R poc-code/access-list/.gitignore
R poc-code/access-list/Makefile.am
R poc-code/access-list/ipcheck.c
R poc-code/access-list/ipcheck.h
R poc-code/access-list/test_ipcheck.c
R poc-code/access-list/test_ipcheck.txt
Log Message:
-----------
[acl] move poc-code into libknet dir and rename to links_acl.*
code is not integrated yet and test suite can´t run standalone
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c89d8da368a0f2f20f7f7db8174f934490df183b
https://github.com/kronosnet/kronosnet/commit/c89d8da368a0f2f20f7f7db8174f9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/handle.c
M libknet/internals.h
M libknet/libknet.h
M libknet/tests/api-check.mk
A libknet/tests/api_knet_handle_enable_access_lists.c
Log Message:
-----------
[acl] add knet_handle_enable_access_lists api call
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 387ccbf2eefc253d30a79bc0ba5c4a28a3dd15f3
https://github.com/kronosnet/kronosnet/commit/387ccbf2eefc253d30a79bc0ba5c4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/internals.h
M libknet/transports.c
M libknet/transports.h
Log Message:
-----------
[transports] add information about the nature of the transport and supported access lists
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a2bc6bf50cb1785dc5b24d18ea9a8baa2cb3eb5b
https://github.com/kronosnet/kronosnet/commit/a2bc6bf50cb1785dc5b24d18ea9a8…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/internals.h
M libknet/links_acl.c
M libknet/links_acl.h
M libknet/tests/int_links_acl.c
Log Message:
-----------
[access lists] make code more generic to accept more than IP protocol and start to bind it to each fd
access lists are unique per file descriptor, each fd can have its own protocol and list.
remane around ipcheck* with check* to be more generic.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a3de80bb2d99e1d7028d0f3241d6942dfc52923b
https://github.com/kronosnet/kronosnet/commit/a3de80bb2d99e1d7028d0f3241d69…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/tests/knet_bench.c
Log Message:
-----------
[tests] fix knet_bench help text
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: ea356bf42e5d0c150b2f874c7eb96a33e1336a68
https://github.com/kronosnet/kronosnet/commit/ea356bf42e5d0c150b2f874c7eb96…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/handle.c
Log Message:
-----------
[handle] properly initialize fd tracker buffers
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 94bb423e62fa21aedc57f2e320f038f438fb1a21
https://github.com/kronosnet/kronosnet/commit/94bb423e62fa21aedc57f2e320f03…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/links.c
M libknet/links_acl.c
M libknet/links_acl.h
M libknet/tests/int_links_acl.c
Log Message:
-----------
[access lists] automatically add and remove point to point access lists
those are not used just yet.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: ecde142308b17c0b58d1bcdb3f6319c78946e4c6
https://github.com/kronosnet/kronosnet/commit/ecde142308b17c0b58d1bcdb3f631…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/tests/api_knet_link_set_config.c
Log Message:
-----------
[access lists] add tests for default access lists
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: d499585e0461e10993cd67e1b0d35900713c925a
https://github.com/kronosnet/kronosnet/commit/d499585e0461e10993cd67e1b0d35…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/tests/knet_bench.c
Log Message:
-----------
[access lists] allow knet_bench to enable/disable access lists
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 95e26852307160a4a44e0410fdcb356f8c86eac6
https://github.com/kronosnet/kronosnet/commit/95e26852307160a4a44e0410fdcb3…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/threads_rx.c
Log Message:
-----------
[access lists] enable access lists for GENERIC_ACL protocols (udp for example)
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 1f2ebc91d3dadb7546d172cac628e062a438a892
https://github.com/kronosnet/kronosnet/commit/1f2ebc91d3dadb7546d172cac628e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/links.c
Log Message:
-----------
[access lists] enable generic access lists only for protocols that use them
protocols such as SCTP that use their own access list tracking will
need to setup access lists in transport_link_set/clear_config
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 0b32c61b980193747e63cdfa11f47298c4c444d5
https://github.com/kronosnet/kronosnet/commit/0b32c61b980193747e63cdfa11f47…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/transport_sctp.c
Log Message:
-----------
[access lists] add access lists support to sctp
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 4763f79732375cca4e141d427d9ac999c9758b5a
https://github.com/kronosnet/kronosnet/commit/4763f79732375cca4e141d427d9ac…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/links_acl.c
M libknet/tests/int_links_acl.c
Log Message:
-----------
[access lists] fix build on freebsd
don't use malloc.h, obsoleted by stdlib.h
define s6_addr32 that's only available in kernel space
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: e62c1518c36596038e2d214a8209cb2293cdb7fb
https://github.com/kronosnet/kronosnet/commit/e62c1518c36596038e2d214a8209c…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/Makefile.am
M libknet/links.c
M libknet/links_acl.c
M libknet/links_acl.h
A libknet/links_acl_ip.c
A libknet/links_acl_ip.h
M libknet/tests/Makefile.am
M libknet/tests/int_links_acl.c
M libknet/threads_rx.c
M libknet/transport_sctp.c
Log Message:
-----------
[access lists] move all acl wrappers to links_acl* and split links_acl_ip to their own files
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 24f30d1431b079bf8cacfff6893886b1d3098234
https://github.com/kronosnet/kronosnet/commit/24f30d1431b079bf8cacfff689388…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/internals.h
M libknet/links_acl.c
M libknet/links_acl.h
M libknet/links_acl_ip.c
M libknet/links_acl_ip.h
Log Message:
-----------
[access lists] move access lists structs and data types to links_acl.*
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 25c81869c522162842e9d0dd19933c5ba44f8eba
https://github.com/kronosnet/kronosnet/commit/25c81869c522162842e9d0dd19933…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/links_acl.c
Log Message:
-----------
[access lists] more use of generic wrappers and remove duplicate code
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 41788d779f0bd7a079b33d4141d623ec5d0a07a7
https://github.com/kronosnet/kronosnet/commit/41788d779f0bd7a079b33d4141d62…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/links_acl.c
M libknet/links_acl.h
M libknet/threads_rx.c
M libknet/transport_sctp.c
Log Message:
-----------
[access lists] cleanup API a bit
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: b1af0f8e0d86cf7aab6a538350560b65990930ac
https://github.com/kronosnet/kronosnet/commit/b1af0f8e0d86cf7aab6a538350560…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/links.c
M libknet/links_acl.c
M libknet/links_acl.h
Log Message:
-----------
[access lists] remove 2 unnecessary wrappers
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 40462f25ca097bb60293214a8dd2a050ba2b10f4
https://github.com/kronosnet/kronosnet/commit/40462f25ca097bb60293214a8dd2a…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/internals.h
M libknet/links.c
M libknet/threads_heartbeat.c
M libknet/threads_pmtud.c
M libknet/threads_rx.c
M libknet/threads_tx.c
M libknet/transports.c
Log Message:
-----------
[links] rename transport_type to transport to avoid confusion
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: ba5fcadc195b63f8ff79a313a23ce17e93f6bdf5
https://github.com/kronosnet/kronosnet/commit/ba5fcadc195b63f8ff79a313a23ce…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/links_acl.c
M libknet/links_acl.h
M libknet/threads_rx.c
M libknet/transport_sctp.c
Log Message:
-----------
[access lists] make internal API consistent
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 9e41d07cb81f24f41d8c01556b78721c58769fc3
https://github.com/kronosnet/kronosnet/commit/9e41d07cb81f24f41d8c01556b787…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/links_acl.c
M libknet/links_acl_ip.c
M libknet/tests/Makefile.am
M libknet/tests/int_links_acl.c
Log Message:
-----------
[access lists] fix build on BSD and add some include files around
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: feff14cda6d9004fac373994a2dc248c8c69078b
https://github.com/kronosnet/kronosnet/commit/feff14cda6d9004fac373994a2dc2…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/links.c
M libknet/links_acl.c
M libknet/links_acl_ip.c
M libknet/transport_sctp.c
Log Message:
-----------
[access lists] add errno around and start using them
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: b8b7f7d188e517b4ea72d5fcfa298bf58f58ecdf
https://github.com/kronosnet/kronosnet/commit/b8b7f7d188e517b4ea72d5fcfa298…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/links_acl.c
M libknet/links_acl.h
M libknet/links_acl_ip.c
M libknet/links_acl_ip.h
Log Message:
-----------
[access lists] confine access lists data structs within the protocol itself
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: ddcecc035caf947afb3a09cc86d522624c95bd8d
https://github.com/kronosnet/kronosnet/commit/ddcecc035caf947afb3a09cc86d52…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/internals.h
M libknet/links_acl.c
M libknet/tests/api_knet_link_set_config.c
Log Message:
-----------
[access lists] use better name for fd_tracker structure
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f5971259315c1551a83a1412063579b3b17ebab0
https://github.com/kronosnet/kronosnet/commit/f5971259315c1551a83a141206357…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/Makefile.am
M libknet/internals.h
M libknet/links_acl.c
M libknet/links_acl.h
A libknet/links_acl_loopback.c
A libknet/links_acl_loopback.h
M libknet/tests/Makefile.am
M libknet/transports.c
Log Message:
-----------
[access lists] use arrays to access per-protocol functions
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 3eb582994e48ea8513bd3a77cd12616f3b339d3a
https://github.com/kronosnet/kronosnet/commit/3eb582994e48ea8513bd3a77cd126…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-02-28 (Thu, 28 Feb 2019)
Changed paths:
M libknet/links_acl.c
M libknet/links_acl.h
M libknet/links_acl_ip.c
M libknet/links_acl_ip.h
M libknet/links_acl_loopback.c
M libknet/links_acl_loopback.h
Log Message:
-----------
[access lists] rename ip1/2 to ss1/2 to keep it more generic
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare: https://github.com/kronosnet/kronosnet/compare/b20cb091622b...3eb582994e48