Re: logs/traces

2019-10-15 Thread Navdeep Parhar
Have you looked at siftr(4) or dtrace_tcp(4)? Regards, Navdeep On Tue, Oct 15, 2019 at 07:15:27PM -0700, vm finance wrote: > Hi Kevin, > > I am looking to enable traces/log messages (like syslog or > /var/log/messages) inside the codebase... any pointers for tcp/ip. > tcpdump shows what is going

Re: logs/traces

2019-10-15 Thread vm finance
Hi Kevin, I am looking to enable traces/log messages (like syslog or /var/log/messages) inside the codebase... any pointers for tcp/ip. tcpdump shows what is going on wire - but I would like to trace code internals...printk.. Thanks a lot! On Tue, Oct 15, 2019 at 6:11 PM Kevin Oberman wrote: >

Re: logs/traces

2019-10-15 Thread Kevin Oberman
Use tcpdump(1) and/or net/wireshark(5). See man tcpdump and pcap-filter for usage details. wireshark can analyze files collected by tcpdump and dissect the packets. It can also do packet capture, itself. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com

logs/traces

2019-10-15 Thread vm finance
Hi, Could someone please guide me on how to turn on tracing/log? I would like to follow/track how packets go in/out of TCP code block... Please let me know what knobs are available to achieve this. Thanks for any pointers. ___ freebsd-net@freebsd.org m