[Bug 204593] Add a sysctl to enable display of IPv4 ICMP handling in the kernel

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 16 15:37:02 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204593

Andrey V. Elsukov <ae at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ae at FreeBSD.org

--- Comment #1 from Andrey V. Elsukov <ae at FreeBSD.org> ---
(In reply to Hellmuth Michaelis from comment #0)
> Currently it only possible to follow IPv4 ICMP handling in/of the kernel by
> recompiling the kernel and adding a define for "ICMPPRINTFS" to enable
> kernel console messages for ICMP handling in /usr/src/sys/netinet/ip_icmp.c.

You can get the most of these printfs using dtrace fbt probes.
To get more, I prefer add ICMP_PROBE() dtrace probe, similar to that we have
for IP, UDP and TCP.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list