{"action":"created","issue":{"url":"https://api.github.com/repos/firehol/firehol/issues/317","repository_url":"https://api.github.com/repos/firehol/firehol","labels_url":"https://api.github.com/repos/firehol/firehol/issues/317/labels{/name}","comments_url":"https://api.github.com/repos/firehol/firehol/issues/317/comments","events_url":"https://api.github.com/repos/firehol/firehol/issues/317/events","html_url":"https://github.com/firehol/firehol/issues/317","id":302392566,"number":317,"title":"iproute2 version 4.15.0-1 stops FireQOS from classifying packets","user":{"login":"seii","id":8258251,"avatar_url":"https://avatars3.githubusercontent.com/u/8258251?v=4","gravatar_id":"","url":"https://api.github.com/users/seii","html_url":"https://github.com/seii","followers_url":"https://api.github.com/users/seii/followers","following_url":"https://api.github.com/users/seii/following{/other_user}","gists_url":"https://api.github.com/users/seii/gists{/gist_id}","starred_url":"https://api.github.com/users/seii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seii/subscriptions","organizations_url":"https://api.github.com/users/seii/orgs","repos_url":"https://api.github.com/users/seii/repos","events_url":"https://api.github.com/users/seii/events{/privacy}","received_events_url":"https://api.github.com/users/seii/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-05T17:32:38Z","updated_at":"2018-03-05T19:08:56Z","closed_at":"2018-03-05T19:08:47Z","author_association":"NONE","body":"I recently performed an upgrade on an Arch Linux ARM system and went from version `4.14.1-2` of the `iproute2` package to version `4.15.0-1`. Once I did so, running `fireqos status <name>` would display all the packet categories from `fireqos.conf`, but no traffic would actually classify into the categories and all rows would permanently display `-` instead of numbers. All packets would show under the `TOTAL` column, and would often have the \"delayed\" purple tag applied to that column.  \r\n\r\nThis behavior was observed across Linux kernel versions `4.14.3-1`, `4.15.6-1`, and `4.15.7-1`. (I'm guessing this means it's not a kernel problem.)\r\n\r\nUsing the configuration file below (real IPs replaced with masking):\r\n```\r\nFIREQOS_CONNMARK_RESTORE=\"act_connmark\"\r\n\r\nDEVICE=extern\r\nINPUT_SPEED=3217kbps\r\nOUTPUT_SPEED=570kbps\r\nLINKTYPE=\"adsl remote bridged-llc\"\r\n\r\nINPUT_MIN_SPEED=263kbit\r\nOUTPUT_MIN_SPEED=48kbit\r\n\r\nWORK_LAPTOP=\"X.X.X.X\"\r\nVOIP_PHONE=\"Y.Y.Y.Y\"\r\n\r\nWORK_MARK=\"connmark A\"\r\nVOIP_MARK=\"connmark B\"\r\n\r\nVOIP_RATE=\"90kbps\"\r\n\r\ninterface $DEVICE receive input rate $INPUT_SPEED $LINKTYPE\r\n   class voip commit $VOIP_RATE prio 2\r\n      #match dst $VOIP_PHONE\r\n      match $VOIP_MARK\r\n   class work commit 40% prio 3\r\n      #match dst $WORK_LAPTOP\r\n      match $WORK_MARK\r\n   class default\r\n\r\ninterface $DEVICE transmit output rate $OUTPUT_SPEED $LINKTYPE\r\n   class voip commit $VOIP_RATE prio 2\r\n      #match src $VOIP_PHONE\r\n      match $VOIP_MARK\r\n      match4 udp src \"${VOIP_PHONE}\"\r\n   class work commit 55% prio 3\r\n      #match src $WORK_LAPTOP\r\n      match $WORK_MARK\r\n   class default\r\n```\r\n\r\nWith iproute2 v4.14.1-2:\r\n```\r\nFIREQOS START\r\n-------------------------------------\r\n\r\n: interface extern receive input rate 3217kbps adsl remote bridged-llc (extern-ifb, 26353kbit, mtu 1500, quantum 1500, minrate 263kbit)\r\n:       class voip commit 90kbps prio 2 (1:11, 737/26353kbit, prio 2)\r\n:       class work commit 40% prio 3 (1:12, 10541/26353kbit, prio 3)\r\n:       class default (1:8000, 263/26353kbit, prio 4)\r\n:       committed rate 11541kbit (43%), the remaining 14811kbit will be spare bandwidth.\r\n\r\n: interface extern transmit output rate 570kbps adsl remote bridged-llc (extern, 4669kbit, mtu 1500, quantum 1500, minrate 46kbit)\r\n:       class voip commit 90kbps prio 2 (1:11, 737/4669kbit, prio 2)\r\n:       class work commit 55% prio 3 (1:12, 2567/4669kbit, prio 3)\r\n:       class default (1:8000, 46/4669kbit, prio 4)\r\n:       committed rate 3350kbit (71%), the remaining 1318kbit will be spare bandwidth.\r\n\r\n\r\nTC QDISC SHOW DEV EXTERN\r\n---------------------------\r\n\r\nqdisc htb 1: root refcnt 2 r2q 3 default 8000 direct_packets_stat 0 direct_qlen 1000\r\nqdisc fq_codel 12: parent 1:12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn\r\nqdisc fq_codel 11: parent 1:11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn\r\nqdisc fq_codel 13: parent 1:8000 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn\r\nqdisc ingress ffff: parent ffff:fff1 ----------------\r\n\r\n\r\nTC CLASS SHOW DEV EXTERN\r\n--------------------------\r\n\r\nclass htb 1:11 parent 1:1 leaf 11: prio 2 rate 737Kbit ceil 4669Kbit burst 1599b cburst 1599b\r\nclass htb 1:8000 parent 1:1 leaf 13: prio 4 rate 46Kbit ceil 4669Kbit burst 1599b cburst 1599b\r\nclass htb 1:1 root rate 4669Kbit ceil 4669Kbit burst 1599b cburst 1599b\r\nclass htb 1:12 parent 1:1 leaf 12: prio 3 rate 2567Kbit ceil 4669Kbit burst 1599b cburst 1599b\r\nclass fq_codel 11:359 parent 11:\r\nclass fq_codel 13:155 parent 13:\r\nclass fq_codel 13:1a2 parent 13:\r\nclass fq_codel 13:279 parent 13:\r\nclass fq_codel 13:3c2 parent 13:\r\nclass fq_codel 11:359 parent 11:\r\nclass fq_codel 13:155 parent 13:\r\nclass fq_codel 13:1a2 parent 13:\r\nclass fq_codel 13:279 parent 13:\r\nclass fq_codel 13:3c2 parent 13:\r\n\r\n\r\nTC FILTER SHOW DEV EXTERN\r\n----------------------------\r\n\r\nfilter parent 1: protocol ip pref 10 u32 chain 0\r\nfilter parent 1: protocol ip pref 10 u32 chain 0 fh 800: ht divisor 1\r\nfilter parent 1: protocol ip pref 10 u32 chain 0 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:11 not_in_hw\r\n  mark 0x0004 0x003f (success 3)\r\nfilter parent 1: protocol ip pref 20 u32 chain 0\r\nfilter parent 1: protocol ip pref 20 u32 chain 0 fh 801: ht divisor 1\r\nfilter parent 1: protocol ip pref 20 u32 chain 0 fh 801::800 order 2048 key ht 801 bkt 0 flowid 1:11 not_in_hw\r\n  match 00110000/00ff0000 at 8\r\n  match c0a8002c/ffffffff at 12\r\nfilter parent 1: protocol ip pref 30 u32 chain 0\r\nfilter parent 1: protocol ip pref 30 u32 chain 0 fh 802: ht divisor 1\r\nfilter parent 1: protocol ip pref 30 u32 chain 0 fh 802::800 order 2048 key ht 802 bkt 0 flowid 1:12 not_in_hw\r\n  mark 0x0003 0x003f (success 0)\r\n```\r\n\r\nWith iproute2 version 4.15.0-1:\r\n```\r\nFIREQOS START\r\n-------------------------------------\r\n\r\n: interface extern receive input rate 3217kbps adsl remote bridged-llc (extern-ifb, 26353kbit, mtu 1500, quantum 1500, minrate 263kbit)\r\n:       class voip commit 90kbps prio 2 (1:11, 737/26353kbit, prio 2)\r\n:       class work commit 40% prio 3 (1:12, 10541/26353kbit, prio 3)\r\n:       class default (1:8000, 263/26353kbit, prio 4)\r\n:       committed rate 11541kbit (43%), the remaining 14811kbit will be spare bandwidth.\r\n\r\n: interface extern transmit output rate 570kbps adsl remote bridged-llc (extern, 4669kbit, mtu 1500, quantum 1500, minrate 46kbit)\r\n:       class voip commit 90kbps prio 2 (1:11, 737/4669kbit, prio 2)\r\n:       class work commit 55% prio 3 (1:12, 2567/4669kbit, prio 3)\r\n:       class default (1:8000, 46/4669kbit, prio 4)\r\n:       committed rate 3350kbit (71%), the remaining 1318kbit will be spare bandwidth.\r\n\r\n\r\nTC QDISC SHOW DEV EXTERN\r\n---------------------------\r\n\r\nqdisc htb 1: root refcnt 2 r2q 3 default 32768 direct_packets_stat 1 direct_qlen 1000\r\nqdisc fq_codel 12: parent 1:12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn\r\nqdisc fq_codel 11: parent 1:11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn\r\nqdisc fq_codel 13: parent 1:8000 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn\r\nqdisc ingress ffff: parent ffff:fff1 ----------------\r\n\r\n\r\nTC CLASS SHOW DEV EXTERN\r\n--------------------------\r\n\r\nclass htb 1:11 parent 1:1 leaf 11: prio rate 737Kbit ceil 4669Kbit burst 1599b cburst 1599b\r\nclass htb 1:8000 parent 1:1 leaf 13: prio rate 46Kbit ceil 4669Kbit burst 1599b cburst 1599b\r\nclass htb 1:1 root rate 4669Kbit ceil 4669Kbit burst 1599b cburst 1599b\r\nclass htb 1:12 parent 1:1 leaf 12: prio rate 2567Kbit ceil 4669Kbit burst 1599b cburst 1599b\r\nclass fq_codel 13:df parent 13:\r\nclass fq_codel 13:fd parent 13:\r\nclass fq_codel 13:3dd parent 13:\r\nclass fq_codel 13:df parent 13:\r\nclass fq_codel 13:fd parent 13:\r\nclass fq_codel 13:3dd parent 13:\r\n\r\nTC FILTER SHOW DEV EXTERN\r\n----------------------------\r\n\r\nfilter parent 1: protocol ip pref 10 u32 chain 0\r\nfilter parent 1: protocol ip pref 10 u32 chain 0 fh 800: ht divisor 1\r\nfilter parent 1: protocol ip pref 10 u32 chain 0 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:11 not_in_hw\r\n  mark 0x0004 0x003f (success 0)\r\nfilter parent 1: protocol ip pref 20 u32 chain 0\r\nfilter parent 1: protocol ip pref 20 u32 chain 0 fh 801: ht divisor 1\r\nfilter parent 1: protocol ip pref 20 u32 chain 0 fh 801::800 order 2048 key ht 801 bkt 0 flowid 1:11 not_in_hw\r\n  match 00110000/00ff0000 at 8\r\n  match c0a8002c/ffffffff at 12\r\nfilter parent 1: protocol ip pref 30 u32 chain 0\r\nfilter parent 1: protocol ip pref 30 u32 chain 0 fh 802: ht divisor 1\r\nfilter parent 1: protocol ip pref 30 u32 chain 0 fh 802::800 order 2048 key ht 802 bkt 0 flowid 1:12 not_in_hw\r\n  mark 0x0003 0x003f (success 0)\r\n```"},"comment":{"url":"https://api.github.com/repos/firehol/firehol/issues/comments/370528472","html_url":"https://github.com/firehol/firehol/issues/317#issuecomment-370528472","issue_url":"https://api.github.com/repos/firehol/firehol/issues/317","id":370528472,"user":{"login":"ktsaou","id":2662304,"avatar_url":"https://avatars3.githubusercontent.com/u/2662304?v=4","gravatar_id":"","url":"https://api.github.com/users/ktsaou","html_url":"https://github.com/ktsaou","followers_url":"https://api.github.com/users/ktsaou/followers","following_url":"https://api.github.com/users/ktsaou/following{/other_user}","gists_url":"https://api.github.com/users/ktsaou/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsaou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsaou/subscriptions","organizations_url":"https://api.github.com/users/ktsaou/orgs","repos_url":"https://api.github.com/users/ktsaou/repos","events_url":"https://api.github.com/users/ktsaou/events{/privacy}","received_events_url":"https://api.github.com/users/ktsaou/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T19:08:56Z","updated_at":"2018-03-05T19:08:56Z","author_association":"OWNER","body":"merged it."}}
{"actor":{"display_login":"ktsaou"}}