new version 0.22 uses a new XSL file from miohael semcheski. it looks pretty good, and is easily adapted for a variety of layouts. rawk!
# tcpdump -nettti pflog0 | pf2xmlor to read a file
# tcpdump -netttr /var/log/pflog | pf2xml
<?xml version="1.0" encoding="ISO-8859-1" ?> <?xml-stylesheet type="text/xsl" href="pfxml.xsl" ?> <pf source="pf2xml-0.21" > <packet> <timestamp date="Feb 23" time="15:16:29.745318" /> <reason rule="rule 5/0(match)" action="block in on wi0" /> <source ip="10.10.10.14" port="138" /> <destination ip="10.10.255.255" port="138" /> <extra information="udp 201 " /> </packet> <packet> <timestamp date="Feb 23" time="15:19:45.557186" /> <reason rule="rule 5/0(match)" action="block in on wi0" /> <source ip="10.10.10.128" port="50065" /> <destination ip="239.255.255.253" port="427" /> <extra information="udp 49 " /> </packet> </pf>