package vmnet
No build informationInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=e581e451875f45019782c83bee78065db0d85d0616c56dfc4d3a75d1b66cf886
md5=1192b96a6c1b87a2eb843c59d23368db
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 (8)
- cstruct-unix
-
cstruct
>= "1.9.0" -
lwt
>= "2.4.3" -
ipaddr
>= "1.4.0" & < "3.0.0" -
sexplib
>= "113.24.00" - ppx_sexp_conv
- dune
-
ocaml
>= "4.04"
Dev Dependencies
None
Optional Dependencies
None
Used by (1)
-
mirage-net-macosx
< "1.6.0"
Conflicts
None
Build status
check.ci.ocaml.org has no results for any version of vmnet in its run of against opam-repository 7cdc698. 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.