Comments (7)
@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.
I'm leaning towards using getifaddrs
let me know if you think something else would be better :)
from slirp4netns.
Just running slirp4netns without -c
might be fine?
from slirp4netns.
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.
@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.
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.
Not that I can think of. @amshinde @egernst anything?
from slirp4netns.
Related Issues (20)
- Instances aren't able to handle jumbo udp packets. HOT 1
- slirp4netns startup issue for path-based configuration
- Please change the "master branch to "main".
- Can't seem to filter packets from slirp4netns HOT 2
- Interaction with bwrap --dev HOT 1
- Load search domains from /etc/resolv.conf
- Rootless Podman can not create containers that bind to privileged (< 1024) ports HOT 3
- rootless Podman-compose containers cannot reach eachother HOT 1
- built-in dns broken with enable-sandbox HOT 1
- port is not bound on all IPs on the host when using --network=slirp4netns:port_handler=slirp4netns
- `--enable-sandbox` is not compatible with `--userns-path=... --netns-type=path` HOT 1
- Cannot pull images with rootless docker on openSUSE Tumbleweed HOT 2
- Access a service from the same ip:port in both a container and the host/lan (docker rootless) HOT 1
- [NixOS] Handling multi-layer and parent symlinks for `/etc/resolv.conf` HOT 2
- Consider supporting TUN in addition to TAP (may achieve better performance, slightly)
- How to configure port forwarding? HOT 1
- slirp4netns general protection fault
- nonroot binary install HOT 2
- outbound_addr is not applied HOT 1
- DNS server of slirp4netns only forwards to primary DNS server of Host system HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slirp4netns.