dankamongmen / libnetstack

Small library around rtnetlink to track networking stack elements
https://nick-black.com/dankwiki/index.php/Libnetstack
Apache License 2.0
10 stars 0 forks source link

Modify unit tests to create a network namespace and operate therein #22

Open dankamongmen opened 5 years ago

dankamongmen commented 5 years ago

We currently have some tests that rely on properties or actions of the host system, all of them beyond our control. To do this reliably, we ought work in our own network namespace. See what we can do here, though note that a network namespace requires CAP_NET_ADMIN privileges. :/