microsoft / microsoft/ebpf-for-windows

Add hook for socket redirection.

Open
#785 0 comments 0 reactions 0 assignees View on GitHub
help wanted triaged
Dominant language
C
Stars
3.6k
Forks
311
Avg merge
6d 10h
Merged PRs (30d)
21

Description

Some documentation at section 1.3 of https://blogs.oracle.com/linux/post/bpf-a-tour-of-program-types.

Program types:
- [ ] `BPF_PROG_TYPE_SK_SKB`
- [ ] `BPF_PROG_TYPE_SK_MSG`

Attach types:
- [ ] `BPF_SK_SKB_STREAM_PARSER`
- [ ] `BPF_SK_SKB_STREAM_VERDICT`
- [ ] `BPF_SK_MSG_VERDICT`

These are used for socket redirection. Related to #678 and #784.

Contributor guide

Open the contributing guide

Research direction

Start by reading section 1.3 of the linked Oracle article to understand the listed socket-redirection program and attach types. Review related issues #678 and #784 for existing context, then locate the project's current hook support. Done means the requested socket-redirection hooks are supported and covered by the relevant project tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.