Skip to content

Releases: mirage/mirage-tcpip

v3.5.1

16 Nov 11:20
Compare
Choose a tag to compare

CHANGES:

  • socket stack (tcp/udp): catch exception in recv_from and accept (#376 @hannesm)
  • use mirage-random-test for testing (Stdlibrandom got removed from mirage-random>1.2.0, #377 @hannesm)

v3.5.0

16 Sep 18:55
Compare
Choose a tag to compare

v3.5.0 (2018-09-16)

  • Ipv4: require Mirage_random.C, used for generating IPv4 identifier instead of using OCaml's stdlib Random directly (#371 @hannesm)
  • Tcp: use entire 32 bits at random for the initial sequence number, thanks to Spencer Michaels and Jeff Dileo of NCC Group for reporting (#371 @hannesm)
  • adjust to mirage-protocols 1.4.0 and mirage-stack 1.3.0 changes (#371 @hannesm)
    Arp no longer contains the type alias ethif
    Ethif no longer contains the type alias netif
    Static_ipv4 no longer contains the type alias ethif and prefix
    Ipv6 no longer contains the type alias ethif and prefix
    Mirage_protocols_lwt.IPV4 no longer contains the type alias ethif
    Mirage_protocols_lwt.UDPV4 and TCPV4 no longer contain the type alias ip
  • remove unused types: 'a config, netif, and id from socket and direct stack (#371 @hannesm)
  • remove usage of Result, depending on OCaml >= 4.03.0 (#372 @hannesm)

v3.4.2

22 Jun 22:29
5988b5a
Compare
Choose a tag to compare

Note the use of the new TCP keep-alive feature can cause excessive amounts
of memory to be used in some circumstances, see
#367

  • Ensure a zero UDP checksum is sent as 0xffff, not 0x0000 (#359 @stedolan)
  • Avoid leaking a file descriptor in the socket stack if the connection fails (#363 @hannesm)
  • Avoid raising an exception with Lwt.fail when write fails in the socket stack (#363 @hannesm)
  • Ignore EBADF errors in close in the socket stack (#366 @hannesm)
  • Emit a warning when TCP keep-alives are used (#368 @djs55)

tcp_socket_options fix

09 Mar 12:46
Compare
Choose a tag to compare

TCP improvements

15 Feb 15:57
75f951c
Compare
Choose a tag to compare

v3.3.1

09 Nov 16:45
65030ba
Compare
Choose a tag to compare
  • Add an example for user-space ping, and some socket ICMPv4 fixes (#336 @djs55)
  • Make tcpip safe-string-safe (and buildable by default on OCaml 4.06.0) (#341 @djs55)

v3.3.0

08 Aug 18:59
Compare
Choose a tag to compare

v3.3.0 (2017-08-08)

port to Jbuilder

26 Jun 18:58
Compare
Choose a tag to compare

Port to jbuilder. Build time is now roughly 4-5x faster than the old oasis-based build system. Packs have been replaced with module aliases.

Avoid linking PPX into the generated binaries

12 Jun 15:39
Compare
Choose a tag to compare
  • avoid linking to cstruct.ppx in the compiled library and only use it at build time (#316 @djs55)
  • use improved packet size support in mirage-vnetif>=0.4.0 to test the MTU fixes in #313.

Unpin TCP MSS

23 May 15:31
Compare
Choose a tag to compare
  • involve the IP layer's MTU in the TCP MSS calculation (hopefully correctly) (#313, by @yomimono)