charrua-core

Author Christiano F. Haesbaert <haesbaert@haesbaert.org>
License ISC
Homepage https://github.com/mirage/charrua-core
Issue Tracker https://github.com/mirage/charrua-core/issues
Maintainer Christiano F. Haesbaert <haesbaert@haesbaert.org>
Dependencies
& cstruct >= 1.9.0
io-page
ipaddr >= 2.5.0
menhir
ocamlbuild
ocamlfind
ppx_deriving
ppx_sexp_conv
ppx_tools
rresult
sexplib
tcpip >= 3.1.0
topkg
Available ocaml-version >= "4.03" & opam-version >= "1.2"
Published Mar 14, 2017
Source [http] http://github.com/mirage/charrua-core/releases/download/v0.5/charrua-core-0.5.tbz
e722882d95dd898454bdb3d6c12048a4
Statistics Installed 28 times in last month.
Edit https://github.com/ocaml/opam-repository/tree/master/packages/charrua-core/charrua-core.0.5/opam

Charrua DHCP core library.

charrua-core is an ISC-licensed DHCP library implementation in ocaml.

It provides basically two modules, a Dhcp responsible for parsing and constructing DHCP messages and a Dhcp_server module used for constructing DHCP servers.

charrua-unix is a Unix DHCP server based on charrua-core.

mirage is a Mirage DHCP unikernel server based on charrua-core.

You can browse the API for [charrua-core] at http://haesbaert.github.io/charrua-core/api

Features

  • Dhcp_server supports a stripped down ISC dhcpd.conf, so you can probably just use your old dhcpd.conf, it also supports manual configuration building in ocaml.
  • Logic/sequencing is agnostic of IO and platform, so it can run on Unix as a process, as a Mirage unikernel or anything else.
  • Dhcp_wire provides marshalling and unmarshalling utilities for DHCP, it is the base for Dhcp_server.
  • All DHCP options are supported at the time of this writing.
  • Code is purely applicative.
  • It's in ocaml, so it's pretty cool.

The name charrua is a reference to the, now extinct, semi-nomadic people of southern South America.

This project became one of the [Mirage Pioneer] (https://github.com/mirage/mirage-www/wiki/Pioneer-Projects) projects.

Necessary for
charrua-client
charrua-unix
| & >= 0.2
0.4
>= 0.5
vpnkit