nv-l

[nv-l] TRAP special character handling

2003-12-08 16:48:56
Subject: [nv-l] TRAP special character handling
From: Jeff Fitzwater <jfitz AT princeton DOT edu>
To: Netview <nv-l AT lists.us.ibm DOT com>
Date: Mon, 08 Dec 2003 16:37:01 -0500
NV 7.14
Sol 8

I use a script to alert me of duplicate MAC address on router interfaces, by running script via the RULESET.

The trap contains the  address of the mac thief in CISCO format ie.. "0030.6537.6231".

This is passed to script as variable.

When I receive the trap via email/pager it shows up with the backslash before each "decimal point", as the Netview documentation indicates it would.   "0030\.6537\.6231"

Q1  If I just use SED to replace the "\." with "." in my script that is run from the RULESET via ovactionsvr,  isn't this just circumventing the security hole?  The doc states that the ovactionsvr ESCAPES the "-" and "." characters;  My scripts removes the ESCAPE or is it SAFE at this point.

I know I can disable this feature but choose not too.
 

Thanks for any help.
 
 

Jeff Fitzwater
OIT Systems & Networking
Princeton University
 
 

<Prev in Thread] Current Thread [Next in Thread>