Project

General

Profile

Bug #8973 ยป limiters+rule.xml

Victor Preatoni, 09/28/2018 10:15 AM

 
1
    <rule>
2
			<id></id>
3
			<tracker>0100000101</tracker>
4
			<type>pass</type>
5
			<interface>lan</interface>
6
			<ipprotocol>inet</ipprotocol>
7
			<tag></tag>
8
			<tagged></tagged>
9
			<max></max>
10
			<max-src-nodes></max-src-nodes>
11
			<max-src-conn></max-src-conn>
12
			<max-src-states></max-src-states>
13
			<statetimeout></statetimeout>
14
			<statetype><![CDATA[keep state]]></statetype>
15
			<os></os>
16
			<protocol>tcp/udp</protocol>
17
			<source>
18
				<network>lan</network>
19
			</source>
20
			<destination>
21
				<any></any>
22
				<port>navegacion_libre</port>
23
			</destination>
24
			<descr><![CDATA[Navegacion libre]]></descr>
25
			<gateway>TC_failover_WiFi</gateway>
26
			<dnpipe>qLANupload</dnpipe>
27
			<pdnpipe>qLANdownload</pdnpipe>
28
			<updated>
29
				<time>1537917880</time>
30
				<username>admin@192.168.211.50 (Local Database)</username>
31
			</updated>
32
	</rule>
33

    
34
	<dnshaper>
35
		<queue>
36
			<name>DownloadLimiterTELECENTRO</name>
37
			<number>1</number>
38
			<qlimit></qlimit>
39
			<plr></plr>
40
			<description></description>
41
			<bandwidth>
42
				<item>
43
					<bw>9500</bw>
44
					<burst></burst>
45
					<bwscale>Kb</bwscale>
46
					<bwsched>none</bwsched>
47
				</item>
48
			</bandwidth>
49
			<enabled>on</enabled>
50
			<buckets></buckets>
51
			<mask>none</mask>
52
			<maskbits></maskbits>
53
			<maskbitsv6></maskbitsv6>
54
			<delay>0</delay>
55
			<sched>fifo</sched>
56
			<aqm>droptail</aqm>
57
			<ecn></ecn>
58
			<queue>
59
				<name>qLANdownload</name>
60
				<number>1</number>
61
				<qlimit></qlimit>
62
				<description></description>
63
				<weight>20</weight>
64
				<enabled>on</enabled>
65
				<buckets></buckets>
66
				<mask>dstaddress</mask>
67
				<maskbits>32</maskbits>
68
				<maskbitsv6>128</maskbitsv6>
69
				<aqm>droptail</aqm>
70
				<ecn></ecn>
71
				<param_codel_target>5</param_codel_target>
72
				<param_codel_interval>100</param_codel_interval>
73
			</queue>
74
			<queue>
75
				<name>qGUESTdownload</name>
76
				<number>2</number>
77
				<qlimit></qlimit>
78
				<description></description>
79
				<weight>1</weight>
80
				<enabled>on</enabled>
81
				<buckets></buckets>
82
				<mask>dstaddress</mask>
83
				<maskbits>32</maskbits>
84
				<maskbitsv6>128</maskbitsv6>
85
				<aqm>droptail</aqm>
86
				<ecn></ecn>
87
			</queue>
88
		</queue>
89
		<queue>
90
			<name>UploadLimiterTELECENTRO</name>
91
			<number>2</number>
92
			<qlimit></qlimit>
93
			<plr></plr>
94
			<description></description>
95
			<bandwidth>
96
				<item>
97
					<bw>950</bw>
98
					<burst></burst>
99
					<bwscale>Kb</bwscale>
100
					<bwsched>none</bwsched>
101
				</item>
102
			</bandwidth>
103
			<enabled>on</enabled>
104
			<buckets></buckets>
105
			<mask>none</mask>
106
			<maskbits></maskbits>
107
			<maskbitsv6></maskbitsv6>
108
			<delay>0</delay>
109
			<sched>fifo</sched>
110
			<aqm>droptail</aqm>
111
			<ecn></ecn>
112
			<queue>
113
				<name>qLANupload</name>
114
				<number>3</number>
115
				<qlimit></qlimit>
116
				<description></description>
117
				<weight>20</weight>
118
				<enabled>on</enabled>
119
				<buckets></buckets>
120
				<mask>srcaddress</mask>
121
				<maskbits>32</maskbits>
122
				<maskbitsv6>128</maskbitsv6>
123
				<aqm>droptail</aqm>
124
				<ecn></ecn>
125
			</queue>
126
			<queue>
127
				<name>qGUESTupload</name>
128
				<number>4</number>
129
				<qlimit></qlimit>
130
				<description></description>
131
				<weight>1</weight>
132
				<enabled>on</enabled>
133
				<buckets></buckets>
134
				<mask>srcaddress</mask>
135
				<maskbits>32</maskbits>
136
				<maskbitsv6>128</maskbitsv6>
137
				<aqm>droptail</aqm>
138
				<ecn></ecn>
139
			</queue>
140
		</queue>
141
	</dnshaper>
142
</pfsense>
    (1-1/1)