-
Notifications
You must be signed in to change notification settings - Fork 145
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
Fix bastille0 loopback IPv6 support #727
base: master
Are you sure you want to change the base?
Conversation
usr/local/share/bastille/start.sh
Outdated
ips=$(bastille config "${_jail}" get ip4.addr) | ||
ips="${ips} $(bastille config "${_jail}" get ip6.addr)" | ||
for ip in ${ips}; do | ||
ip=$(printf "$ip" | sed -E 's,/[0-9]+,,') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pfctl -t jails -Tadd <IP>/<CIDR>
actually adds the network, not the IP.
@foudfou this one has conflicts also. Please clean up so I can test. |
2cf7462
to
990bf94
Compare
@bmac2 rebased. |
2b2abe0
to
cdba7c6
Compare
@bmac2 rebased again 😁 |
@foudfou one more rebase please. Will try to get this one reviewed and merged before needing another rebase. :-) |
Sorry @bmac2 I won't be able to work on this for a while. Feel free to close. |
This PR makes sure that, for jails created with
<jails>
pf table