libjail-rs
libjail-rs copied to clipboard
VNET Jails
Roadmap:
- [X] fix current saving non-VNET jails (#34)
- [X] add check whether VIMAGE is enabled, by checking whether
kern.features.vimage
sysctl exists and is set to 1 (https://github.com/fubarnetes/libjail-rs/commit/c163a6af385f43bea85dc9d87709a1b1ebaa227f)- [ ] When https://github.com/johalun/sysctl-rs/pull/21 is merged, use that.
- [ ] add support for
E,jailsys
tri-state parameters, and add handling forvnet
parameter- [X] Add type to enums (https://github.com/fubarnetes/libjail-rs/commit/0bda407be558511a585536ffa649745f02151a5f)
- [x] wait for https://github.com/johalun/sysctl-rs/issues/19 to be merged or https://github.com/johalun/sysctl-rs/issues/18 to be fixed some other way
- [ ] Set a sane default (probably
disable
) & verify it works withVIMAGE
disabled - [ ] verify no IP restrictions are set when
vnet
is notdisable
.
- [ ] Handle adding epairs / vnets to the jail
- [ ] Add support for
vnet
tolib(private)ifconfig
- [ ] Add support for