Skip to content

Releases: network-analytics/udp-notif-c-collector

v0.6.1

15 Jun 12:51
Compare
Choose a tag to compare

Changes

  • Add --force flag to autoreconf in bootstrap
  • Include unyte_udp_constants.h in unyte_udp_utils.h
  • Include unyte_udp_defaults.h in unyte_udp_collector.h
  • Include VERSION file in configure.ac to force autotools reconfiguration during version bump

v0.6.0

07 Jun 07:43
3e89d7c
Compare
Choose a tag to compare

Changes

  • Utils function to create a socket bound directly to the interface
  • Examples for interface bound socket
  • API changes to align library terms with the new draft-ietf-netconf-udp-notif-06 draft:
    • Getters:
      • unyte_udp_get_generator_id(unyte_seg_met_t *msg) -> unyte_udp_get_observation_domain_id(unyte_seg_met_t *msg)
      • unyte_udp_get_encoding_type(unyte_seg_met_t *msg) -> unyte_udp_get_media_type(unyte_seg_met_t *msg)
    • unyte_message_t struct, changed attribute names:
      • encoding_type -> media_type
      • generator_id -> observation_domain_id
    • unyte_header_t struct, changed attribute names:
      • encoding_type -> media_type
      • generator_id -> observation_domain_id
    • Constants name changed:
      • UNYTE_ENCODING_RESERVED -> UNYTE_MEDIATYPE_RESERVED
      • UNYTE_ENCODING_JSON -> UNYTE_MEDIATYPE_YANG_JSON
      • UNYTE_ENCODING_XML -> UNYTE_MEDIATYPE_YANG_XML
      • UNYTE_ENCODING_CBOR -> UNYTE_MEDIATYPE_YANG_CBOR

v0.5.2

29 Nov 17:06
Compare
Choose a tag to compare

Changes

  • Custom options supported (only in new UDP-notif protocol)
    • publisher can generate a UDP-notif with custom options and private encodings
    • collector can parse and get a linked list with the multiple custom options
  • Add globalised header with all defaults values
  • Parsed destination IP became optional for performance issues. Activate options.msg_dst_ip if needed.
  • IPv6 support on sender now uses getaddrinfo
  • Support legacy protocol: draft-ietf-netconf-udp-pub-channel-05
  • Add CBOR publisher example

v0.5.1

30 Aug 15:08
bbbb8f5
Compare
Choose a tag to compare

Changes

  • Add a client example for a custom socket with an eBPF load balancer
  • API change:
    • first need to initialise socket using unyte_udp_create_socket() and then initialise collector passing it as options using unyte_udp_start_collector().
    • Starting directly a collector from an IP/port is deprecated

v0.5.0 Stable

06 Aug 08:02
2f93551
Compare
Choose a tag to compare

Changes

  • Monitoring thread: packets statistics every X seconds if activated
  • Prepend unyte_udp to some functions to avoid conflict with other libraries
  • Prepend unyte_udp to all getters to avoid conflicts
  • Major api changes to avoid conflicts with https-notif upcoming library:
    • Rename queue.h to unyte_udp_queue.h
    • Rename unyte_utils.h to unyte_udp_utils.h
    • Rename unyte_collector.h to unyte_udp_collector.h
    • Rename struct unyte_collector_t to unyte_udp_collector_t
    • Rename struct unyte_options_t to unyte_udp_options_t to avoid conflict with https-notif collector
    • Rename api unyte_start_collector() to unyte_udp_start_collector()
    • Rename queue_t to unyte_udp_queue_t
  • Usage of autotools to package and install
  • Support of IPv6
  • Collector options: port type changed to char *
  • Add new api, message returns sockaddr_storage instead of IP/port
    • struct sockaddr_storage *unyte_udp_get_src(unyte_seg_met_t *message);
    • struct sockaddr_storage *unyte_udp_get_dest_addr(unyte_seg_met_t *message)
  • Add new api, creating a collector from a existing socket:
    • unyte_udp_collector_t *unyte_udp_start_collector_sk(unyte_udp_sk_options_t *options);

v0.4.1

06 Aug 08:11
Compare
Choose a tag to compare

Changes

  • Use of autotools for packaging and install
  • Monitoring queue
  • Install documentation improved
  • Prepend unyte_udp_ on the API to avoid conflict with incoming https-notif library

v0.4.0 Stable

20 Apr 14:32
Compare
Choose a tag to compare

Changes

  • Install goal in makefile : build of a shared library and install in local
  • Uninstall scripts
  • Library parameters changeable from instantiation
  • UDP-notif sender: UDP-notif protocol generator api
  • Version api to get version