Fedora-Remix-for-WSL
bypass4netns
Fedora-Remix-for-WSL | bypass4netns | |
---|---|---|
6 | 4 | |
770 | 149 | |
2.2% | 5.4% | |
4.5 | 6.0 | |
about 1 month ago | 6 days ago | |
C++ | Go | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Fedora-Remix-for-WSL
-
What is your favorite desktop environment?
At the risk of being downvoted to hell, but to offer a different perspective, my answer is, that my favorite DE for Linux (not only Fedora) is... Windows with WSL(g). I'm a huge Fedora fan, have installed it bare-metal, but use fedoraremix WSL distro almost exclusively. The problem with that solution is that it requires an absurdly huge amount of memory to work comfortably, so I admit, that it is not a good solution for any system with less than 32GB of RAM.
-
Fedora WSL Installer
You could download the msix bundle for fedora remix from Github or using winget: winget install --id whitewaterfoundry.fedora-remix-for-wsl
-
Podman v4.2.0 Released
BTW. I'm not using Ubuntu WSL, and I'm on fedoraremix instead - you can install it for free from https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/releases. As of now it installs Fedora 35, but you can upgrade it to 36 and there you have podman 4.2.0 available for install. Maybe it would solve some of your issues?
-
Podman 4.2.0
[2]: https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL
Disclaimer. I am not using Windows to test above solutions anymore. More than a year ago I used [2] but from a casual look maybe [1] is better now.
- Confused... and amazed.
-
First time I ever paid for fedora
Lol, you could have sideloaded it for free.
bypass4netns
-
Portspoof: Emulate a valid service on all 65535 TCP ports
https://github.com/rootless-containers/bypass4netns/ :
> [Experimental] Accelerates slirp4netns using SECCOMP_IOCTL_NOTIF_ADDFD. As fast as `--net=host`
Which is good, because --net=host with rootless containers is security inadvisable FWIU.
RunCVM, Kata containers, GVisor all have a better host/guest boundary than rootful or rootless containers; which is probably better for honeypot research on a different subnet.
IIRC there are various utilities for monitoring and diffing VMs, for honeypot research.
There could be a list of expected syscalls. If the simulated workload can be exhaustively enumerated, the expected syscalls are known ahead of time and so anomaly detection should be easier.
-
How to run an Nginx container with socket activation and rootless Podman? (I only got it working with a simplified Nginx container image)
Socket activation should be the fastest alternative as then there is no need to process and interpret the network traffic that is sent over the socket. Both slirp4netns and netavark process the traffic. If I understand correctly the network driver bypass4netns could have similar performance as socket activation. The current bypass4netns implementation has some security problems but it seems that could be fixed.
-
Podman 4.2.0
(That could a be cool feature)
Also interesting would be to fix the security considerations of using bypass4netns:
"However, it is probably possible to connect to host loopback IPs by exploiting TOCTOU of struct sockaddr * pointers."
There seems to be an implementation idea for how the problem could be fixed:
https://github.com/rootless-containers/bypass4netns/issues/2...
-
Minikube now supports rootless podman driver for running Kubernetes
The filesystem performance degradation was resolved in kernel 5.11 which added support for rootless overlayfs.
The network performance is caused by slirp (usermode TCP/IP) but it is being resolved too : https://github.com/rootless-containers/bypass4netns
What are some alternatives?
wslu - A collection of utilities for Windows Subsystem for Linux
podman-nginx-socket-activation - Demo of how to run socket-activated nginx with Podman. Source IP address is preserved.
wsldl - Advanced WSL launcher / installer. (Win10 FCU x64/arm64 or later.)
FedoraWSL - Fedora as a WSL Instance. Supports multiple install.
WSL-Context-Menu-Manager - Manages the context menu for your Linux tools in WSL/WSL2 for Windows.
docker-nginx - Official NGINX Dockerfiles