NFS protocol analyser not working in bro 2.5

Description

I Started doing NFS ANALYZER .bro script in bro 2.5.1 script , i tried one sample and its given one error so i done one fix
bro-2.5.1/src/analyzer/protocol/rpc/NFS.cc line no 649
: RPC_Analyzer("RPC", conn, new NFS_Interp(this)) to : RPC_Analyzer("NFS", conn, new NFS_Interp(this))

then some changes happened , after that i am geeting below error

const ports = {111/tcp, 111/udp, 747/udp, 759/tcp, 762/udp, 764/tcp,
2049/udp};
redef likely_server_ports += {ports};

event bro_init() &priority=5
{
Analyzer::register_for_ports(Analyzer::ANALYZER_NFS, ports);
}

event nfs_proc_getattr(c: connection, info: NFS3::info_t, fh: string,attrs: NFS3::fattr_t){
print c;
}

error

sudo ./bro -C -r /home/binu/Downloads/nfsv3.pcap /home/binu/nfs.bro
[id=[orig_h=139.25.22.2, orig_p=1022/udp, resp_h=139.25.22.102, resp_p=2049/udp], orig=[size=128, state=1, num_pkts=1, num_bytes_ip=156, flow_label=0, l2_addr=00:c0:95:e0:19:be], resp=[size=112, state=1, num_pkts=0, num_bytes_ip=0, flow_label=0, l2_addr=00:c0:95:f8:4d:d3], start_time=944207397.4, duration=0.0, service={
}, history=Dd, uid=CcWDYV1vmfWIGfA3j7, tunnel=<uninitialized>, vlan=<uninitialized>, inner_vlan=<uninitialized>, dpd=<uninitialized>, conn=<uninitialized>, extract_orig=F, extract_resp=F, thresholds=<uninitialized>, dce_rpc=<uninitialized>, dce_rpc_state=<uninitialized>, dce_rpc_backing=<uninitialized>, dhcp=<uninitialized>, dnp3=<uninitialized>, dns=<uninitialized>, dns_state=<uninitialized>, ftp=<uninitialized>, ftp_data_reuse=F, ssl=<uninitialized>, http=<uninitialized>, http_state=<uninitialized>, irc=<uninitialized>, krb=<uninitialized>, modbus=<uninitialized>, mysql=<uninitialized>, ntlm=<uninitialized>, radius=<uninitialized>, rdp=<uninitialized>, rfb=<uninitialized>, sip=<uninitialized>, sip_state=<uninitialized>, snmp=<uninitialized>, smtp=<uninitialized>, smtp_state=<uninitialized>, socks=<uninitialized>, ssh=<uninitialized>, syslog=<uninitialized>]
944207397.400000 internal error: bad reference count [2]
Aborted

Environment

linux mint , bro 2.5.1

Assignee

Johanna Amann

Reporter

ps sunu

Labels

External issue ID

None

Components

Affects versions

Priority

Normal
Configure