[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 09:14:03 UTC 2015


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

            Bug ID: 204593
           Summary: Add a sysctl to enable display of IPv4 ICMP handling
                    in the kernel
           Product: Base System
           Version: 10.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: hm at hellmuth-michaelis.de

Created attachment 163185
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163185&action=edit
10.2-stable unified diff for /usr/src/sys/netinet/ip_icmp.c

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.

The attached patch converts this into a sysctl variable
"net.inet.icmp.log_icmps" to enable/disable debugging output without
recompilation.

As an add-on, the FIB number is displayed for rx'd/tx'd ICMP packets.

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


More information about the freebsd-bugs mailing list