straps(8)

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), tkined(1), Tnm(n)

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