Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Table entry is missing for VNET jails #343

Closed
KizzyCode opened this issue Feb 13, 2021 · 0 comments · Fixed by #559
Closed

[BUG] Table entry is missing for VNET jails #343

KizzyCode opened this issue Feb 13, 2021 · 0 comments · Fixed by #559
Labels
bug Something isn't working

Comments

@KizzyCode
Copy link

[MANDATORY] Describe the bug [MANDATORY]
Bastille does not create an entry in the pf-table jails when starting a VNET jail.

[MANDATORY] Bastille and FreeBSD version (paste bastille -v && freebsd-version -kru output)
0.8.20210115
12.2-RELEASE-p3
12.2-RELEASE-p3
12.2-RELEASE-p3

[MANDATORY] How did you install bastille? (port/pkg/git)
pkg

[optional] Steps to reproduce?
Create a new VNET jail using bastille create --vnet alcatraz 12.2-RELEASE 10.0.1.10/24 em0, then display the jails-table using pfctl -t jails -T show.

[optional] Expected behavior
Bastille should add the jail's IP to the jails-table upon start.

[optional] Screenshots
None

[optional] Additional context
My current workaround is to use nat on $ext_if from em0bridge:network to any -> $ext_if as generic rule, but a table based solution would be better IMO.
Maybe this bug is related to #80, however the bastille version used is much newer than 0.5.20191128.

@KizzyCode KizzyCode added the bug Something isn't working label Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant