Enhancement #2112
Traffic shaping: refactor templates to correctly handle traffic priorities
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-firewall-base | |||
Target version: | v6.4-beta2 | |||
Resolution: | NEEDINFO: | No |
Description
- Remove priority assignment to ethernet interfaces
- Max priority is 1, lower is 3
- Enable/disable traffic shaping (just expand /etc/shorewall/shorewall.conf in firewall events)
- Use
kbit
instead ofkbps
in /etc/e-smith/templates/etc/shorewall/tcinterfaces/20interfaces - Replace priority number with label on table view
- ICMP traffic should always have maximum priority
See: http://edseek.com/~jasonb/articles/traffic_shaping/scenarios.html
Associated revisions
createlinks: expand shorewall.conf on nethserver-firewall-base-update and nethserver-firewall-base-save events. Refs #2112
tcpri template: remove priority assignment to ethernet interfaces. Refs #2112
tcinterfaces template: use kbit instead of kbps. Refs #2112
web ui: fix priority labels, remove priority assignment to ethernet interfaces, replace priority number with label on table view. Refs #2112
tcpri template: set icmp echo traffic to high priority. Refs #2112
TrafficShaping UI module: fixed it language catalog. Refs #2112
History
#1 Updated by Giacomo Sanchietti almost 8 years ago
- Description updated (diff)
- Status changed from NEW to TRIAGED
- % Done changed from 0 to 20
#2 Updated by Giacomo Sanchietti almost 8 years ago
- Status changed from TRIAGED to ON_DEV
- % Done changed from 20 to 30
#3 Updated by Giacomo Sanchietti almost 8 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#4 Updated by Giacomo Sanchietti almost 8 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
- nethserver-firewall-base-1.0.4-8.0git18cf7bd1
The package is currently in testing on our firewall.
Some testing on web ui:- check priority label: low = 3, medium = 2, high =1
- priority must always be shown as a label
#5 Updated by Davide Principi almost 8 years ago
- Assignee set to Davide Principi
#6 Updated by Davide Principi almost 8 years ago
- Status changed from ON_QA to VERIFIED
- Assignee deleted (
Davide Principi) - % Done changed from 70 to 90
VERIFIED
All UI priority labels are OK
# rpm -qa | grep -F .ns6 nethserver-php-1.1.0-1.ns6.noarch nethserver-smartd-1.0.0-1.ns6.noarch nethserver-yum-1.1.1-1.ns6.noarch postfix-2.9.6-2.ns6.x86_64 nethserver-base-1.4.0-15.0git1287cc29.ns6.noarch nethserver-shorewall-1.0.1-1.ns6.noarch nethserver-grub-1.0.1-1.ns6.noarch nethserver-openssh-1.0.2-1.ns6.noarch nethserver-lib-1.3.1-1.ns6.noarch nethserver-ntp-1.0.4-1.ns6.noarch nethserver-nethgui-1.2.3-1.ns6.noarch nethserver-httpd-admin-1.0.4-7.0git9c9f9aa3.ns6.noarch nethserver-firewall-base-1.0.4-8.0git18cf7bd1.ns6.noarch
#7 Updated by Davide Principi almost 8 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
In nethserver-updates:
nethserver-base-1.4.1-1.ns6.noarch.rpm
nethserver-httpd-admin-1.0.5-1.ns6.noarch.rpm
nethserver-firewall-base-1.0.5-1.ns6.noarch.rpm