Friday Jul 16, 2010

nmap 5.35DC1 Compile on OpenSolaris

The formal OpenSolaris offering of nmap is out of date, and nmap 5.35DC1 has been released. I found that a small patch to libnetutil was needed to get a compile.

$ bunzip2 -c nmap-5.35DC1.tar.bz2 | tar -xf - $ patch -p1 nmap-5.35DC1.solaris.patch

From there, my prior instructions to compile nmap work fine. To the best of my knowledge, the caveats with Solaris still hold (namely having to run unprivileged).

:wq

Wednesday Jul 07, 2010

What Topology Map(s) is FMA Using?

When debugging FMA issues, there's been several times I've wanted to know what XML maps are being used to generate (or fail to generate :) the FM topology. I guess I reached a sufficient point of annoyance, so I wrote a pair of dtrace scripts to automate this. Here's an example from an Ultra 24 workstation running snv_140.

# ./topomaps.d -c /usr/lib/fm/fmd/fmtopo 2>/dev/null | grep Map Map: //usr/platform/i86pc/lib/fm/topo/maps/i86pc-hc-topology.xml Map: //usr/platform/i86pc/lib/fm/topo/maps/i86pc-legacy-hc-topology.xml Map: //usr/platform/i86pc/lib/fm/topo/maps/chip-hc-topology.xml Map: //usr/platform/i86pc/lib/fm/topo/maps/chassis-hc-topology.xml \^C

Now, I did say a pair of dtrace scripts. topomaps.d is the first script, which calls a second script topomapmon.d that ultimately traces the calls to topo_xml_read(). Two scripts are required to deal with the dynamic loading done by fmtopo. Anyway, drop both in the same directory and run with sufficient privileges and you should be good to go.

:wq

Tuesday Jun 01, 2010

ONNV Firefox Search Engine

<script language="javascript"> function addBugEngine(){ if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) { window.sidebar.addSearchEngine("http://blogs.Sun.COM/sdaven/resource/onnv/onnv-opensolaris-search.src", "http://blogs.sun.com/sdaven/resource/images/opensolaris-icon.png", "ONNV", "OpenSolaris"); } else { alert("Mozilla M15 or later is required to add a search engine."); } } </script> Didn't see one of these floating around in net-land, so mocked up a quick one. A search engine extension for Firefox for the ONNV source archives. Click Add OpenSolaris (ONNV) Source to add this engine to your browser. Report problems here.

:wq

About

user9148476

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today