From make15 at yahoo.com Mon Mar 4 12:52:03 2024 From: make15 at yahoo.com (Ma Ke) Date: Mon, 4 Mar 2024 12:52:03 +0000 (UTC) Subject: fireqos doesnt match concurrent connections References: <912220020.6037789.1709556723995.ref@mail.yahoo.com> Message-ID: <912220020.6037789.1709556723995@mail.yahoo.com> Hello Everyone,I need some help with my fireqos configuration.I have a ubuntu server sourcing RTSP stream on port 2554.I have configured QoS as follows: DEVICE=eth0 INPUT_SPEED=9000kbit OUTPUT_SPEED=9000kbit interface $DEVICE world-in input rate $INPUT_SPEED balanced         class rtsp                                                match tcp dports 2554                  class vpn                 match udp dport 1194 interface $DEVICE world-out output rate $OUTPUT_SPEED balanced         class rtsp                 match tcp sports 2554         class vpn                 match udp sport 1194 The first connection to  the stream will be matched and put into the right class. ubuntu at ip-172-31-5-92:/etc/firehol$ sudo fireqos status world-out FireQOS 3.1.7 (C) 2013-2014 Costa Tsaousis, GPL world-out: eth0 output => eth0, type: , overhead: Rate: 9000Kbit/s, min: 90Kbit/s Values in Kbit/s  CLASS   mgmt   rtsp    vpn defaul CLASSI   1:11   1:12   1:13 1:8000 COMMIT     90     90     90     90    MAX   9000   9000   9000   9000 PRIORI      4      4      4      4  QDISC fq_cod fq_cod fq_cod fq_cod  color code (packets):  backlog  |  dropped  |  delayed  |  requeued  Class Utilization on world-out (eth0 output => eth0) - values in Kbit/s  TOTAL   mgmt   rtsp    vpn defaul    219     20    193      6      -     82     16     61      6      -     84      8     72      3      -     85      6     75      3      -    221      8    201     12      -     74      6     62      6      -     68      6     58      3      -     57      6     46      5      -    121      9    107      5      -     36      6     28      2      -     38      6     31      2      -     40      6     30      4      -    109      6     98      5      - If I connect to the RTSP stream with another client. the connection will go to defaultubuntu at ip-172-31-5-92:/etc/firehol$ sudo fireqos status world-out FireQOS 3.1.7 (C) 2013-2014 Costa Tsaousis, GPL world-out: eth0 output => eth0, type: , overhead: Rate: 9000Kbit/s, min: 90Kbit/s Values in Kbit/s  CLASS   mgmt   rtsp    vpn defaul CLASSI   1:11   1:12   1:13 1:8000 COMMIT     90     90     90     90    MAX   9000   9000   9000   9000 PRIORI      4      4      4      4  QDISC fq_cod fq_cod fq_cod fq_cod  color code (packets):  backlog  |  dropped  |  delayed  |  requeued  Class Utilization on world-out (eth0 output => eth0) - values in Kbit/s  TOTAL   mgmt   rtsp    vpn defaul    216     20     84     16     96   1024     15    175     36    798    995      6     65     61    862    175      6     74      8     86    181      6     69     23     83    259      6    124      7    122    214      9     99      9     97    297      9     80     18    191   1650      3    110     92   1445    407      7    194     13    192    197      6     76     19     95 I am not sure how to solve this.please helpmake