package vmnet
No build informationInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=87568fc1714fced553843a3a534e9a92f7d328068051a815e22dded0350ea04e
sha512=be2c6b50ad6ac32e805315103eddfbe4ca77818ebe3f3c026cf3457718a76e2f67b92ab9513666912ddda0e2addbd5c9db5293d346adb3192b9bf9c8ebad6774
Description
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.
vmnetuses the XPC sandboxing interfaces and should make it easier to drop a hard dependency on running networking applications asroot.- Most significantly,
vmnetoptionally 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.
Added to opam-repository:
Dependencies (10)
- cstruct-unix
-
cstruct
>= "1.9.0" -
lwt
>= "2.4.3" - macaddr-sexp
-
macaddr
>= "4.0.0" - lwt-dllist
-
sexplib
>= "113.24.00" - ppx_sexp_conv
- dune
-
ocaml
>= "4.04"
Dev Dependencies
None
Optional Dependencies
None
Used by (1)
Conflicts
None
Build status
check.ci.ocaml.org has no results for any version of vmnet in its run of against opam-repository 8a77e58. check.ci only builds the packages that opam can install on its Linux image (Debian, x86_64). It leaves out packages for other systems, packages whose system library is missing from that image, and the packages that depend on them.