---
name: "straps"
section: "8"
platform: "linux"
package: "scotty"
version: "2.1.9-1"
release: "Debian 2.0 (Hamm)"
platforms: ["linux"]
url: "https://new.carta.tech/straps"
---

# straps(8)

A simple SNMP trap multiplexer.

```

```

## NAME

straps - A simple SNMP trap multiplexer.

## SYNOPSIS

**straps** \[ *port* \]

```

```

## DESCRIPTION

The **straps** trap daemon listens on the snmp-trap port (usually port 162/udp) for incoming SNMP trap or inform messages and forwards them to all connected clients (like **scotty**). The optional *port* argument allows to use the straps daemon to forward messages received on a non standard SNMP trap port. However, port numbers below 1024 will be rejected.

Clients connect to the **straps** daemon by opening the AF\_UNIX domain stream socket /tmp/.straps-*port*. Thus, the default AF\_UNIX domain stream socket is named /tmp/.straps-162.

Received messages are forwarded using the following format:

- 4 byte

  IP address of the sender (network-byte-order).

- 2 byte

  Port number of the sender (network byte order).

- 4 byte

  Length of the trap message (host-byte-order).

- n bytes

  The trap message itself.

The **straps** daemon must be installed setuid root because normal operating systems require root permissions to open the standard SNMP trap port 162/udp. The **straps** daemon rejects all *port* numbers below 1024 in order to protect the system security.

## SEE ALSO

[scotty(1)](/scotty/1.md), [tkined(1)](/tkined/1.md), Tnm(n)

## AUTHORS

Erik Schoenfelder \<schoenfr@gaertner.de\>\
 Juergen Schoenwaelder \<schoenw@cs.utwente.nl\>\
