1fstrm_replay(1)             General Commands Manual            fstrm_replay(1)
2
3
4

NAME

6       fstrm_replay - Replay saved Frame Streams data to a socket connection.
7
8

SYNOPSIS

10       fstrm_replay -t content-type -r file [ -r file ... ]
11            [ -u socket-path ] [ -a IP -p port ]
12
13
14       fstrm_replay --type content-type
15            --read file [ --read file ... ]
16            [ --unix socket-path ] [ --tcp IP --port port ]
17
18

DESCRIPTION

20       fstrm_replay  connects  to a Frame Streams receiver on either the given
21       UNIX domain socket-path or TCP address and port, then reads  and  sends
22       data of the supplied content-type from the given file(s).
23
24

OPTIONS

26       -t content-type | --type content-type
27              Specify  the  content-type  to  read  from files and send to the
28              Frame  Streams  socket.  Files  whose  content-type  differ  are
29              skipped.  If the socket server does not accept the content-type,
30              fstrm_replay will fail.
31
32
33       -r file | --read file
34              Read data from file. Multiple files can be given  with  multiple
35              -r  options.  Files  which  cannot  be opened, or do not contain
36              valid Frame Streams data will be skipped.
37
38
39       -u socket-path | --unix socket-path
40              Connect to Unix domain socket-path to write Frame Streams  data.
41              Only one of -u or -a may be given.
42
43
44       -a IP | --tcp IP
45              Connect  to TCP address IP to write Frame Streams data. Only one
46              of -u or -a may be given. Use of -a requires a port  given  with
47              -p.
48
49
50       -p port | --port port
51              If -a is given, use TCP port port to write Frame Streams data.
52
53

EXAMPLES

55       Replay dnstap data over UNIX domain socket:
56
57            fstrm_replay -t protobuf:dnstap.Dnstap \
58                 -u /var/run/named/dnstap.sock -r dnstap-log.fstrm
59
60

SEE ALSO

62       fstrm_capture(1), fstrm_dump(1),
63       Frame Streams C Library https://farsightsec.github.io/fstrm
64
65
66
67                                                               fstrm_replay(1)
Impressum