rtnetlink
manipulate linux networking resources via netlink
0.23.0
25M downloads/mo
#1890 most downloaded on crates.io
rust-netlink/rtnetlink
What this package is like to depend on
Last release 5 days ago
18 Aug 2026
Release timing varies
gaps range from 8 days to 1.1 years
Some releases are documented
notes for 15 of 36 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
37 releases · first in 2018
6 releases in the last 12 months
see the full history below
Release timeline
37 releases · Jul 2018 to Aug 2026Releases
latest 37-
0.23.018 Aug 2026Release notes
Open source →Breaking changes
New features
- link: geneve: add local and local6 builders. (5b12111)
- link: bridge_slave: add neigh_forward_grat builder. (addbc5b)
- link: bridge: add stp_mode builder. (81b6430)
Bug fixes
- N/A
Release notes
Open source →Breaking changes
- Use latest rust-netlink crates. (9914eec)
- Bump MSRV to 1.75 as netlink-proto requires. (03762b3)
New features
- link: geneve: add local and local6 builders. (5b12111)
- link: bridge_slave: add neigh_forward_grat builder. (addbc5b)
- link: bridge: add stp_mode builder. (81b6430)
Bug fixes
- N/A
-
0.22.012 Aug 2026Release notes
Open source →Breaking changes
- Please check netlink-packet-route 0.32.0 API breaks.
- Bump minimum supported rust version to 1.71. (3041a35)
New features
- link: link_gre6: add dev() builder method. (9d68ac6)
- link: Support assign NSID to a namespace. (adf7bc4)
- link: add
LinkTunbuilder for TUN/TAP interface. (751284f) - link: add
LinkIpoibbuilder for IPoIB interface. (59ba7e7) - link: add
LinkAmtbuilder for AMT interface. (84a0a94) - link: Add more options to LinkVxlan. (240e4ea)
- link: Add LinkVti and LinkVti6. (ae70e3a)
- link: Add LinkRmNet for rmnet support. (694a83e)
- link: Add LinkPfcp. (80307e9)
- link: Expand LinkGre6 and LinkGre for more properties. (7d8d98b)
- link: Add LinkDsa for DSA interface. (082903a)
- link: Add LinkCan for CAN interface. (13f2a53)
- link: Add LinkBatAdv builder for batadv interface type. (63c520f)
- link: add builder for bareudp interface type. (39025dc)
- link: add LinkTeam builder for team interface. (61e3142)
- link: add WWAN builder. (d6ea80b)
- link: Add gtp, netdevsim and virt_wifi builder. (fa565f9)
- link: add LinkSit builder for SIT tunnel interface. (ed73430)
- link: add LinkIfb builder for ifb interface type. (d323d43)
- link: add afstats request support. (3c65356)
- link: add helper methods to LinkMessageBuilder for generic actions. (11bfb11)
- link: Add LinkVcan builder. (b7dd5bf)
- link: Add LinkNetdevsim builder. (64cfe71)
- link: Add LinkGre and LinkGre6 builders. (c2d8c1f)
- link: Add LinkGeneve builder. (a25018e)
- link: Add LinkIpVlan and LinkIpVtap builders. (5c8d62e)
- link: ip6tnl: Fix flow_info and flag handling. (e7799b6)
- link: Add LinkIp6Tnl builder for IPv4|IPv6 tunnel over IPv6. (908fa90)
- link vxlan: Add builder functions for label_policy, reserved_bits and mc_route. (616450a)
- link: Add IPIP message builder. (e92b23f)
- link: add HSR interface support. (f1fb864)
- link: vxlan: add localbypass support. (cf0a5c8)
- link: Add support of nlmon. (9b4536a)
- link: Add API for Seg6 Encapsulation. (e48d718)
- Replace function on NeighbourGetRequest to set family. (97dd4ca)
Release notes
Open source →Breaking changes
- Please check netlink-packet-route 0.32.0 API breaks.
- Bump minimum supported rust version to 1.71. (3041a35)
New features
- link: link_gre6: add dev() builder method. (9d68ac6)
- link: Support assign NSID to a namespace. (adf7bc4)
- link: add
LinkTunbuilder for TUN/TAP interface. (751284f) - link: add
LinkIpoibbuilder for IPoIB interface. (59ba7e7) - link: add
LinkAmtbuilder for AMT interface. (84a0a94) - link: Add more options to LinkVxlan. (240e4ea)
- link: Add LinkVti and LinkVti6. (ae70e3a)
- link: Add LinkRmNet for rmnet support. (694a83e)
- link: Add LinkPfcp. (80307e9)
- link: Expand LinkGre6 and LinkGre for more properties. (7d8d98b)
- link: Add LinkDsa for DSA interface. (082903a)
- link: Add LinkCan for CAN interface. (13f2a53)
- link: Add LinkBatAdv builder for batadv interface type. (63c520f)
- link: add builder for bareudp interface type. (39025dc)
- link: add LinkTeam builder for team interface. (61e3142)
- link: add WWAN builder. (d6ea80b)
- link: Add gtp, netdevsim and virt_wifi builder. (fa565f9)
- link: add LinkSit builder for SIT tunnel interface. (ed73430)
- link: add LinkIfb builder for ifb interface type. (d323d43)
- link: add afstats request support. (3c65356)
- link: add helper methods to LinkMessageBuilder for generic actions. (11bfb11)
- link: Add LinkVcan builder. (b7dd5bf)
- link: Add LinkNetdevsim builder. (64cfe71)
- link: Add LinkGre and LinkGre6 builders. (c2d8c1f)
- link: Add LinkGeneve builder. (a25018e)
- link: Add LinkIpVlan and LinkIpVtap builders. (5c8d62e)
- link: ip6tnl: Fix flow_info and flag handling. (e7799b6)
- link: Add LinkIp6Tnl builder for IPv4|IPv6 tunnel over IPv6. (908fa90)
- link vxlan: Add builder functions for label_policy, reserved_bits and mc_route. (616450a)
- link: Add IPIP message builder. (e92b23f)
- link: add HSR interface support. (f1fb864)
- link: vxlan: add localbypass support. (cf0a5c8)
- link: Add support of nlmon. (9b4536a)
- link: Add API for Seg6 Encapsulation. (e48d718)
- Replace function on NeighbourGetRequest to set family. (97dd4ca)
Bug fixes
- refactor: migrate to more permissive/accurate string types. (0c42c83)
-
0.21.018 Apr 2026Release notes
Open source →Breaking changes
- Use netlink-packet-route 0.30. (7bfbbf5)
- Deprecated
NeighbourAddRequest::link_local_address(), please use
NeighbourAddRequest::link_layer_address(). (7bfbbf5)
New features
- link: add vxcan support. (cd212b8)
Bug fixes
- addr: only assign broadcast when subnet over /31. (7c16a2d)
Release notes
Open source →Breaking changes
- Use netlink-packet-route 0.30. (7bfbbf5)
- Deprecated
NeighbourAddRequest::link_local_address(), please useNeighbourAddRequest::link_layer_address(). (7bfbbf5)
New features
- link: add vxcan support. (cd212b8)
Bug fixes
- addr: only assign broadcast when subnet over /31. (7c16a2d)
-
0.20.001 Jan 2026Release notes
Open source →Breaking changes
- Please check breaking changes in netlink-packet-route 0.28.0 and 0.27.0.
- Use netlink-packet-route 0.28.0. (0486ff7)
- Change
LinkBondto align with rust-netlink-route 0.27.0. (563f95d)
New features
- link: Support specifying arbitrary LinkMessage for
RTM_DELLINK. (d4d5a4b) - link: Support changing VLAN filter of bridge itself. (1f8b7da)
- link: Support changing bridge VLAN filtering. (e520140)
- link: Add
LinkBridgePortfor modifying bridge port properties. (86dd67d) - link: Expand LinkBridge to support all bridge options. (c85d988)
- link: Add support for
netkitdevices. (2f18ca4) - link: Add
LinkHandle::change()to changing existing interface. (2d1a6cc)
Bug fixes
- link bridge: Fix typo of document. (a994f72)
Release notes
Open source →Breaking changes
- Please check breaking changes in netlink-packet-route 0.28.0 and 0.27.0.
- Use netlink-packet-route 0.28.0. (0486ff7)
- Change
LinkBondto align with rust-netlink-route 0.27.0. (563f95d)
New features
- link: Support specifying arbitrary LinkMessage for
RTM_DELLINK. (d4d5a4b) - link: Support changing VLAN filter of bridge itself. (1f8b7da)
- link: Support changing bridge VLAN filtering. (e520140)
- link: Add
LinkBridgePortfor modifying bridge port properties. (86dd67d) - link: Expand LinkBridge to support all bridge options. (c85d988)
- link: Add support for
netkitdevices. (2f18ca4) - link: Add
LinkHandle::change()to changing existing interface. (2d1a6cc)
Bug fixes
- link bridge: Fix typo of document. (a994f72)
-
0.19.009 Dec 2025Release notes
Open source →Breaking changes
- Please check breaking changes of netlink-packet-route 0.19.0
New features
- vlan: Add wrapper for setting VLAN protocol and flags. (50fbcb3)
- Add function on RouteMessageBuilder for setting route mark. (c0edfbf)
- Support creating multicast netlink connection. (84dfe67)
Bug fixes
- Swap 'futures' dependency for 'futures-util' and 'futures-channel'. (26eda64)
Release notes
Open source →Breaking changes
- Please check breaking changes of netlink-packet-route 0.19.0
New features
- vlan: Add wrapper for setting VLAN protocol and flags. (50fbcb3)
- Add function on RouteMessageBuilder for setting route mark. (c0edfbf)
- Support creating multicast netlink connection. (84dfe67)
Bug fixes
- Swap 'futures' dependency for 'futures-util' and 'futures-channel'. (26eda64)
-
0.18.109 Sep 2025Release notes
Open source →Breaking changes
- N/A
New features
- route: Support defining ECMP weight. (7fcba62)
- route: Support defining ECMP flags. (18c4331)
- route: allow IPv6 gateway in IPv4 route. (e1784a3)
Bug fixes
- N/A
Release notes
Open source →Breaking changes
- N/A
New features
- route: Support defining ECMP weight. (7fcba62)
- route: Support defining ECMP flags. (18c4331)
- route: allow IPv6 gateway in IPv4 route. (e1784a3)
Bug fixes
- N/A
-
0.18.027 Aug 2025Release notes
Open source →Breaking changes
- Please check
netlink-packet-route0.25.0 breaking changes. - Please check
netlink-packet-core0.8.0 breaking changes. - Please check
netlink-proto0.12.0 breaking changes. - Removed
rtnetlink::packet_utils. (9373d77)
New features
- ip: Introduced
AddressMessageBuilder. (1fe2569) - macsec: Introduced
LinkMacSec. (b9dd9d9) - Allow the user to specify their own socket. (6547f22)
- Allow
TrafficGetFilterRequestto get ingress or egress filters. (45f9206)
Bug fixes
Release notes
Open source →Breaking changes
- Please check
netlink-packet-route0.25.0 breaking changes. - Please check
netlink-packet-core0.8.0 breaking changes. - Please check
netlink-proto0.12.0 breaking changes. - Removed
rtnetlink::packet_utils. (9373d77)
New features
- ip: Introduced
AddressMessageBuilder. (1fe2569) - macsec: Introduced
LinkMacSec. (b9dd9d9) - Allow the user to specify their own socket. (6547f22)
- Allow
TrafficGetFilterRequestto get ingress or egress filters. (45f9206)
Bug fixes
- Replace
impl TryStreamwithimpl Stream. (513e8c3) - Fix android build. (3e270c6)
- Should not set
NLM_F_EXCLwhen deleting alt-name. (7dd58dd)
- Please check
-
0.17.029 May 2025Release notes
Open source →Breaking changes
- Please check
netlink-packet-route0.24.0 breaking changes.
New features
- route: Implement support for the ONLINK flag. (30aa30f)
- route: Support for MPLS routes and nexthop label stacks. (e7e7344)
- route: Support for multipath routes. (0236751)
Bug fixes
- N/A
Release notes
Open source →Breaking changes
- Please check
netlink-packet-route0.24.0 breaking changes.
New features
- route: Implement support for the ONLINK flag. (30aa30f)
- route: Support for MPLS routes and nexthop label stacks. (e7e7344)
- route: Support for multipath routes. (0236751)
Bug fixes
- N/A
- Please check
-
0.16.017 Mar 2025Release notes
Open source →Breaking changes
- N/A
New features
- Add support of tc filter del command. (51cfceb)
Bug fixes
- Fix error on decoding empty
IFLA_VFINFO_LIST. (581b4ac)
Release notes
Open source →Breaking changes
- N/A
New features
- Add support of tc filter del command. (51cfceb)
Bug fixes
- Fix error on decoding empty
IFLA_VFINFO_LIST. (581b4ac)
-
0.15.010 Mar 2025Release notes
Open source →Breaking changes
- Deprecated
LinkAddRequest::xfrmtun()in the favor of
LinkAddRequest::xfrmtun_link. (de62338) - Changed
RouteGetRequest::new()to useRouteMessageBuilder. (9be24c6) - Changed
LinkAddRequest()andLinkSetRequestto use
LinkMessageBuilder. (230a729)
New features
- Support specifying link when crating xfrm interface. (de62338)
- Support creating VRF link. (6863102)
- Introducing
RouteAddRequestfor building netlink message for adding
routes. (b5e0cb6, 24bf04f) - Reexport
netlink-*packages. (a4d2611) - impl Debug, Clone for all requests and handles. (515471f)
Bug fixes
- N/A
Release notes
Open source →Breaking changes
- Deprecated
LinkAddRequest::xfrmtun()in the favor ofLinkAddRequest::xfrmtun_link. (de62338) - Changed
RouteGetRequest::new()to useRouteMessageBuilder. (9be24c6) - Changed
LinkAddRequest()andLinkSetRequestto useLinkMessageBuilder. (230a729)
New features
- Support specifying link when crating xfrm interface. (de62338)
- Support creating VRF link. (6863102)
- Introducing
RouteAddRequestfor building netlink message for adding routes. (b5e0cb6, 24bf04f) - Reexport
netlink-*packages. (a4d2611) - impl Debug, Clone for all requests and handles. (515471f)
Bug fixes
- N/A
- Deprecated
-
0.14.101 Feb 2024Release notes
Open source →Breaking changes
- N/A
New features
- FreeBSD support. (eb04e60)
- Support specifying MAC address in
LinkAddRequest. (d76171c) - Support creating wireguard link in
LinkAddRequest. (24982ec) - Support setting priority in
RouteAddRequest. (c840e78)
Bug fixes
- Fixing docs of AddressGetRequest::set_address_filter. (006a348)
-
0.14.005 Dec 2023Release notes
Open source →Breaking changes
- Many
VxlanAddRequestfunctions changed from u8 to bool. (ba4825a) - Deprecated
LinkSetRequest::master()in the favor ofLinkSetRequest::controller(). (ba4825a) - Deprecated
LinkSetRequest::nomaster()in the favor ofLinkSetRequest::nocontroller(). (ba4825a) - Many
NeighbourAddRequestfunctions changed from u8/u16 to enum. (ba4825a) - Many
TrafficFilterNewRequestfunctions changed from u8/u16 to enum. (ba4825a)
New features
- Rule: function to set fw_mark when adding rule. (dabef43)
Bug fixes
- N/A
- Many
-
0.13.118 Jul 2023Release notes
Open source →Breaking changes
- Deprecated
BondAddRequest::active_slave()in the favor ofBondAddRequest::active_port(). (9b67c97, bf6dbf0) - Deprecated
BondAddRequest::all_slaves_active()in the favor ofBondAddRequest::all_ports_active(). (9b67c97, bf6dbf0)
New features
- Support bond port setting. (7afe563)
- Support VLAN QOS setting. (78a58db)
Bug fixes
- N/A
- Deprecated
-
0.13.010 Jul 2023Release notes
Open source →Breaking changes
TrafficFilterNewRequest::u32()changed to returnResult. (b7f8c73)TrafficFilterNewRequest::redirect() changed to returnResult`. (b7f8c73)- Deprecated
RouteAddRequest::tablein the favor ofRouteAddRequest::table_idin order to support table ID bigger than 255. (0a8eddd)
New features
- Support route table ID bigger than 255. (0a8eddd)
- Support creating xfrm tunnel. (5252908)
Bug fixes
- Removed assers. (e6bcf3e)
-
0.12.029 Jan 2023Release notes
Open source →Breaking changes
- Removed these reexports. (2d58a54)
rtnetlink::packetrtnetlink::protortnetlink::sys
New features
- Allow adding macvtap on a link. (ad1207f)
- Support setting priority when adding rules. (b771ffd)
Bug fixes
- Fix ip_monitor example. (b12f061)
- Removed these reexports. (2d58a54)
-
0.11.015 Jul 2022Nothing published for this version
-
0.10.215 Jul 2022 withdrawnNothing published for this version
-
0.10.124 Jun 2022Nothing published for this version
-
0.10.023 Jun 2022Nothing published for this version
-
0.9.120 Feb 2022Nothing published for this version
-
0.9.029 Dec 2021Nothing published for this version
-
0.8.130 Sep 2021Nothing published for this version
-
0.8.029 Jun 2021Nothing published for this version
-
0.7.020 Jan 2021Nothing published for this version
-
0.6.027 Nov 2020Nothing published for this version
-
0.5.029 Sep 2020Nothing published for this version
-
0.4.128 Sep 2020Nothing published for this version
-
0.4.024 Aug 2020Nothing published for this version
-
0.3.014 Jun 2020Nothing published for this version
-
0.2.216 Feb 2020Nothing published for this version
-
0.2.108 Jan 2020Nothing published for this version
-
0.2.020 Dec 2019Nothing published for this version
-
0.1.102 Jan 2019Nothing published for this version
-
0.1.002 Jan 2019Nothing published for this version
-
0.0.312 Jul 2018Nothing published for this version
-
0.0.211 Jul 2018Nothing published for this version
-
0.0.111 Jul 2018Nothing published for this version