package mirage-nat

  1. Overview
  2. Docs
Mirage-nat is a library for network address translation to be used with MirageOS

Install

Dune Dependency

Authors

Maintainers

Sources

mirage-nat-3.0.2.tbz
sha256=675837a9bdbac7f4ba6ac62feaba135bbeebe35487cbb38637b328649fc4f08b
sha512=dc951a1ad3b832c60d9dfdece8d42cd8b19d62d8f412eb58e21384d68100cfa993b5542af451e6d18619c0e9a38d0677f4d346382d7881edf35dc3816faf9945

CHANGES.md.html

v3.0.2 (2023-03-20)

  • adapt to tcpip 8.0.0 API change (#49 @hannesm)

v3.0.1 (2022-11-08)

  • fix Mirage_nat.is_port_free and add a test (#48 @hannesm)

v3.0.0 (2022-10-09)

  • remove Lwt.t monad, lwt dependency (#47 @hannesm)

  • remove ppx_deriving dependency (#47 @hannesm)

  • revise mutable state: use "mutable foo : x" instead of "foo : x ref" (#47 @hannesm)

  • add Mirage_nat.is_port_free (#47 @hannesm)

  • revise Mirage_nat.add to take a port_generator (unit -> int option) (#47 @hannesm)

v2.2.5 (2021-12-15)

  • adapt to ethernet 3.0.0 and tcpip 7.0.0 changes (#46 @hannesm)

v2.2.4 (2021-10-27)

  • avoid deprecated Cstruct.len, use Cstruct.length (#45 @hannesm)

  • remove rresult dependency (#45 @hannesm)

  • raise lower OCaml version to 4.08.0 (#45 @hannesm)

  • remove stdlib-shims dependency (#45 @hannesm)

v2.2.3 (2020-11-30)

  • example: adapt to mirage 3.8 changes (#43 @hannesm)

  • tests: depend on tcpip.unix for tcpip 6.0.0 compatibility (#44 @hannesm)

v2.2.2 (2020-06-18)

  • Avoid stack overflow in remove_connections (#42 by @linse @hannesm, reported by @talex5 in mirage/qubes-mirage-firewall#105)

  • Compatibilty with ipaddr 5.0.0 (#41 by @hannesm)

v2.2.1 (2020-05-15)

  • Also report freed ICMP ports in remove_connections (#40 by @linse @hannesm)

v2.2.0 (2020-05-04)

  • Add remove_connections : t -> Ipaddr.V4.t -> { tcp : int list ; udp : int list } to drop all connections from the NAT table for the given IP address. (#39 by @linse @hannesm)

v2.1.0 (2020-02-18)

  • support tcpip 4.1.0, which Ipv4.Fragments interface changed from LRU.M to LRU.F

  • Mirage_nat_lru uses as well a LRU.F again

  • breaking: Nat_packet.of_ipv4_frame / of_ethernet_frame output a pair of Fragments.t * (t option, error) result

  • all in #37 by @hannesm

v2.0.0 (2019-12-19)

  • support IPv4 fragmentation and reassembly (#36, by @hannesm)

  • remove unused TIME and MCLOCK requirements (#33, by @yomimono)

  • MirageOS 3.7 support (#34, by @hannesm)

1.2.0 (2019-04-15)

  • properly support ICMP error handling, enabling path MTU discovery and traceroute (#26, by @linse and @yomimono)

  • adapt to lru 0.3.0 and use imperative map interface (#29, by @pqwy)

  • update opam files to version 2; remove unused bindings and magic numbers in example unikernels (#25, @hannesm)

1.1.0 (2019-03-17)

  • Depend on (and require) new ethernet and arp packages, and the new tcpip that goes with them. (#24, by @yomimono)

  • Expose and demonstrate a Nat_packet.into_cstruct function which is a nicer fit for the new write API for network functions. (#24, by @yomimono)

  • Port the build system to Dune. (#24, by @yomimono)

1.0.0 (2017-10-05)

  • Initial release.

OCaml

Innovation. Community. Security.