package charrua-core

  1. Overview
  2. No Docs
Charrua DHCP core library.

Install

Dune Dependency

Authors

Maintainers

Sources

v0.3.tar.gz
sha256=d3343cf878c53dbaf4a34c447ef4a81eaf7ca3555db50282db8a3ffcb25a648b
md5=194813e9826e8a55d3a315d5f42364e2

Description

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.

Published: 02 Apr 2016

Dependencies (12)

  1. tcpip >= "2.6.0" & < "3.0.0"
  2. ipaddr >= "2.5.0" & < "3.0.0"
  3. menhir
  4. sexplib
  5. cstruct-unix
  6. cstruct >= "1.9.0" & < "3.0.0"
  7. ppx_type_conv build
  8. ppx_sexp_conv
  9. ppx_cstruct
  10. ppx_deriving
  11. ocamlfind build
  12. ocaml >= "4.01"

Dev Dependencies

None

Used by (2)

  1. charrua-unix = "0.3"
  2. vpnkit < "0.1.1"

Conflicts

None

OCaml

Innovation. Community. Security.