summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2018-09-18 15:14:07 +0000
committerclaudio <claudio@openbsd.org>2018-09-18 15:14:07 +0000
commit4b62fd1a4feb6fd740081eaf71e55b1137ffe60b (patch)
treeb1aab75114a01e6d0bf125f3e720e69903145de7 /lib
parentFix typo in previous: group_from_gid(st->st_gid, 1), not st_uid. (diff)
downloadwireguard-openbsd-4b62fd1a4feb6fd740081eaf71e55b1137ffe60b.tar.xz
wireguard-openbsd-4b62fd1a4feb6fd740081eaf71e55b1137ffe60b.zip
Backend for roa-sets. This combines as_sets and prefix-set tries to do
proper ROA checking. There is a new match function trie_roa_check which does a trie traversal and looks for candidates and matches. If prefix is not covered then ROA_UNKNOWN is returned, if prefix is covered by an entry it will return ROA_INVALID unless the source-as / maxlen combo is matching (ROA_VALID). OK and input sthen@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions