secfilter RPC functions to get statistics use a console format to printing data, suitable for **kamcmd** but not for any RPC method. This should be converted to a machine-parsable data structure (much like dispatcher, usrloc and htable data dumps).
Example:
``` rpc->rpl_printf(ctx, ""); rpc->rpl_printf(ctx, "Blocked messages (blacklist)"); rpc->rpl_printf(ctx, "============================"); rpc->rpl_printf(ctx, "[+] By user-agent : %d", secf_stats[BL_UA]); rpc->rpl_printf(ctx, "[+] By country : %d", secf_stats[BL_COUNTRY]); rpc->rpl_printf(ctx, "[+] By from domain : %d", secf_stats[BL_FDOMAIN]); rpc->rpl_printf(ctx, "[+] By to domain : %d", secf_stats[BL_TDOMAIN]); rpc->rpl_printf(ctx, "[+] By contact domain: %d", secf_stats[BL_CDOMAIN]); rpc->rpl_printf(ctx, "[+] By IP address : %d", secf_stats[BL_IP]); rpc->rpl_printf(ctx, "[+] By from name : %d", secf_stats[BL_FNAME]); rpc->rpl_printf(ctx, "[+] By to name : %d", secf_stats[BL_TNAME]); rpc->rpl_printf(ctx, "[+] By contact name : %d", secf_stats[BL_CNAME]); rpc->rpl_printf(ctx, "[+] By from user : %d", secf_stats[BL_FUSER]); rpc->rpl_printf(ctx, "[+] By to user : %d", secf_stats[BL_TUSER]); rpc->rpl_printf(ctx, "[+] By contact user : %d", secf_stats[BL_CUSER]);
```
fixed
Closed #2992 as completed.