Subject: converting bpf programs back to text ??
To: None <tech-net@netbsd.org>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: tech-net
Date: 06/18/2000 05:15:52
I can load a mix of ipfilter rules like this:

pass in { host 192.168.1.1 }
pass in { host 192.168.1.5 and not port 6000 }
pass in proto tcp from any to any

but when printing them out, this is the best I can do for now:

10557 pass in  { bpf_prog len 48 }
27 pass in  { bpf_prog len 128 }
383 pass in proto tcp from any to any

anyone got a tool that'll do the right thing here and convert the
bytecode back ? O:-)

Darren