Releases: vishvananda/netlink
v1.3.0
v1.2.1
v1.2.1-beta.2
Update
This new version fixes a bug in older kernels that can cause a segfault
What's Changed
New Contributors
Full Changelog: v1.2.0-beta...v1.2.1-beta.2
v1.2.0-beta
Beta Release for 1.2.0
There have been a number of fixes and additions since 1.1.0. This is a beta release so folks have an opportunity to test to make sure we haven't inadvertently made any breaking changes to the library.
What's Changed
- [non linux: netlink/xdp] Add dummy function for LinkSetXdpFdWithFlags by @belyalov in #516
- Save XDP attach mode info into LinkXdp. by @belyalov in #515
- Service curves fix by @fbegyn in #513
- Use IfaCacheinfo and IFA_* consts from golang.org/x/sys/unix by @tklauser in #514
- Fix parseIpTun to handle empty flow based flag by @vishvananda in #512
- rule, add TOS by @amitn in #521
- check payload of the NLMSG_DONE nlmsg by @Jianlin-lv in #520
- rule: add support for dport/sport by @chendotjs in #511
- Correct value of SizeofXfrmUsersaFlush by @tklauser in #523
- Add BridgeSetVlanFiltering to change VlanFiltering on an existing bridge by @stffabi in #524
- Skip NetNsId tests unless root by @RealFatCat in #526
- Add LinkIndex to Addr struct by @brb in #543
- Configure numrxqueues/numtxqueues on veth peer (fixes #536) by @alexforster in #540
- Add ability to list rules in a filtered manner by @christarazi in #538
- Add LinkModify support by @gollub in #541
- Add support for getting all RDMA devices in the system by @adrianchiris in #533
- Fix parsing of IFLA_IPTUN_COLLECT_METADATA by @lebauce in #530
- make tuntap pollable by @rschmied in #525
- Introduce RouteGetWithOptions that allows to modify the RouteGet by @amitn in #522
- Added wireguard link type by @xaionaro in #464
- Add filtering in NeighListExecute by @RealFatCat in #529
- conntrack filter by protocol and port by @aojea in #544
- Fix incompatible interface to linux implement by @whywaita in #557
- Set default values for link attributes by @lebauce in #562
- Add additional fields to link.Ip6tnl by @corny in #563
- go.mod: update dependencies by @thaJeztah in #555
- travis: add go 1.13, 1.14, and drop go 1.10, 1.11 by @thaJeztah in #556
- rule_linux: convert IIFNAME and OIFNAME to null terminated string by @Cordius in #559
- Add support for configuring bridge ageing time by @twelho in #554
- tuntap: use the owner / group parameters by @maiqueb in #558
- Fixes Issue #509 more generically by @vishvananda in #549
- Allow placing veth peer into a namespace by @const86 in #535
- Fix NewHtbClass by @chenchun in #561
- Add DestPort to TunnelKeyAction & Fix parsing of TCA_TUNNEL_KEY_ENC_IPV6_SRC & TCA_TUNNEL_KEY_ENC_IPV6_DST by @tanbangcheng in #552
- Add SocketDiagTCPInfo with some constants and structs to get tcp_info… by @RealFatCat in #534
- Add LinkSetMacvlanMode by @jcaamano in #527
- Add partial support for ipset by @corny in #387
- added support for SFQ qdiscs by @imilchev in #570
- VF stats Deserialization method and struct added. by @killianmuldoon in #578
- Add whole route metrics for netlink by @bianze in #569
- Add TxBytes to VFStats collection by @killianmuldoon in #586
- Allows direct usage of String() method by @riccardomanfrin in #594
- add support for CAN by @Sauci in #593
- RouteGetWithOptions: Add source address option by @taktv6 in #591
- Add devlink command to query common devlink port attributes by @paravmellanox in #546
- Add Geneve link support by @shassard in #567
- SocketDiagTCPInfo: Add support for BBR information by @taktv6 in #572
- Adding support for RTA_VIA by @fach in #585
- Fix Geneve remote ipv4 attr by @ahmetozer in #600
- Fixed endianity problem with Geneve tunnel VNI by @mlitvin in #582
- Add support for addition FQ Codel knobs by @sargun in #603
- Allow building on non-linux machine by @mlitvin in #604
- Support mask for XfrmState's output mark by @pchaigno in #602
- Improve attribute parsing by @corny in #606
- Allow to set/get socket timeout option for default handle by @ArthurChiao in #614
- Adds String methods to several bond params and fixes Packers -> Packets by @riccardomanfrin in #598
- support u32 link option by @zhiyuan0x in #615
- Properly handle uint64 for HTB class rate/ceil by @imilchev in #616
- Add ip route append by @yaocw2020 in #619
- Fix non-linux build by @joestringer in #625
- netlink: xfrm, add optional field to XfrmPolicyTmpl by @joestringer in #626
- Make IPSet actually support IPs, and fix protocol errors for newer kernels by @eh-steve in #617
- New RouteAddEcmp() call by @mccv1r0 in #621
- Remove "=======" characters left over from merge by @mccv1r0 in #631
- Update travis and fix formatting errors by @vishvananda in #646
- Add route get iif option by @hmahmood in #623
- Add ipvtap link support by @RichardWeiYang in #607
- devlink port add, delete, function get/set attributes by @paravmellanox in #632
- Provide the allmulticast option as own link attribute by @bjosv in #635
- Fix another panic case of #509. by @Dongdong-Wang in #647
- conntrack: allow to filter by subnet by @aojea in #627
- Adds vrf slave link info_slave_data parse by @riccardomanfrin in #643
- Don't re-initialize package level var native to fix data race by @tklauser in #637
- Don't re-initialize package level var native in
(*Handle).RouteGetWithOptions
by @tklauser in #648 - Remove trailing null char from string in devlink by @adrianchiris in #651
- Add support for "extern_learn" like in "ip-neigh" by @mitinarseny in #638
- Ability to set multicast attribute on a link by @dennisafa in #653
- Consistent error handling across *SubscribeAt functions by @milan-zededa in #654
- feat: support diag TCP with only socket returns by @oif in #655
- Correct panic when IPv4 lacks IFA_ADDRESS address by @jswantek in #665
- [lwtunnel bpf] add support for encap BPF by @bersoare in #645
- Expose AFI on routes by @taktv6 in #652
- Add PHYS_SWITCH_ID attribute to LinkAttrs by @dennisafa in #660
- fix size required for a uint64 to stop panic in RuleList (TunID) by @sigmonsays in #673
- fix the travis badge by @vishvananda in #694
- one more fix by @vishvananda in #696
- add support for bareudp link type by @bersoare in #657
- Add basic flower support by @tanbangcheng in #610
- Parse and expose conntrack timestamps by @milan-zededa in #659
- Provide han...
v1.1.0
Over 100 bug fixes and features were merged since the v1.0.0 release.
Some Highlights:
Go modules now supported
Support for new features in more recent kernels
Extended support for filters, actions, and tunnels
Support for bonds, ipoib, rdma
More features for vfs
We have been careful to preserve the existing functionality from release v1.0.0. There is one minor change to AddrAdd where it will no longer automatically set a broadcast address when you set a /31 or /32 address
If you notice any differences in behavior, please file an issue