Public bug reported:

Steps to reproduce:

    tc qdisc add dev eth0 root handle 1: htb
    tc class add dev eth0 parent 1: classid 1:1 htb rate 1024Kbit
    ipset create mytest hash:net
    tc filter add dev eth0 protocol ip parent 1:0 prio 1 basic match 
'ipset(mytest src)' classid 1:1

Last command fails with the message:

    Unknown ematch "ipset"
    Illegal "ematch"

It works well with 18.04. On 20.04 machine it also works fine inside
Ubuntu 18.04 LXD container.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: iproute2 5.5.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-51.56-generic 5.4.65
Uname: Linux 5.4.0-51-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Mar 22 16:18:17 2021
SourcePackage: iproute2
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: iproute2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal uec-images

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to iproute2 in Ubuntu.
Matching subscriptions: iproute2
https://bugs.launchpad.net/bugs/1920794

Title:
  tc tool does not accept ipset match

Status in iproute2 package in Ubuntu:
  New

Bug description:
  Steps to reproduce:

      tc qdisc add dev eth0 root handle 1: htb
      tc class add dev eth0 parent 1: classid 1:1 htb rate 1024Kbit
      ipset create mytest hash:net
      tc filter add dev eth0 protocol ip parent 1:0 prio 1 basic match 
'ipset(mytest src)' classid 1:1

  Last command fails with the message:

      Unknown ematch "ipset"
      Illegal "ematch"

  It works well with 18.04. On 20.04 machine it also works fine inside
  Ubuntu 18.04 LXD container.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: iproute2 5.5.0-1ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-51.56-generic 5.4.65
  Uname: Linux 5.4.0-51-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27.9
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Mon Mar 22 16:18:17 2021
  SourcePackage: iproute2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1920794/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to