Skip to content

Conversation

@mikeagun
Copy link
Contributor

Description

Describe the purpose of and changes within this Pull Request.
Please reference an issue with a keyword such as Fixes #abc, Closes #xyz, etc., so the work can be tracked.

Closes #4480

Testing

Do any existing tests cover this change? Are new tests needed?

Documentation

Is there any documentation impact for this change?

Installation

Is there any installer impact for this change?

@mikeagun mikeagun force-pushed the sockops-listen-hook branch from 0e28b52 to 04269d4 Compare August 13, 2025 21:04
@mikeagun mikeagun marked this pull request as ready for review August 13, 2025 21:05
@mikeagun mikeagun marked this pull request as draft August 13, 2025 21:05
BPF_SOCK_OPS_CONNECTION_DELETED_CB
BPF_SOCK_OPS_CONNECTION_DELETED_CB,
/** @brief Indicates when a connection transitions to the listening state. **/
BPF_SOCK_OPS_LISTEN_CB,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the difference between BPF_SOCK_OPS_LISTEN_CB vs BPF_SOCK_OPS_TCP_LISTEN_CB?
Linux headers say the latter is "Called on listen(2), right after socket transition to LISTEN state"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

netebpfext should hook listen() socket calls

2 participants