Branch: refs/heads/acl
Home:
https://github.com/kronosnet/kronosnet
Commit: 97a3275bd607ae639ce3274bb48afd590199f085
https://github.com/kronosnet/kronosnet/commit/97a3275bd607ae639ce3274bb48af…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 37533a4f77a6e9e56894232bcbba6652635bf516
https://github.com/kronosnet/kronosnet/commit/37533a4f77a6e9e56894232bcbba6…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: e84ae93d21122f76222034e4c1b463f8753282c2
https://github.com/kronosnet/kronosnet/commit/e84ae93d21122f76222034e4c1b46…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: db6ac71894c1c6dda8828a8e1b63eab6108103ba
https://github.com/kronosnet/kronosnet/commit/db6ac71894c1c6dda8828a8e1b63e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: fad1693d990b9c919f83c9e51171ba560b3e78aa
https://github.com/kronosnet/kronosnet/commit/fad1693d990b9c919f83c9e51171b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 4e0a626ff4c38d70a7f822bc73ce83eb57ea0b3b
https://github.com/kronosnet/kronosnet/commit/4e0a626ff4c38d70a7f822bc73ce8…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 93c99e53a2251303d3f65f4212979d2912c0c4f3
https://github.com/kronosnet/kronosnet/commit/93c99e53a2251303d3f65f4212979…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: cdd89f8c2fadf9821e02a67756bd8f22e4711916
https://github.com/kronosnet/kronosnet/commit/cdd89f8c2fadf9821e02a67756bd8…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 8f47f6a390d587e18b1e9d5ed72b216a06aac659
https://github.com/kronosnet/kronosnet/commit/8f47f6a390d587e18b1e9d5ed72b2…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 6f8e242b1e1012c1fda0ea3b00e6074a24be91d8
https://github.com/kronosnet/kronosnet/commit/6f8e242b1e1012c1fda0ea3b00e60…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: a11744ee2124e4b95be0650adecff4846bf6c4d8
https://github.com/kronosnet/kronosnet/commit/a11744ee2124e4b95be0650adecff…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 687abec525a06e006d2dbd77db78548bf4e2a0dc
https://github.com/kronosnet/kronosnet/commit/687abec525a06e006d2dbd77db785…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: a9a2828e09065e3d5900b8094a205db0b1fb7276
https://github.com/kronosnet/kronosnet/commit/a9a2828e09065e3d5900b8094a205…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: f8013aff0f5300f89ead0175752f3fb7b22f24cb
https://github.com/kronosnet/kronosnet/commit/f8013aff0f5300f89ead0175752f3…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 46770b817d0ab1b119aa76093f7d6af2d9ae3b34
https://github.com/kronosnet/kronosnet/commit/46770b817d0ab1b119aa76093f7d6…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 08549452cde5d5da424a8e0d2232fb55336d2802
https://github.com/kronosnet/kronosnet/commit/08549452cde5d5da424a8e0d2232f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: fa54d64ac5a39be82d377cb25f23555e96ebf61c
https://github.com/kronosnet/kronosnet/commit/fa54d64ac5a39be82d377cb25f235…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 27a53e263b7339b98b03bb935a2c1c9df3203a01
https://github.com/kronosnet/kronosnet/commit/27a53e263b7339b98b03bb935a2c1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: be9d053efafc822cabd696914d53b5dfe25fb4fd
https://github.com/kronosnet/kronosnet/commit/be9d053efafc822cabd696914d53b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 59fcf41215b1aaed0c633c895b79c5bd01c463a5
https://github.com/kronosnet/kronosnet/commit/59fcf41215b1aaed0c633c895b79c…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 5ccd634766f51addd0e5ad5174d788ea93920b02
https://github.com/kronosnet/kronosnet/commit/5ccd634766f51addd0e5ad5174d78…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 7752a64535d6d7a014232e1ee413f908b633447f
https://github.com/kronosnet/kronosnet/commit/7752a64535d6d7a014232e1ee413f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 867cf11f797f97ba3d8d8cb1b34e7a6ca5e72070
https://github.com/kronosnet/kronosnet/commit/867cf11f797f97ba3d8d8cb1b34e7…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: fecb56b22077c7de6dfd25a6f996d695b7af2a74
https://github.com/kronosnet/kronosnet/commit/fecb56b22077c7de6dfd25a6f996d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: 4ff24ae8a209456f47b7f3e01e6655feb3db3099
https://github.com/kronosnet/kronosnet/commit/4ff24ae8a209456f47b7f3e01e665…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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: e69b87db787c9d56354cc232f3459236412eb11a
https://github.com/kronosnet/kronosnet/commit/e69b87db787c9d56354cc232f3459…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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>
Commit: 2842693b03c1ad3741dd36f75f6ab10601ebf56b
https://github.com/kronosnet/kronosnet/commit/2842693b03c1ad3741dd36f75f6ab…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-03-01 (Fri, 01 Mar 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>
Compare:
https://github.com/kronosnet/kronosnet/compare/4bd0cc5cc524...2842693b03c1