vmnetversion
MacOS X `vmnet` NAT networking
macOS 10.10 (Yosemite) introduced the somewhat undocumented vmnet
framework. This exposes virtual network interfaces to userland applications.
There are a number of advantages of this over previous implementations:
- Unlike tuntaposx, this is builtin to MacOS X now and so is easier to package up and distribute for end users.
vmnet
uses the XPC sandboxing interfaces and should make it easier to drop a hard dependency on running networking applications asroot
.- Most significantly,
vmnet
optionally supports NATing network traffic to the outside world, which was previously unsupported.
These OCaml bindings are constructed against the documentation contained
in the <vmnet.h>
header file in Yosemite, and may not be correct due to
the lack of any other example code. However, they do suffice to run
MirageOS applications that can connect to the
outside world.
Note the application must be configured to use DHCP: static IPs are not supported.
Author | Anil Madhavapeddy <anil@recoil.org> |
---|---|
License | ISC |
Published | |
Homepage | https://github.com/mirage/ocaml-vmnet |
Issue Tracker | https://github.com/mirage/ocaml-vmnet/issues |
Maintainer | Anil Madhavapeddy <anil@recoil.org> |
Available | os = "macos" |
Dependencies |
|
Source [http] | https://github.com/mirage/ocaml-vmnet/releases/download/v1.3.3/vmnet-v1.3.3.tbz sha256=193674c8b52f2b174ab29c0fde9e5ac0110321ea91c138368a0f7496e90b63f2 md5=8ac420162dd8462bfaf1d648cc94486a |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/vmnet/vmnet.1.3.3/opam |
Required by
- mirage-net-macosx<1.6.0