Skip to content

Conversation

appcypher
Copy link
Member

When using scope 1 (Group) for IP filtering, subnet specification is now optional. If no subnet is provided, all connections will be blocked, matching scope 0 behavior. This provides more flexibility in network configuration while maintaining security.

  • Update IpFilterConfig to make subnet optional for scope 1
  • Modify is_valid() to accept scope 1 without subnet
  • Update documentation in libkrun.h to clarify scope behaviors
  • Improve warning message specificity in VsockMuxer creation

When using scope 1 (Group) for IP filtering, subnet specification is now
optional. If no subnet is provided, all connections will be blocked,
matching scope 0 behavior. This provides more flexibility in network
configuration while maintaining security.

- Update IpFilterConfig to make subnet optional for scope 1
- Modify is_valid() to accept scope 1 without subnet
- Update documentation in libkrun.h to clarify scope behaviors
- Improve warning message specificity in VsockMuxer creation
@appcypher appcypher merged commit 0d8bff4 into develop Apr 1, 2025
appcypher added a commit that referenced this pull request Jun 8, 2025
When using scope 1 (Group) for IP filtering, subnet specification is now
optional. If no subnet is provided, all connections will be blocked,
matching scope 0 behavior. This provides more flexibility in network
configuration while maintaining security.

- Update IpFilterConfig to make subnet optional for scope 1
- Modify is_valid() to accept scope 1 without subnet
- Update documentation in libkrun.h to clarify scope behaviors
- Improve warning message specificity in VsockMuxer creation
appcypher added a commit that referenced this pull request Jun 26, 2025
When using scope 1 (Group) for IP filtering, subnet specification is now
optional. If no subnet is provided, all connections will be blocked,
matching scope 0 behavior. This provides more flexibility in network
configuration while maintaining security.

- Update IpFilterConfig to make subnet optional for scope 1
- Modify is_valid() to accept scope 1 without subnet
- Update documentation in libkrun.h to clarify scope behaviors
- Improve warning message specificity in VsockMuxer creation
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.

1 participant