From 68d9503da0cf6209ddded786306c11441d40b6001a3ec61b0bbee1e18762f0be Mon Sep 17 00:00:00 2001 From: Marcus Rueckert <mrueckert@suse.com> Date: Sun, 5 Apr 2020 21:20:08 +0000 Subject: [PATCH] - Update to 0.6.0 OBS-URL: https://build.opensuse.org/package/show/server:dns/fstrm?expand=0&rev=10 --- fstrm-0.3.2.tar.gz | 3 --- fstrm-0.6.0.tar.gz | 3 +++ fstrm.changes | 46 ++++++++++++++++++++++++++++++++++++++++++++++ fstrm.spec | 18 ++++++++++++------ 4 files changed, 61 insertions(+), 9 deletions(-) delete mode 100644 fstrm-0.3.2.tar.gz create mode 100644 fstrm-0.6.0.tar.gz diff --git a/fstrm-0.3.2.tar.gz b/fstrm-0.3.2.tar.gz deleted file mode 100644 index cfa2ce9..0000000 --- a/fstrm-0.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d509999ac904e48c038f88820f47859da85ceb86c06552e4052897082423ec5 -size 439239 diff --git a/fstrm-0.6.0.tar.gz b/fstrm-0.6.0.tar.gz new file mode 100644 index 0000000..f260467 --- /dev/null +++ b/fstrm-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7049089eb0861ecaa21150a05613caa6dee4e8545b91191eff2269caa923910 +size 470862 diff --git a/fstrm.changes b/fstrm.changes index 016cb2c..6094474 100644 --- a/fstrm.changes +++ b/fstrm.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Sun Apr 5 21:11:31 UTC 2020 - Marcus Rueckert <mrueckert@suse.de> + +- Update to 0.6.0 + It adds a new feature for fstrm_capture. It can perform output + file rotation when a SIGUSR1 signal is received by fstrm_capture. + (See the --gmtime or --localtime options.) This allows + fstrm_capture's output file to be rotated by logrotate or a + similar external utility. (Output rotation is suppressed if + fstrm_capture is writing to stdout.) +- Changes from 0.5.0 + - Change license to modern MIT license for compatibility with + GPLv2 software. Contact software@farsightsecurity.com for + alternate licensing. + - src/fstrm_replay.c: For OpenBSD and Posix portability include + netinet/in.h and sys/socket.h to get struct sockaddr_in and the + AF_* defines respectively. + - Fix various compiler warnings. +- Changes from 0.4.0 + The C implementation of the Frame Streams data transport + protocol, fstrm version 0.4.0, was released. It adds TCP support, + a new tool, new documentation, and several improvements. + - Added manual pages for fstrm_capture and fstrm_dump. + - Added new tool, fstrm_replay, for replaying saved Frame Streams + data to a socket connection. + - Adds TCP support. Add tcp_writer to the core library which + implements a bi-directional Frame Streams writer as a TCP + socket client. Introduces new developer API: + fstrm_tcp_writer_init, fstrm_tcp_writer_options_init, + fstrm_tcp_writer_options_destroy, + fstrm_tcp_writer_options_set_socket_address, and + fstrm_tcp_writer_options_set_socket_port. + - fstrm_capture: new options for reading from TCP socket. + - fstrm_capture: add "-c" / "--connections" option to limit the + number of concurrent connections it will accept. + - fstrm_capture: add "-b / --buffer-size" option to set the read + buffer size (effectively the maximum frame size) to a value + other than the default 256 KiB. + - fstrm_capture: skip oversize messages to fix stalled + connections caused by messages larger than the read highwater + mark of the input buffer. Discarded messages are logged for the + purposes of tuning the input buffer size. + - fstrm_capture: complete sending of FINISH frame before closing + connection. + - Various test additions and improvements. + ------------------------------------------------------------------- Tue Jan 2 15:59:59 UTC 2018 - jengelh@inai.de diff --git a/fstrm.spec b/fstrm.spec index 99f58b0..c576144 100644 --- a/fstrm.spec +++ b/fstrm.spec @@ -1,7 +1,7 @@ # # spec file for package fstrm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,18 +12,18 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define c_lib libfstrm0 Name: fstrm -Version: 0.3.2 +Version: 0.6.0 Release: 0 Summary: Frame Streams implementation in C -License: Apache-2.0 +License: MIT Group: Development/Libraries/C and C++ -Url: https://github.com/farsightsec/fstrm +URL: https://github.com/farsightsec/fstrm Source: https://dl.farsightsecurity.com/dist/%{name}/%{name}-%{version}.tar.gz BuildRequires: libevent-devel >= 2 BuildRequires: pkgconfig @@ -81,11 +81,17 @@ rm %{buildroot}%{_libdir}/libfstrm.la %postun -n %{c_lib} -p /sbin/ldconfig %files -%doc ChangeLog README* COPYRIGHT LICENSE +%doc ChangeLog README* +%license COPYRIGHT LICENSE %{_bindir}/fstrm_capture %{_bindir}/fstrm_dump +%{_bindir}/fstrm_replay +%{_mandir}/man1/fstrm_capture.1* +%{_mandir}/man1/fstrm_dump.1* +%{_mandir}/man1/fstrm_replay.1* %files -n %{c_lib} +%license COPYRIGHT LICENSE %{_libdir}/libfstrm.so.* %files devel