Skip to content

Releases: mirage/mirage-tcpip

8.0.1

26 Mar 14:58
Compare
Choose a tag to compare

CHANGES:

  • TCP: add src : flow -> ipaddr * int, implemented by getsockname on unix
    (#511 @hannesm)
  • TCP unix stack: increase TCP buffer size (was 4096, is now 65536)
    (#510 @edwintorok)
  • TCP: adapt to mirage-flow 4.0:
    add val shutdown : flow -> [ `read | `write | `read_write ] -> unit Lwt.t
    (#512 @hannesm, review by @djs55)

8.0.0

17 Mar 21:59
Compare
Choose a tag to compare

CHANGES:

  • TCP: add ID for PCB for connection tracking (#495 @TheLortex)

  • Unix stack, UDP: copy buffer before passing it to client (#502 @reynir)

  • API renamings (due to ppx_cstruct removal): accessors such as
    Icmpv4_wire.get_icmpv4_ty are now Icmpv4_wire.get_ty ("_icmpv4" is removed)
    (#505)

  • Use Cstruct.to_string instead of deprecated Cstruct.copy (#506 @hannesm)

  • Remove ppx_cstruct dependency (#505 @hannesm)

  • Remove mirage-profile dependency (#504 @hannesm)

  • Remove Mirage3 cross-compilation runes (#507 @hannesm)

  • opam: add lower bounds for cmdliner and alcotest (#506 @hannesm)

7.1.2

27 Jul 13:38
efbebdf
Compare
Choose a tag to compare

CHANGES:

  • TCP: fix memory leaks on connection close in three scenarios (#489 @TheLortex)
    • simultanous close: set up the timewait timer in the Closing(1) - Recv_ack(2) -> Time_wait
      state transition
    • client sends a RST instead of a FIN: enable sending a challenge ACK even when the reception
      thread is stopped
    • client doesn't ACK server's FIN: enable the retransmit timer in the Closing(_) state

7.1.1

24 May 09:11
Compare
Choose a tag to compare

CHANGES:

  • Ndpv6: demote more logs to debug level (#480 @reynir)
  • Ndpv6: set RS opt header (#482 @reynir)
  • Icmpv6: add redirect parsing (#481 @reynir)
  • Improve log messages of connect and disconnect of various layers and stacks:
    separate IP addresses with ", " (#485 @hannesm)
  • TCP log sources: prefix "tcp" to distinguish them (#484 @reynir)

7.1.0

23 Mar 15:41
Compare
Choose a tag to compare

CHANGES:

7.0.1

17 Dec 16:31
Compare
Choose a tag to compare

CHANGES:

7.0.0

10 Dec 18:29
3ab30ab
Compare
Choose a tag to compare

CHANGES:

  • Fix memory leak in processing RST packets (#460 @balrajsingh, reported in
    #456 by @dinosaure)
  • Move module types (IP, UDP, TCP, STACK, ICMP) into tcpip core library
    (#463 @hannesm)
  • API breakage: Tcpip_checksum is now part of tcpip.checksum (used to be
    part of tcpip #463 @hannesm)
  • API breakage: tcpip.unix has been removed (#463 @hannesm)
  • Use Lwt.pause instead of deprecated Lwt_{unix,main}.yield (#461 @dinosaure)

6.4.0

11 Nov 11:19
6681eda
Compare
Choose a tag to compare

CHANGES:

  • Adapt to mirage-protocols 6.0.0 API (#457 @hannesm)
  • TCP and UDP now have a listen and unlisten function (fixes #452)
  • type ipinput (in TCP and UDP) and listener (in TCP) have been removed

6.3.0

25 Oct 17:23
Compare
Choose a tag to compare

CHANGES:

v6.2.0

19 Jul 20:50
Compare
Choose a tag to compare

CHANGES:

  • This allows to listen on the same port as sending via UDP in the dual socket
    stack, and avoids file descriptor leaks in the socket stack.
  • Socket stack: avoid file descriptor leaks (remember opened file descriptors in
    data structure, close them in disconnect)
    (#449 @reynir @hannesm, fixes #446 #450)
  • Socket stack: convert an incoming packet on a dual socket to v4 source IP if
    received via IPv4 (#451 @reynir @hannesm)
  • Allow freestanding compilation without opam (#447 @sternenseemann)
  • Adapt to alcotest 1.4.0 breaking change (#448 @craigfe)