v1.2.0-beta
Pre-release
Pre-release
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 handle Close() and deprecate Delete() by @thediveo in #689
- rdma: support rdma link add/del functionality by @fuweid in #641
- Make IPSet actually support hash set types by @lrh3321 in #656
- Add support for RTA_FLOW by @tobias-urdin in #691
Rule.String()
method returns.Dst
by @qdm12 in #688- Add trailing null char to string in devlink request by @zhangzujian in #693
- fix staticcheck issues by @zhangzujian in #692
- Extend route unspecified operations by @bayrinat in #690
- Add linux route get oif option. by @ywc689 in #661
- link travis to builds, not image by @vishvananda in #698
- Use SyscallConn() instead of Fd() to persist TUN/TAP interface by @montag451 in #674
- Set NetNsId to -1 when attr is not specified by @Devatoria in #705
- Add support for NDA_FLAGS_EXT neighboring attribute by @borkmann in #707
- Support for devlink info command by @ipatrykx in #702
- Export LinkModify function by @tobias-urdin in #699
- filter: support tc police action by @Cordius in #640
- replace travis with github action by @vishvananda in #724
- Fix action by @vishvananda in #725
- skip flaky test in ci by @vishvananda in #726
- Adds ip6tunnel encap types, encap flags, and flags by @cjmakes in #715
- feat: add proc events support by @btwotch in #667
- Only set XFRMA_IF_ID if not 0 by @tklauser in #727
- rule: add support for ipproto - fix review comments by @glazychev-art in #728
- Fix darwin target compilation by @aditighag in #730
- Add mode/type support for IP tunnels using IPv4 addresses by @byteocean in #687
- Fix test on 32bit arch by @zhsj in #737
- Only set IFLA_XFRM_IF_ID if not 0 by @tklauser in #735
- Annotate errors using netlink error message. by @yzp0n in #731
- Parse program tag from the entire buffer by @Gui774ume in #745
- addr: add receive timeout option for AddrSubscribe by @dcbw in #741
- nl_linux: Set NETLINK_GET_STRICT_CHK on sockets by @cjmakes in #746
- fix: build failed on macos when use RT_FILTER_TABLE by @open-cmi in #733
New Contributors
- @belyalov made their first contribution in #516
- @amitn made their first contribution in #521
- @Jianlin-lv made their first contribution in #520
- @chendotjs made their first contribution in #511
- @stffabi made their first contribution in #524
- @alexforster made their first contribution in #540
- @christarazi made their first contribution in #538
- @gollub made their first contribution in #541
- @xaionaro made their first contribution in #464
- @aojea made their first contribution in #544
- @whywaita made their first contribution in #557
- @thaJeztah made their first contribution in #555
- @Cordius made their first contribution in #559
- @twelho made their first contribution in #554
- @maiqueb made their first contribution in #558
- @const86 made their first contribution in #535
- @tanbangcheng made their first contribution in #552
- @jcaamano made their first contribution in #527
- @imilchev made their first contribution in #570
- @killianmuldoon made their first contribution in #578
- @bianze made their first contribution in #569
- @riccardomanfrin made their first contribution in #594
- @Sauci made their first contribution in #593
- @shassard made their first contribution in #567
- @fach made their first contribution in #585
- @ahmetozer made their first contribution in #600
- @mlitvin made their first contribution in #582
- @pchaigno made their first contribution in #602
- @ArthurChiao made their first contribution in #614
- @yaocw2020 made their first contribution in #619
- @eh-steve made their first contribution in #617
- @mccv1r0 made their first contribution in #621
- @hmahmood made their first contribution in #623
- @RichardWeiYang made their first contribution in #607
- @bjosv made their first contribution in #635
- @Dongdong-Wang made their first contribution in #647
- @mitinarseny made their first contribution in #638
- @dennisafa made their first contribution in #653
- @milan-zededa made their first contribution in #654
- @oif made their first contribution in #655
- @jswantek made their first contribution in #665
- @bersoare made their first contribution in #645
- @sigmonsays made their first contribution in #673
- @thediveo made their first contribution in #689
- @fuweid made their first contribution in #641
- @lrh3321 made their first contribution in #656
- @tobias-urdin made their first contribution in #691
- @qdm12 made their first contribution in #688
- @zhangzujian made their first contribution in #693
- @bayrinat made their first contribution in #690
- @ywc689 made their first contribution in #661
- @montag451 made their first contribution in #674
- @Devatoria made their first contribution in #705
- @ipatrykx made their first contribution in #702
- @cjmakes made their first contribution in #715
- @btwotch made their first contribution in #667
- @glazychev-art made their first contribution in #728
- @aditighag made their first contribution in #730
- @byteocean made their first contribution in #687
- @zhsj made their first contribution in #737
- @yzp0n made their first contribution in #731
- @Gui774ume made their first contribution in #745
- @open-cmi made their first contribution in #733
Full Changelog: v1.1.0...v1.2.0-beta