1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-26 09:37:44 +02:00
Go to file
Tong Zhang 0483b8dc88 nft-qos: support mac address based speed limit
This patch makes it possible to configure and limit per-client internet
speed based on MAC address and it can work with SQM.
This feature is what OpenWRT currently lacks. This patch is largely based
on static.sh and the configuration file is similar to original nft-qos.

New configuration options and examples are listed below

config default 'default'
    option limit_mac_enable '1'
config client
	option drunit 'kbytes'
	option urunit 'kbytes'
	option hostname 'tv-box'
	option macaddr 'AB:CD:EF:01:23:45'
	option drate '1000'
	option urate '50'
config client
	option drunit 'kbytes'
	option urunit 'kbytes'
	option hostname 'my-pc'
	option macaddr 'AB:CD:EF:01:23:46'
	option drate '3000'
	option urate '2000'

limit_mac_enable - enable rate limit based on MAC address
drunit - download rate unit
urunit - upload rate unit
macaddr - client MAC address
drate - download rate
urate - upload rate

Signed-off-by: Tong Zhang <ztong0001@gmail.com>
2020-08-19 09:39:57 -04:00
.circleci circleci: Revert switch to CDN due to breakage 2019-11-22 23:19:56 +01:00
.github repo: Add more information to the issue template 2019-04-07 20:18:55 +00:00
.keys
admin netdata: update to version 1.23.2 2020-07-24 15:40:17 +02:00
devel scons: update to 4.0.1 2020-08-05 00:53:13 -07:00
fonts/dejavu-fonts-ttf
ipv6 tayga: PKG_RELEASE increased 2020-08-05 21:19:22 +01:00
kernel ksmbd: update to 3.2.4 2020-07-31 00:55:08 +02:00
lang php7: update to 7.4.9 2020-08-12 23:15:44 +02:00
libs Merge pull request #13030 from neheb/getdn 2020-08-12 13:11:15 -07:00
mail Merge pull request #13063 from neheb/sendm 2020-08-12 13:10:19 -07:00
multimedia Merge pull request #13075 from neheb/tvh 2020-08-12 13:09:27 -07:00
net nft-qos: support mac address based speed limit 2020-08-19 09:39:57 -04:00
sound Merge pull request #13062 from neheb/mpd-ffm 2020-08-12 13:12:36 -07:00
utils nano: update to 5.1 2020-08-12 22:53:37 +03:00
.travis_do.sh travis: use mpc85xx-p2020 sdk instead of ar71xx 2020-06-18 13:58:09 +02:00
.travis.yml travis: improve build config 2020-06-19 21:16:52 +02:00
CONTRIBUTING.md CONTRIBUTING.md: update Identifier for Licenses 2019-04-18 12:07:48 +02:00
LICENSE
README.md Update the SDK URL in the README. 2020-05-24 14:50:30 -07:00

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.