okda-networks / tc-acls-sysrepo-plugin

Linux TC sysrepo plugin
GNU General Public License v3.0
3 stars 0 forks source link

change of port from operator based match to range fails without notifying sysrepo #28

Closed adaraiseh closed 9 months ago

adaraiseh commented 9 months ago

1- set port to range:

<tcp>
  <source-port>
    <lower-port>3000</lower-port>
    <upper-port>4000</upper-port>
  </source-port>
</tcp>

2- change range to operator based match:

<tcp>
  <source-port>
    <operator>gte</operator>
    <port>4000</port>
  </source-port>
</tcp>

3- The change will not get reflected to linux tc.

The opposite is also true: 1- set port to operator based match. 2- change the match to a range. 3- the change will not get reflected to linux tc.