KatharaFramework / Kathara

A lightweight container-based network emulation system.
https://www.kathara.org/
GNU General Public License v3.0
462 stars 64 forks source link

Cannot disable IPv6 on devices. #293

Closed tcaiazzi closed 5 months ago

tcaiazzi commented 6 months ago

We noticed that some default values change (we are not sure if in Linux or Docker), creating problems while disabling IPv6 on Kathará devices. To solve the problem, we need to properly set the sysctl values assigned to a device when IPv6 is not enabled: https://github.com/KatharaFramework/Kathara/blob/dcb48fab680432e20479da27c1271506557222c5/src/Kathara/manager/docker/DockerMachine.py#L249-L254