project/qosify.git
3 years agoqosify-bpf: inline check_flow() to ensure that it is jited
Felix Fietkau [Thu, 4 Nov 2021 19:35:07 +0000 (20:35 +0100)]
qosify-bpf: inline check_flow() to ensure that it is jited

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomap: increase active timeout to 300
Felix Fietkau [Thu, 4 Nov 2021 14:04:30 +0000 (15:04 +0100)]
map: increase active timeout to 300

Matches a typical maximum HTTP keepalive timeout

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomap: add DF codepoint
Felix Fietkau [Thu, 4 Nov 2021 13:58:02 +0000 (14:58 +0100)]
map: add DF codepoint

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomap: improve timeout handling of IP entries
Felix Fietkau [Thu, 4 Nov 2021 13:55:12 +0000 (14:55 +0100)]
map: improve timeout handling of IP entries

Instead of expiring them at TTL, introduce an active timeout (default 60)
Whenever an IP entry expires, timeout gets reset to the active timeout
value. If during that time, a packet was seen matching the IP entry, the
timeout is automatically extended.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoloader: always reinitialize programs
Felix Fietkau [Thu, 4 Nov 2021 13:01:55 +0000 (14:01 +0100)]
loader: always reinitialize programs

Improves reliability of upgrading the package

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoREADME: fix another typo
Felix Fietkau [Wed, 3 Nov 2021 18:29:29 +0000 (19:29 +0100)]
README: fix another typo

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoREADME: fix typo
Felix Fietkau [Wed, 3 Nov 2021 18:28:50 +0000 (19:28 +0100)]
README: fix typo

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agointerface: enable NAT on interfaces by default
Felix Fietkau [Wed, 3 Nov 2021 18:25:32 +0000 (19:25 +0100)]
interface: enable NAT on interfaces by default

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomap: introduce low effort codepoint from RFC8622
Felix Fietkau [Wed, 3 Nov 2021 16:58:42 +0000 (17:58 +0100)]
map: introduce low effort codepoint from RFC8622

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoREADME: document mapping file syntax
Felix Fietkau [Wed, 3 Nov 2021 14:36:37 +0000 (15:36 +0100)]
README: document mapping file syntax

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoREADME: mention dns regex entries
Felix Fietkau [Wed, 3 Nov 2021 14:30:52 +0000 (15:30 +0100)]
README: mention dns regex entries

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoubus: add support for dynamically adding dns based rules
Felix Fietkau [Wed, 3 Nov 2021 14:26:40 +0000 (15:26 +0100)]
ubus: add support for dynamically adding dns based rules

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoubus: add api for providing dns lookup results for dns regex rules
Felix Fietkau [Wed, 3 Nov 2021 14:24:58 +0000 (15:24 +0100)]
ubus: add api for providing dns lookup results for dns regex rules

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoubus: remove unused enum
Felix Fietkau [Wed, 3 Nov 2021 11:29:05 +0000 (12:29 +0100)]
ubus: remove unused enum

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomap: add support for adding dns regex patterns
Felix Fietkau [Wed, 3 Nov 2021 11:27:11 +0000 (12:27 +0100)]
map: add support for adding dns regex patterns

This will be used for hostname based dscp mark rules

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomap: make a helper function for freeing entries
Felix Fietkau [Wed, 3 Nov 2021 10:13:53 +0000 (11:13 +0100)]
map: make a helper function for freeing entries

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoInitial import
Felix Fietkau [Tue, 12 Oct 2021 12:41:21 +0000 (14:41 +0200)]
Initial import

Signed-off-by: Felix Fietkau <nbd@nbd.name>