Skip to content

Commit

Permalink
Note kernel requirements for QoS mark matching
Browse files Browse the repository at this point in the history
Based on info gathered in #231
  • Loading branch information
philwhineray committed Jul 11, 2017
1 parent 54a1dce commit be26792
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions doc/fireqos/fireqos-params-match.5.md
Expand Up @@ -220,8 +220,19 @@ hooks to allow matching MARKs. If you try it, FireQOS will attempt
to do it, but currently you will get an error from the tc(8) command
executed or they will be silently ignored by it.

On openwrt there is a module called `act_commark` that will enable
this feature.
On some Linux distributions (e.g. OpenWRT) there is a module called
`act_commark` that will enable this feature. Set this within your
`fireqos.conf` to enable it:

~~~~
FIREQOS_CONNMARK_RESTORE="act_connmark"
~~~~

Also note that matching marks requires a suitably configured kernel
(with `CONFIG_CLS_U32_MARK=y`). There is no error if the kernel is
not configured correctly; it just silently drops the rules. For details
see [this error report](https://github.com/firehol/firehol/issues/231).


## ports, sports, dports

Expand Down

0 comments on commit be26792

Please sign in to comment.