Enhancement #2112

Traffic shaping: refactor templates to correctly handle traffic priorities

Added by Giacomo Sanchietti almost 8 years ago. Updated almost 8 years ago.

Status:CLOSEDStart date:
Priority:NormalDue 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 of kbps 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

Revision 3ab5e7b7
Added by Giacomo Sanchietti almost 8 years ago

createlinks: expand shorewall.conf on nethserver-firewall-base-update and nethserver-firewall-base-save events. Refs #2112

Revision 20168894
Added by Giacomo Sanchietti almost 8 years ago

tcpri template: remove priority assignment to ethernet interfaces. Refs #2112

Revision c881f514
Added by Giacomo Sanchietti almost 8 years ago

tcinterfaces template: use kbit instead of kbps. Refs #2112

Revision 9d4499fa
Added by Giacomo Sanchietti almost 8 years ago

web ui: fix priority labels, remove priority assignment to ethernet interfaces, replace priority number with label on table view. Refs #2112

Revision 18cf7bd1
Added by Giacomo Sanchietti almost 8 years ago

tcpri template: set icmp echo traffic to high priority. Refs #2112

Revision be040cf2
Added by Davide Principi almost 8 years ago

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
New package in nethserver-testing:
  • 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

Also available in: Atom PDF