Git Product home page Git Product logo

Comments (7)

gabibeyer avatar gabibeyer commented on August 15, 2024

@AkihiroSuda Do you have a preference for going about this?

I was looking into mounting sysfs, and checking if /sys/class/net/<tapname> exists, but I'm having some permission issues with mounting that. Or possibly, using iproute2 and getting the link name.

from slirp4netns.

gabibeyer avatar gabibeyer commented on August 15, 2024

I'm leaning towards using getifaddrs let me know if you think something else would be better :)

from slirp4netns.

AkihiroSuda avatar AkihiroSuda commented on August 15, 2024

Just running slirp4netns without -c might be fine?

from slirp4netns.

AkihiroSuda avatar AkihiroSuda commented on August 15, 2024

gabibeyer@e776a48 is likely to break RootlessKit, which runs ip tuntap add ... before running slirp4netns (without -c).

https://github.com/rootless-containers/rootlesskit/blob/93164c4427c9c75aa3199b8baa5005ce9adfcd69/pkg/network/slirp4netns/slirp4netns.go#L101
https://github.com/rootless-containers/rootlesskit/blob/93164c4427c9c75aa3199b8baa5005ce9adfcd69/pkg/network/parentutils/parentutils.go#L13

from slirp4netns.

gabibeyer avatar gabibeyer commented on August 15, 2024

@AkihiroSuda You were right, this is not necessary! The issues I was having were podman related, and the bug fix did the trick. Thank you - closing this.

from slirp4netns.

AkihiroSuda avatar AkihiroSuda commented on August 15, 2024

Do you have other feature proposals for v0.4.0 GA?
If not I think we can release v0.4.0 after some testing

from slirp4netns.

gabibeyer avatar gabibeyer commented on August 15, 2024

Not that I can think of. @amshinde @egernst anything?

from slirp4netns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.