Mailing List Archive

npcapprintindex json format errors
I was looking to dump n2disk index files in json format, but it seems there
are errors in the structure.

npcapprintindex -i 149.pcap.idx | tail -1
287935) len: 1514, vlan: 0, vlan_qinq: 0, ipv4, proto: 6, 10.0.0.1:80 ->
192.168.0.1:37808

npcapprintindex -ji 149.pcap.idx | tail -1
{ length : 1514tuple : { plan : 0, vlan_qinq : 0, ip_version : 4, protocol
: 6, src_ip : "10.0.0.1", dst_ip : "192.168.0.1", src_port : 80, dst_port :
37808 } }

It appears the json is not being formatted correctly. Is there something I
should be doing differently to get properly formatted json out of index?

Thanks!