microsoft / microsoft/ebpf-for-windows

Add multi-attach and inter-op tests for CONNECTION_AUTHORIZATION hook

Open
#5,214 2 comments 0 reactions 1 assignee Claimed by @Alan-Jowett View on GitHub
enhancement P2 tests triaged
Dominant language
C
Stars
3.6k
Forks
311
Avg merge
6d 10h
Merged PRs (30d)
21

Description

I think we should also add tests for these 2 scenarios:

1. Multiple programs attached to CONNECTION_AUTHORIZATION hook, with different attach params. For example: total 4 programs, 2 with specific attach params (compartment ID=1) and 2 with wildcard attach params. `multi_attach_test()` implements similar test for existing connect hook.
2. Attaching programs for both types -- original CONNECT and CONNECTION_AUTHORIZATION, and permutating all combinations of verdicts.

_Originally posted by @saxena-anurag in https://github.com/microsoft/ebpf-for-windows/pull/4750#discussion_r3016837630_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.