<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>49f31b5e0ca7a335b35dbaec92769e4c7237a85e - netstat: strip the binary of sgid</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#49f31b5e0ca7a335b35dbaec92769e4c7237a85e</link>
        <description>netstat: strip the binary of sgidEverything in the live path seems to use sysctls these days, with kvmonly being used for pulling information from core dumps.  Strip thebinary of /dev/{k,}mem access to reduce the surface area with accessto kmem.Reviewed by:	glebius, markjDifferential Revision:	https://reviews.freebsd.org/D47210

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Sun, 20 Apr 2025 18:18:40 +0000</pubDate>
        <dc:creator>Kyle Evans &lt;kevans@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>e9ac41698b2f322d55ccf9da50a3596edb2c1800 - Remove residual blank line at start of Makefile</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#e9ac41698b2f322d55ccf9da50a3596edb2c1800</link>
        <description>Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I&apos;ll just run the command on the branches)Sponsored by: Netflix

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Mon, 15 Jul 2024 04:46:32 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>bdcbfde31e8e9b343f113a1956384bdf30d1ed62 - usr.bin: Remove ancient SCCS tags.</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#bdcbfde31e8e9b343f113a1956384bdf30d1ed62</link>
        <description>usr.bin: Remove ancient SCCS tags.Remove ancient SCCS tags from the tree, automated scripting, with twominor fixup to keep things compiling. All the common forms in the treewere removed with a perl script.Sponsored by:		Netflix

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Thu, 23 Nov 2023 17:21:37 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf - Remove $FreeBSD$: one-line sh pattern</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf</link>
        <description>Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Wed, 16 Aug 2023 17:55:03 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>182e8ae26d7cad119bcfce7cc788c1f5cb06e226 - netstat(1): teach netstat to attach to jails</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#182e8ae26d7cad119bcfce7cc788c1f5cb06e226</link>
        <description>netstat(1): teach netstat to attach to jailsAdd -j &lt;jail&gt; flag to netstat(1) to allow access to network informationfrom a jail.MFC after:	1 weekDifferential Revision: https://reviews.freebsd.org/D41446

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Mon, 14 Aug 2023 08:01:28 +0000</pubDate>
        <dc:creator>Doug Rabson &lt;dfr@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>64dfea86515e71af254cf90d6d5ceb689b8fbf5a - netlink: add NETLINK/NETLINK_SUPPORT userland options.</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#64dfea86515e71af254cf90d6d5ceb689b8fbf5a</link>
        <description>netlink: add NETLINK/NETLINK_SUPPORT userland options.Make userland tools such as netstat, route, arp and ndp use either netlink or rtsock interfaces based on the NETLINK_SUPPORT options.Both NETLINK and NETLINK_SUPPORT options are turned on by default.Reviewed By: eugenDifferential Revision: https://reviews.freebsd.org/D39148

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Sun, 26 Mar 2023 08:56:49 +0000</pubDate>
        <dc:creator>Alexander V. Chernikov &lt;melifaro@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>68636dcb6fded1058318052454eabe35d1f65cb2 - netstat: make netstat -rn use netlink instead of rtsock</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#68636dcb6fded1058318052454eabe35d1f65cb2</link>
        <description>netstat: make netstat -rn use netlink instead of rtsockThis change switches route listing in netstat to netlink, with fallback to rtsock.The outputs are mostly identical, with an exception of not showing kernel nexthop indexes for multipath routes.Differential Revision: https://reviews.freebsd.org/D36529

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Fri, 27 Jan 2023 15:14:39 +0000</pubDate>
        <dc:creator>Alexander V. Chernikov &lt;melifaro@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>fedeb08b6a58e708e1153224d37ad26bdc1062a2 - Introduce scalable route multipath.</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#fedeb08b6a58e708e1153224d37ad26bdc1062a2</link>
        <description>Introduce scalable route multipath.This change is based on the nexthop objects landed in D24232.The change introduces the concept of nexthop groups.Each group contains the collection of nexthops with their relative weights and a dataplane-optimized structure to enable efficient nexthop selection.Simular to the nexthops, nexthop groups are immutable. Dataplane part gets compiled during group creation and is basically an array of nexthop pointers, compiled w.r.t their weights.With this change, `rt_nhop` field of `struct rtentry` contains either nexthop or nexthop group. They are distinguished by the presense of NHF_MULTIPATH flag.All dataplane lookup functions returns pointer to the nexthop object,leaving nexhop groups details inside routing subsystem.User-visible changes:The change is intended to be backward-compatible: all non-mpath operations should work as before with ROUTE_MPATH and net.route.multipath=1.All routes now comes with weight, default weight is 1, maximum is 2^24-1.Current maximum multipath group width is statically set to 64. This will become sysctl-tunable in the followup changes.Using functionality:* Recompile kernel with ROUTE_MPATH* set net.route.multipath to 1route add -6 2001:db8::/32 2001:db8::2 -weight 10route add -6 2001:db8::/32 2001:db8::3 -weight 20netstat -6OnNexthop groups dataInternet6:GrpIdx  NhIdx     Weight   Slots                                 Gateway     Netif  Refcnt1         ------- ------- ------- --------------------------------------- ---------       1              13      10       1                             2001:db8::2     vlan2              14      20       2                             2001:db8::3     vlan2Next steps:* Land outbound hashing for locally-originated routes ( D26523 ).* Fix net/bird multipath (net/frr seems to work fine)* Add ROUTE_MPATH to GENERIC* Set net.route.multipath=1 by defaultTested by:	olivierReviewed by:	glebiusRelnotes:	yesDifferential Revision:	https://reviews.freebsd.org/D26449

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Sat, 03 Oct 2020 10:47:17 +0000</pubDate>
        <dc:creator>Alexander V. Chernikov &lt;melifaro@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>a666325282eaed4b044459d121f339b2d6d0224b - Introduce nexthop objects and new routing KPI.</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#a666325282eaed4b044459d121f339b2d6d0224b</link>
        <description>Introduce nexthop objects and new routing KPI.This is the foundational change for the routing subsytem rearchitecture. More details and goals are available in https://reviews.freebsd.org/D24141 .This patch introduces concept of nexthop objects and new nexthop-based routing KPI.Nexthops are objects, containing all necessary information for performing the packet output decision. Output interface, mtu, flags, gw address goes there. For most of the cases, these objects will serve the same role as the struct rtentry is currently serving.Typically there will be low tens of such objects for the router even with multiple BGP full-views, as these objects will be shared between routing entries. This allows to store more information in the nexthop.New KPI:struct nhop_object *fib4_lookup(uint32_t fibnum, struct in_addr dst,  uint32_t scopeid, uint32_t flags, uint32_t flowid);struct nhop_object *fib6_lookup(uint32_t fibnum, const struct in6_addr *dst6,  uint32_t scopeid, uint32_t flags, uint32_t flowid);These 2 function are intended to replace all all flavours of &lt;in_|in6_&gt;rtalloc[1]&lt;_ign&gt;&lt;_fib&gt;, mpath functions  and the previous fib[46]-generation functions.Upon successful lookup, they return nexthop object which is guaranteed to exist within current NET_EPOCH. If longer lifetime is desired, one can specify NHR_REF as a flag and get a referenced version of the nexthop. Reference semantic closely resembles rtentry one, allowing sed-style conversion.Additionally, another 2 functions are introduced to support uRPF functionality inside variety of our firewalls. Their primary goal is to hide the multipath implementation details inside the routing subsystem, greatly simplifying firewalls implementation:int fib4_lookup_urpf(uint32_t fibnum, struct in_addr dst, uint32_t scopeid,  uint32_t flags, const struct ifnet *src_if);int fib6_lookup_urpf(uint32_t fibnum, const struct in6_addr *dst6, uint32_t scopeid,  uint32_t flags, const struct ifnet *src_if);All functions have a separate scopeid argument, paving way to eliminating IPv6 scope embedding and allowing to support IPv4 link-locals in the future.Structure changes: * rtentry gets new &apos;rt_nhop&apos; pointer, slightly growing the overall size. * rib_head gets new &apos;rnh_preadd&apos; callback pointer, slightly growing overall sz.Old KPI:During the transition state old and new KPI will coexists. As there are another 4-5 decent-sized conversion patches, it will probably take a couple of weeks.To support both KPIs, fields not required by the new KPI (most of rtentry) has to be kept, resulting in the temporary size increase.Once conversion is finished, rtentry will notably shrink.More details:* architectural overview: https://reviews.freebsd.org/D24141* list of the next changes: https://reviews.freebsd.org/D24232Reviewed by:	ae,glebius(initial version)Differential Revision:	https://reviews.freebsd.org/D24232

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Sun, 12 Apr 2020 14:30:00 +0000</pubDate>
        <dc:creator>Alexander V. Chernikov &lt;melifaro@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>49f31b5e0ca7a335b35dbaec92769e4c7237a85e - netstat: strip the binary of sgid</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#49f31b5e0ca7a335b35dbaec92769e4c7237a85e</link>
        <description>netstat: strip the binary of sgidEverything in the live path seems to use sysctls these days, with kvmonly being used for pulling information from core dumps.  Strip thebinary of /dev/{k,}mem access to reduce the surface area with accessto kmem.Reviewed by:	glebius, markjDifferential Revision:	https://reviews.freebsd.org/D47210

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Sun, 20 Apr 2025 18:18:40 +0000</pubDate>
        <dc:creator>Kyle Evans &lt;kevans@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>e9ac41698b2f322d55ccf9da50a3596edb2c1800 - Remove residual blank line at start of Makefile</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#e9ac41698b2f322d55ccf9da50a3596edb2c1800</link>
        <description>Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I&apos;ll just run the command on the branches)Sponsored by: Netflix

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Mon, 15 Jul 2024 04:46:32 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>bdcbfde31e8e9b343f113a1956384bdf30d1ed62 - usr.bin: Remove ancient SCCS tags.</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#bdcbfde31e8e9b343f113a1956384bdf30d1ed62</link>
        <description>usr.bin: Remove ancient SCCS tags.Remove ancient SCCS tags from the tree, automated scripting, with twominor fixup to keep things compiling. All the common forms in the treewere removed with a perl script.Sponsored by:		Netflix

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Thu, 23 Nov 2023 17:21:37 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf - Remove $FreeBSD$: one-line sh pattern</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf</link>
        <description>Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Wed, 16 Aug 2023 17:55:03 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>182e8ae26d7cad119bcfce7cc788c1f5cb06e226 - netstat(1): teach netstat to attach to jails</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#182e8ae26d7cad119bcfce7cc788c1f5cb06e226</link>
        <description>netstat(1): teach netstat to attach to jailsAdd -j &lt;jail&gt; flag to netstat(1) to allow access to network informationfrom a jail.MFC after:	1 weekDifferential Revision: https://reviews.freebsd.org/D41446

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Mon, 14 Aug 2023 08:01:28 +0000</pubDate>
        <dc:creator>Doug Rabson &lt;dfr@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>64dfea86515e71af254cf90d6d5ceb689b8fbf5a - netlink: add NETLINK/NETLINK_SUPPORT userland options.</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#64dfea86515e71af254cf90d6d5ceb689b8fbf5a</link>
        <description>netlink: add NETLINK/NETLINK_SUPPORT userland options.Make userland tools such as netstat, route, arp and ndp use either netlink or rtsock interfaces based on the NETLINK_SUPPORT options.Both NETLINK and NETLINK_SUPPORT options are turned on by default.Reviewed By: eugenDifferential Revision: https://reviews.freebsd.org/D39148

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Sun, 26 Mar 2023 08:56:49 +0000</pubDate>
        <dc:creator>Alexander V. Chernikov &lt;melifaro@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>68636dcb6fded1058318052454eabe35d1f65cb2 - netstat: make netstat -rn use netlink instead of rtsock</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#68636dcb6fded1058318052454eabe35d1f65cb2</link>
        <description>netstat: make netstat -rn use netlink instead of rtsockThis change switches route listing in netstat to netlink, with fallback to rtsock.The outputs are mostly identical, with an exception of not showing kernel nexthop indexes for multipath routes.Differential Revision: https://reviews.freebsd.org/D36529

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Fri, 27 Jan 2023 15:14:39 +0000</pubDate>
        <dc:creator>Alexander V. Chernikov &lt;melifaro@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>fedeb08b6a58e708e1153224d37ad26bdc1062a2 - Introduce scalable route multipath.</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#fedeb08b6a58e708e1153224d37ad26bdc1062a2</link>
        <description>Introduce scalable route multipath.This change is based on the nexthop objects landed in D24232.The change introduces the concept of nexthop groups.Each group contains the collection of nexthops with their relative weights and a dataplane-optimized structure to enable efficient nexthop selection.Simular to the nexthops, nexthop groups are immutable. Dataplane part gets compiled during group creation and is basically an array of nexthop pointers, compiled w.r.t their weights.With this change, `rt_nhop` field of `struct rtentry` contains either nexthop or nexthop group. They are distinguished by the presense of NHF_MULTIPATH flag.All dataplane lookup functions returns pointer to the nexthop object,leaving nexhop groups details inside routing subsystem.User-visible changes:The change is intended to be backward-compatible: all non-mpath operations should work as before with ROUTE_MPATH and net.route.multipath=1.All routes now comes with weight, default weight is 1, maximum is 2^24-1.Current maximum multipath group width is statically set to 64. This will become sysctl-tunable in the followup changes.Using functionality:* Recompile kernel with ROUTE_MPATH* set net.route.multipath to 1route add -6 2001:db8::/32 2001:db8::2 -weight 10route add -6 2001:db8::/32 2001:db8::3 -weight 20netstat -6OnNexthop groups dataInternet6:GrpIdx  NhIdx     Weight   Slots                                 Gateway     Netif  Refcnt1         ------- ------- ------- --------------------------------------- ---------       1              13      10       1                             2001:db8::2     vlan2              14      20       2                             2001:db8::3     vlan2Next steps:* Land outbound hashing for locally-originated routes ( D26523 ).* Fix net/bird multipath (net/frr seems to work fine)* Add ROUTE_MPATH to GENERIC* Set net.route.multipath=1 by defaultTested by:	olivierReviewed by:	glebiusRelnotes:	yesDifferential Revision:	https://reviews.freebsd.org/D26449

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Sat, 03 Oct 2020 10:47:17 +0000</pubDate>
        <dc:creator>Alexander V. Chernikov &lt;melifaro@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>a666325282eaed4b044459d121f339b2d6d0224b - Introduce nexthop objects and new routing KPI.</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#a666325282eaed4b044459d121f339b2d6d0224b</link>
        <description>Introduce nexthop objects and new routing KPI.This is the foundational change for the routing subsytem rearchitecture. More details and goals are available in https://reviews.freebsd.org/D24141 .This patch introduces concept of nexthop objects and new nexthop-based routing KPI.Nexthops are objects, containing all necessary information for performing the packet output decision. Output interface, mtu, flags, gw address goes there. For most of the cases, these objects will serve the same role as the struct rtentry is currently serving.Typically there will be low tens of such objects for the router even with multiple BGP full-views, as these objects will be shared between routing entries. This allows to store more information in the nexthop.New KPI:struct nhop_object *fib4_lookup(uint32_t fibnum, struct in_addr dst,  uint32_t scopeid, uint32_t flags, uint32_t flowid);struct nhop_object *fib6_lookup(uint32_t fibnum, const struct in6_addr *dst6,  uint32_t scopeid, uint32_t flags, uint32_t flowid);These 2 function are intended to replace all all flavours of &lt;in_|in6_&gt;rtalloc[1]&lt;_ign&gt;&lt;_fib&gt;, mpath functions  and the previous fib[46]-generation functions.Upon successful lookup, they return nexthop object which is guaranteed to exist within current NET_EPOCH. If longer lifetime is desired, one can specify NHR_REF as a flag and get a referenced version of the nexthop. Reference semantic closely resembles rtentry one, allowing sed-style conversion.Additionally, another 2 functions are introduced to support uRPF functionality inside variety of our firewalls. Their primary goal is to hide the multipath implementation details inside the routing subsystem, greatly simplifying firewalls implementation:int fib4_lookup_urpf(uint32_t fibnum, struct in_addr dst, uint32_t scopeid,  uint32_t flags, const struct ifnet *src_if);int fib6_lookup_urpf(uint32_t fibnum, const struct in6_addr *dst6, uint32_t scopeid,  uint32_t flags, const struct ifnet *src_if);All functions have a separate scopeid argument, paving way to eliminating IPv6 scope embedding and allowing to support IPv4 link-locals in the future.Structure changes: * rtentry gets new &apos;rt_nhop&apos; pointer, slightly growing the overall size. * rib_head gets new &apos;rnh_preadd&apos; callback pointer, slightly growing overall sz.Old KPI:During the transition state old and new KPI will coexists. As there are another 4-5 decent-sized conversion patches, it will probably take a couple of weeks.To support both KPIs, fields not required by the new KPI (most of rtentry) has to be kept, resulting in the temporary size increase.Once conversion is finished, rtentry will notably shrink.More details:* architectural overview: https://reviews.freebsd.org/D24141* list of the next changes: https://reviews.freebsd.org/D24232Reviewed by:	ae,glebius(initial version)Differential Revision:	https://reviews.freebsd.org/D24232

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Sun, 12 Apr 2020 14:30:00 +0000</pubDate>
        <dc:creator>Alexander V. Chernikov &lt;melifaro@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>0275f9dbf73b01e9478dc7d6ab5fab4f8e077448 - Merge ^/head r321383 through r322397.</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#0275f9dbf73b01e9478dc7d6ab5fab4f8e077448</link>
        <description>Merge ^/head r321383 through r322397.

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Fri, 11 Aug 2017 10:59:34 +0000</pubDate>
        <dc:creator>Hans Petter Selasky &lt;hselasky@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>69ef36e315772f884582ffc5ef888400fad61f52 - MFhead@r321829</title>
        <link>http://opengrok.net:8080/history/src/usr.bin/netstat/Makefile#69ef36e315772f884582ffc5ef888400fad61f52</link>
        <description>MFhead@r321829

            List of files:
            /src/usr.bin/netstat/Makefile</description>
        <pubDate>Mon, 31 Jul 2017 23:04:12 +0000</pubDate>
        <dc:creator>Enji Cooper &lt;ngie@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
