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

Tom Haynes

loghyr.com
excfb.com

Blogs to Gander At

Navigation

Editing

AllMarks

Referers

Today's Page Hits: 143

Powered by Roller Weblogger.

statcounter.com

clustrmaps.com

Locations of visitors to this page

technorati.com

www.alesti.org

Add to Alesti RSS Reader

South Park as I was 10 years ago

South Park Fantasy

South Park today

South Park Reality

I have more hair and it isn't so grey. :->

10 years ago, really

Toon Tom

Today, literally

Tom Today

Site notes

This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.

« Getting a webrev... | Main | Getting together a... »
20080131 Thursday January 31, 2008
Finishing the spedebugger

Sometimes you just get busy and can't recall where your time went. I just finished up the spedebugger. I wish I had blogged more about it, but it isn't going to happen - I need to turn it into a real spe daemon in two weeks time. The Austin Bake-A-Thon is coming up and I need a demo.

Anyway, here is the finished product, which still does not support IPv6: spedebug.tar.bz2

Besides reading the README.txt, here is a quick howto get it up and running:

> bzcat spedebug.tar.bz2 | tar xf -
> ./make.sh
spedebug.c:27: warning: ignoring #pragma ident
In file included from spedebug.c:49:
speadm.h:27: warning: ignoring #pragma ident
> ./spedebug tests/domain.txt
Looking for a matching server policy:
No matching policy, default would apply.
> ./spedebug -v tests/domain.txt
Here are the server policies:
1, 25, 34000, uid != 1066 && domain == centrl.sun.com
10, 25, 34000, uid == 1066 && weekday == sun
20, 25, 34000, domain == excfb.com
Looking for a matching server policy:
No matching policy, default would apply.
> ls -la
total 260
drwxr-xr-x   4 tdh      staff         10 Jan 30 12:49 .
drwxr-xr-x  12 tdh      staff         16 Jan 30 12:41 ..
-r--r--r--   1 tdh      staff       3583 Jan 30 12:38 README.txt
drwxr-xr-x   2 tdh      staff          5 Jan 30 12:46 SCCS
-rwxr-xr-x   1 tdh      staff         65 Jan 30 12:02 make.sh
-r--r--r--   1 tdh      staff       2641 Jan 30 12:38 speadm.h
-rwxr-xr-x   1 tdh      staff      44156 Jan 30 12:46 spedebug
-r--r--r--   1 tdh      staff      49826 Jan 30 12:46 spedebug.c
-rw-r--r--   1 tdh      staff      21778 Jan 30 12:48 spedebug.tar.bz2
drwxr-xr-x   2 tdh      staff         17 Jan 29 23:04 tests

Originally posted on Kool Aid Served Daily
Copyright (C) 2008, Kool Aid Served Daily

Trackback URL: http://blogs.sun.com/tdh/entry/finishing_the_spedebugger
Comments:

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed
Copyright (C) 2007, Kool Aid Served Daily