Re: [Q]: non 162 straps & straps under NT

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Fri, 17 Jan 1997 13:33:02 +0100

Brian Meagher <bmeagher@eurologic.ie> said:

Brian> As I mentioned above I do need a trap expander. :-(

OK, lets see if can create one for all platforms..

Brian> Hmmm. Assuming that I use a TCP port to act as the channel to
Brian> straps clients, I now see two (other) solutions:

Brian> No. 1 No straps required under NT
Brian> ===================================

[...]

Brian> However, this isn't very clean & we still require straps (or
Brian> nmtrapd) under UNIX. We could decide to use straps only for
Brian> 162 under UNIX and use the "inlined" straps shown above for
Brian> non-privileged ports under UNIX and all ports under NT.

The problem with this approach to dynamically select one of the Tnm
processes as a forwarder is that a process might be blocked for
arbitrary amounts of time. So traps will not get forwarded and it is
even possible that traps are discarded due to buffer overflows or
because the Tnm process exits without cleaning up the UDP input
queue. I think this solution does not work very well.

Brian> No. 2 Single service under NT
Brian> ===============================

Brian> straps could be rewritten, using a single TCP port number as
Brian> the connect address for clients that inform the server what
Brian> UDP port numbers they want to receive traps from. This will
Brian> increase the complexity of the straps trap forwarder from 1-N
Brian> to N-N, but once this code was wrapped in a service it could
Brian> also be used in NT and only a single service need be
Brian> installed. Under UNIX only a single straps process need run.

I never installed a self-written service on NT or '95, so I am not
100% sure if I understand the implications. However, it should be not
big deal to make nmtrapd a n-M forwarder on the UNIX side using a TCP
socket (and it solves some portability issues on UNIX boxes that don't
have UNIX domain sockets like SCO). I start to like this idea. I will
think over it during the weekend.

Juergen

-- 
Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw
Computer Science Department, University of Twente,   (Fax: +31-53-489-3247)
P.O. Box 217, NL-7500 AE Enschede, The Netherlands.  (Tel. +31-53-489-3678)
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.