Unix and Linux Discussions Tagged with trap |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
15,732 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
9,708 |
Shell Programming and Scripting |
|
|
|
5 |
3,748 |
Programming |
|
|
|
2 |
2,650 |
Shell Programming and Scripting |
|
|
|
4 |
3,338 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,227 |
Shell Programming and Scripting |
|
|
|
11 |
11,773 |
Shell Programming and Scripting |
|
|
|
5 |
3,330 |
Solaris |
|
|
|
4 |
7,744 |
Infrastructure Monitoring |
|
|
|
3 |
2,431 |
Shell Programming and Scripting |
|
|
|
11 |
13,212 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
122,812 |
Linux |
|
|
|
1 |
11,215 |
Shell Programming and Scripting |
|
|
|
3 |
4,386 |
Shell Programming and Scripting |
|
|
|
5 |
14,734 |
Shell Programming and Scripting |
|
|
|
0 |
3,566 |
Infrastructure Monitoring |
|
|
|
4 |
3,112 |
Shell Programming and Scripting |
|
|
|
3 |
8,153 |
Shell Programming and Scripting |
|
|
|
2 |
7,707 |
Shell Programming and Scripting |
|
|
|
2 |
8,701 |
Programming |
|
|
|
3 |
7,061 |
Shell Programming and Scripting |
|
|
|
1 |
4,993 |
Shell Programming and Scripting |
|
|
|
2 |
4,036 |
Shell Programming and Scripting |
|
|
|
6 |
2,280 |
Shell Programming and Scripting |
|
|
|
5 |
6,794 |
Shell Programming and Scripting |
|
|
|
2 |
6,527 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,222 |
Shell Programming and Scripting |
|
|
|
2 |
41,810 |
IP Networking |
|
|
|
4 |
12,530 |
Shell Programming and Scripting |
|
|
|
1 |
3,721 |
Shell Programming and Scripting |
|
|
|
3 |
19,994 |
Shell Programming and Scripting |
|
|
|
4 |
8,716 |
Solaris |
|
|
|
0 |
6,926 |
Solaris |
|
|
|
0 |
12,265 |
IP Networking |
|
|
|
4 |
1,853 |
Shell Programming and Scripting |
|
|
|
3 |
10,425 |
Filesystems, Disks and Memory |
|
|
|
1 |
8,905 |
Shell Programming and Scripting |
|
|
|
1 |
3,420 |
Shell Programming and Scripting |
|
|
|
3 |
14,552 |
Shell Programming and Scripting |
|
|
|
1 |
5,795 |
UNIX for Advanced & Expert Users |
straps(8) Tnm Tcl Extension 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 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 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>
Tnm straps(8)