Re: netdata on openwrt collect tc-data with firehol from existing configuration
Holger <[email protected]> Tue, 21 Jun 2016 22:16:51 +0200
| Newsgroups | gmane.comp.security.firewalls.firehol.user |
|---|---|
| Message-ID | <[email protected]> |
Dear list, dear Costa, attached you find, what I get. I have no idea how to convert the information to a fireqos.conf. Could you give me a hint pls. Cheerio Holger Am 11.06.2016 um 09:53 schrieb Tsaousis, Costa: > Hi Holger, > > You can show the current classes with: > > tc -s -d -p class show dev $DEVICE > > and the current matches/filters these classes have with: > > tc -s -d -p filter show dev $DEVICE > > replace $DEVICE with your network interface > > You will have to build fireqos.conf yourself. > > Costa > > > > On Sat, Jun 11, 2016 at 3:46 AM, Holger <[email protected]> wrote: > >> Hej, >> >> I installed firehol/netdata on an openwrt router, which shows useful >> information. >> There is an existing tc / qos configuration and I would like to collect >> data from this configuration to see if and how the configuration works. >> >> Is it possible to use firehol or fireqos to collect data from an existing >> tc-configuration? >> How could I do this? >> >> Or is it mandatory to do the config with fireqos to get data? >> >> There is not that much room on a router to do all the funny thingies, so >> something slim would be nice. >> >> cheerio Holger >> _______________________________________________ >> Firehol-support mailing list >> [email protected] >> http://lists.firehol.org/mailman/listinfo/firehol-support > _______________________________________________ Firehol-support mailing list [email protected] http://lists.firehol.org/mailman/listinfo/firehol-support
ffvpn.fireqos.conf.txt
(text/plain, 3.9 KB)
class hfsc 1: root Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 0 level 2 class hfsc 1:1 parent 1: sc m1 0bit d 0us m2 1Gbit ul m1 0bit d 0us m2 1Gbit Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 922102 work 88531462 bytes level 1 class hfsc 1:10 parent 1:1 leaf 100: rt m1 583333Kbit d 0us m2 100Mbit ls m1 583333Kbit d 0us m2 555555Kbit ul m1 0bit d 0us m2 1Gbit Sent 790859 bytes 8420 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 8420 work 790859 bytes rtwork 790859 bytes level 0 class hfsc 1:20 parent 1:1 leaf 200: rt m1 532222Kbit d 1us m2 500Mbit ls m1 532222Kbit d 1us m2 277777Kbit ul m1 0bit d 0us m2 1Gbit Sent 375765 bytes 4554 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 4554 work 375765 bytes rtwork 375765 bytes level 0 class hfsc 1:30 parent 1:1 leaf 300: ls m1 0bit d 100.0ms m2 138888Kbit ul m1 0bit d 0us m2 1Gbit Sent 81580564 bytes 896914 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 895565 work 81580564 bytes level 0 class hfsc 1:40 parent 1:1 leaf 400: ls m1 0bit d 200.0ms m2 27777Kbit ul m1 0bit d 0us m2 1Gbit Sent 5784274 bytes 13563 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 13563 work 5784274 bytes level 0 class fq_codel 100:d1 parent 100: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 164 count 0 lastcount 0 ldelay 23us class fq_codel 200:5e parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 256 count 0 lastcount 0 ldelay 20us class fq_codel 200:92 parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 224 count 0 lastcount 0 ldelay 22us class fq_codel 200:98 parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit -8 count 0 lastcount 0 ldelay 22us class fq_codel 200:123 parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 224 count 0 lastcount 0 ldelay 23us class fq_codel 200:269 parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 224 count 0 lastcount 0 ldelay 22us class fq_codel 200:2ce parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 224 count 0 lastcount 0 ldelay 22us class fq_codel 200:3ad parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 256 count 0 lastcount 0 ldelay 21us class fq_codel 200:3fe parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 256 count 0 lastcount 0 ldelay 20us class fq_codel 300:1a5 parent 300: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 44 count 0 lastcount 0 ldelay 6us class fq_codel 300:387 parent 300: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 248 count 0 lastcount 0 ldelay 19us class fq_codel 400:b7 parent 400: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit -1259 count 0 lastcount 0 ldelay 18us filter parent 1: protocol ip pref 2 fw filter parent 1: protocol ip pref 2 fw handle 0x10/0xf0 classid 1:10 filter parent 1: protocol ip pref 3 fw filter parent 1: protocol ip pref 3 fw handle 0x1/0xf classid 1:10 filter parent 1: protocol ip pref 4 fw filter parent 1: protocol ip pref 4 fw handle 0x20/0xf0 classid 1:20 filter parent 1: protocol ip pref 5 fw filter parent 1: protocol ip pref 5 fw handle 0x2/0xf classid 1:20 filter parent 1: protocol ip pref 6 fw filter parent 1: protocol ip pref 6 fw handle 0x30/0xf0 classid 1:30 filter parent 1: protocol ip pref 7 fw filter parent 1: protocol ip pref 7 fw handle 0x3/0xf classid 1:30 filter parent 1: protocol ip pref 8 fw filter parent 1: protocol ip pref 8 fw handle 0x40/0xf0 classid 1:40 filter parent 1: protocol ip pref 9 fw filter parent 1: protocol ip pref 9 fw handle 0x4/0xf classid 1:40
ifb0.fireqos.conf.txt
(text/plain, 3.9 KB)
class hfsc 1: root Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 0 level 2 class hfsc 1:1 parent 1: sc m1 0bit d 0us m2 5Gbit ul m1 0bit d 0us m2 5Gbit Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 1273354 work 1337166734 bytes level 1 class hfsc 1:10 parent 1:1 leaf 100: rt m1 1133Mbit d 0us m2 500Mbit ls m1 1133Mbit d 0us m2 2777Mbit ul m1 0bit d 0us m2 5Gbit Sent 1243929 bytes 7243 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 7243 work 1243929 bytes rtwork 1243929 bytes level 0 class hfsc 1:20 parent 1:1 leaf 200: rt m1 2605Mbit d 0us m2 2500Mbit ls m1 2605Mbit d 0us m2 1388Mbit ul m1 0bit d 0us m2 5Gbit Sent 1065203 bytes 8556 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 8556 work 1065203 bytes rtwork 1065203 bytes level 0 class hfsc 1:30 parent 1:1 leaf 300: ls m1 0bit d 100.0ms m2 694444Kbit ul m1 0bit d 0us m2 5Gbit Sent 1333760240 bytes 1249339 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 1249339 work 1333760240 bytes level 0 class hfsc 1:40 parent 1:1 leaf 400: ls m1 0bit d 200.0ms m2 138888Kbit ul m1 0bit d 0us m2 5Gbit Sent 1097362 bytes 8216 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 period 8216 work 1097362 bytes level 0 class fq_codel 100:bf parent 100: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 180 count 0 lastcount 0 ldelay 23us class fq_codel 100:217 parent 100: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 180 count 0 lastcount 0 ldelay 20us class fq_codel 100:245 parent 100: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 44 count 0 lastcount 0 ldelay 21us class fq_codel 100:318 parent 100: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 132 count 0 lastcount 0 ldelay 21us class fq_codel 200:ba parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 224 count 0 lastcount 0 ldelay 18us class fq_codel 200:16c parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 224 count 0 lastcount 0 ldelay 22us class fq_codel 200:285 parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 212 count 0 lastcount 0 ldelay 22us class fq_codel 200:28f parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 224 count 0 lastcount 0 ldelay 21us class fq_codel 200:300 parent 200: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 224 count 0 lastcount 0 ldelay 21us class fq_codel 300:90 parent 300: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit -1056 count 0 lastcount 0 ldelay 19us class fq_codel 300:2cc parent 300: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 245 count 0 lastcount 0 ldelay 18us class fq_codel 400:100 parent 400: (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 deficit 45 count 0 lastcount 0 ldelay 19us filter parent 1: protocol ip pref 2 fw filter parent 1: protocol ip pref 2 fw handle 0x1/0xf classid 1:10 filter parent 1: protocol ip pref 3 fw filter parent 1: protocol ip pref 3 fw handle 0x10/0xf0 classid 1:10 filter parent 1: protocol ip pref 4 fw filter parent 1: protocol ip pref 4 fw handle 0x2/0xf classid 1:20 filter parent 1: protocol ip pref 5 fw filter parent 1: protocol ip pref 5 fw handle 0x20/0xf0 classid 1:20 filter parent 1: protocol ip pref 6 fw filter parent 1: protocol ip pref 6 fw handle 0x3/0xf classid 1:30 filter parent 1: protocol ip pref 7 fw filter parent 1: protocol ip pref 7 fw handle 0x30/0xf0 classid 1:30 filter parent 1: protocol ip pref 8 fw filter parent 1: protocol ip pref 8 fw handle 0x4/0xf classid 1:40 filter parent 1: protocol ip pref 9 fw filter parent 1: protocol ip pref 9 fw handle 0x40/0xf0 classid 1:40