libjail-rs icon indicating copy to clipboard operation
libjail-rs copied to clipboard

VNET Jails

Open fabianfreyer opened this issue 6 years ago • 3 comments

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 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

fabianfreyer avatar Jun 26 '18 08:06 fabianfreyer