fstrm\_replay(1) General Commands Manual fstrm\_replay(1)

# [NAME](#NAME)

fstrm\_replay - Replay saved Frame Streams data to a socket connection.

# [SYNOPSIS](#SYNOPSIS)

**fstrm\_replay -t *content-type* -r *file* \[ -r *file* ... ]**  
**\[ -u *socket-path* ] \[ -a *IP* -p *port* ]**

**fstrm\_replay --type *content-type***  
**--read *file* \[ --read *file* ... ]**  
**\[ --unix *socket-path* ] \[ --tcp *IP* --port *port* ]**

# [DESCRIPTION](#DESCRIPTION)

**fstrm\_replay** connects to a Frame Streams receiver on either the given UNIX domain *socket-path* or TCP *address* and *port*, then reads and sends data of the supplied *content-type* from the given *file(s)*.

# [OPTIONS](#OPTIONS)

[**-t *content-type* | --type *content-type***](#t)

Specify the *content-type* to read from files and send to the Frame Streams socket. Files whose content-type differ are skipped. If the socket server does not accept the *content-type*, **fstrm\_replay** will fail.

[**-r *file* | --read *file***](#r)

Read data from *file*. Multiple files can be given with multiple **-r** options. Files which cannot be opened, or do not contain valid Frame Streams data will be skipped.

[**-u *socket-path* | --unix *socket-path***](#u)

Connect to Unix domain *socket-path* to write Frame Streams data. Only one of **-u** or **-a** may be given.

[**-a *IP* | --tcp *IP***](#a)

Connect to TCP address *IP* to write Frame Streams data. Only one of **-u** or **-a** may be given. Use of **-a** requires a port given with **-p**.

[**-p *port* | --port *port***](#p)

If **-a** is given, use TCP port *port* to write Frame Streams data.

# [EXAMPLES](#EXAMPLES)

Replay dnstap data over UNIX domain socket:

```
	fstrm_replay -t protobuf:dnstap.Dnstap \
		-u /var/run/named/dnstap.sock -r dnstap-log.fstrm
```

# [SEE ALSO](#SEE_ALSO)

[**fstrm\_capture**(1)](/man/os/fstrm/fstrm_capture.1), [**fstrm\_dump**(1)](/man/os/fstrm/fstrm_dump.1),  
Frame Streams C Library **https://farsightsec.github.io/fstrm**

---

Document: fstrm_replay(1) from fstrm 0.6.1-r6 (Chainguard OS)
Source: https://github.com/farsightsec/fstrm
