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] tri-state parameters, and add handling for `vnet` 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 with `VIMAGE` disabled - [ ] verify no IP restrictions are set when `vnet` is not `disable`. - [ ] Handle adding epairs / vnets to the jail - [ ] Add support for `vnet` to `lib(private)ifconfig` [tri-state]: https://docs.freebsd.org/cgi/getmsg.cgi?fetch=5133+0+archive/2009/freebsd-jail/20090726.freebsd-jail
Roadmap:
kern.features.vimagesysctl exists and is set to 1 (c163a6a)E,jailsystri-state parameters, and add handling forvnetparameterdisable) & verify it works withVIMAGEdisabledvnetis notdisable.vnettolib(private)ifconfig