straps(8) Tnm Tcl Extension straps(8)_________________________________________________________________NAMEstraps - A simple SNMP trap multiplexer.
SYNOPSISstraps [ port ]
_________________________________________________________________DESCRIPTION
The straps trap daemon listens on the snmp-trap port (usu-
ally port 162/udp) for incoming SNMP trap or inform mes-
sages 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 stan-
dard 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 for-
mat:
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 ALSOscotty(1), tkined(1), Tnm(n)AUTHORS
Erik Schoenfelder <schoenfr@gaertner.de>
Juergen Schoenwaelder <schoenw@cs.utwente.nl>
Tnm 1