Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
8b994d62
Commit
8b994d62
authored
May 18, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(traffic shaper) work in progress integrating dummynet pipes
parent
8cefe409
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
40 deletions
+49
-40
TrafficShaper.xml
...e/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml
+42
-40
ipfw.conf
src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf
+7
-0
No files found.
src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml
View file @
8b994d62
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
OPNsense traffic shaper
OPNsense traffic shaper
</description>
</description>
<items>
<items>
<pipes>
<pipe
type=
"ArrayField"
>
<pipe
type=
"ArrayField"
>
<number
type=
"IntegerField"
>
<number
type=
"IntegerField"
>
<MinimumValue>
1
</MinimumValue>
<MinimumValue>
1
</MinimumValue>
...
@@ -44,5 +45,6 @@
...
@@ -44,5 +45,6 @@
<Required>
N
</Required>
<Required>
N
</Required>
</description>
</description>
</pipe>
</pipe>
</pipes>
</items>
</items>
</model>
</model>
src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf
View file @
8b994d62
...
@@ -24,6 +24,13 @@
...
@@ -24,6 +24,13 @@
#======================================================================================
#======================================================================================
flush
flush
#======================================================================================
# define dummynet pipes
#======================================================================================
{%
if
helpers
.
exists
(
'OPNsense.TrafficShaper.pipe'
) %}
{%
endif
%}
#======================================================================================
#======================================================================================
# general purpose rules 1...1000
# general purpose rules 1...1000
#======================================================================================
#======================================================================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment