nv-l
[Top] [All Lists]

[nv-l] TRAP special character handling

To: Netview <nv-l@lists.us.ibm.com>
Subject: [nv-l] TRAP special character handling
From: Jeff Fitzwater <jfitz@princeton.edu>
Date: Mon, 08 Dec 2003 16:37:01 -0500
Delivery-date: Mon, 08 Dec 2003 21:48:57 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Organization: OIT Systems & Networking
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
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>

Archive operated by Skills 1st Ltd

See also: The NetView Web