Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
Traffic Shaper Pipes - expose packet loss & delay
« previous
next »
Print
Pages: [
1
]
Author
Topic: Traffic Shaper Pipes - expose packet loss & delay (Read 3736 times)
namezero111111
Jr. Member
Posts: 94
Karma: 10
Traffic Shaper Pipes - expose packet loss & delay
«
on:
February 02, 2018, 01:24:05 pm »
Dear folks,
As far as I can see creating artificial delay and packet loss is not exposed via the WebGUI for pipes.
Would those parameters be terribly difficult to add?
This is useful in test environments to simulate network conditions.
Do you think this would be useful?
Logged
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: Traffic Shaper Pipes - expose packet loss & delay
«
Reply #1 on:
February 03, 2018, 08:35:05 pm »
Hi there,
Yes, they would be nice to have.
The configuration model needs tweaks, the ui (form) needs to know about them and then the last step is writing these into the rule template...
Not sure if they belong to pipes queues or rules, but we should hide them under "advanced" to make clear they are not for normal setups.
Step 1:
https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml
Step 2:
https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/controllers/OPNsense/TrafficShaper/forms/dialogRule.xml
Step 3:
https://github.com/opnsense/core/blob/master/src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf
Step 4 (bonus):
https://github.com/opnsense/core/compare
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
Traffic Shaper Pipes - expose packet loss & delay