tcpdump mailing list archives

Re: Pcap debug at runtime


From: Paschal Chukwuebuk Amusuo <pamusuo () purdue edu>
Date: Mon, 20 Feb 2023 20:21:17 +0000

Thank you, I’ll do this.
________________________________
From: Guy Harris <gharris () sonic net>
Sent: Monday, February 20, 2023 3:18:24 PM
To: Paschal Chukwuebuk Amusuo <pamusuo () purdue edu>
Cc: tcpdump-workers () lists tcpdump org <tcpdump-workers () lists tcpdump org>
Subject: Re: [tcpdump-workers] Pcap debug at runtime

---- External Email: Use caution with attachments, links, or sharing data ----


On Feb 20, 2023, at 12:15 PM, Paschal Chukwuebuk Amusuo <pamusuo () purdue edu> wrote:

Please, is there a way to print out debug statements at runtime when using pcap?

Debug statements in your program?  Add printf() or fprintf(stderr, ...) or... calls to your program.

Debug statements in libpcap?  Get the libpcap source, add printf() or fprintf(stderr, ...) or... calls to it, build it, 
install it, and compile your program with it.
_______________________________________________
tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org
To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s


Current thread: