Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2015 09:14:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 204593] Add a sysctl to enable display of IPv4 ICMP handling in the kernel
Message-ID:  <bug-204593-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
          Reporter: hm@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204593-8>