blob: c7c2472cc8a6635bc12cdbc90be3c64bdc05384a [file] [log] [blame]
Dimitrios Mavrommatis0774a592017-12-21 14:57:52 -08001[GLOBAL]
2NUM_ADC_RULES = 5
3
4;FORMAT ::
5;ADC_TYPE : [ DOMAIN = 0 | IP = 1 | IP PREFIX =2 ]
6;
7;if ADC_TYPE = 0
8; DOMAIN
9;elseif ADC_TYPE = 1
10; IP
11;elseif ADC_TYPE = 2
12; IP
13; PREFIX
14;else
15; NONE
16;
17;GATE_STATUS : DROP [ 0 if DROP, 1 otherwise ]
18;RATING_GROUP
19;SERVICE_ID
20;PRECEDENCE = 0x1ffffffe(536870910) - default value
21;MTR_PROFILE_INDEX
22;SPONSOR_ID
23;TARIFF_GROUP
24;TARIFF_TIME
25;
26;NOTE :
27;Rules defined first have a higher priority, unless DROP is specified
28;(i.e. multiple rules for the same IP).
29;
30;Set Meter profile index to 0 to skip the metering.
31;
32;When specifying DROP with an IP address, use a prefix of 32 to prevent DNS
33;results from overwriting rule.
34
35[ADC_RULE_0]
36ADC_TYPE = 1
37IP = 13.1.1.111
38GATE_STATUS = 1
39RATING_GROUP = Zero-Rate
40SERVICE_ID = Internet
41PRECEDENCE = 536870910
42MTR_PROFILE_INDEX = 7
43SPONSOR = Example
44
45[ADC_RULE_1]
46ADC_TYPE = 2
47IP = 13.1.1.112
48PREFIX = 24
49GATE_STATUS = 1
50RATING_GROUP = Zero-Rate
51SERVICE_ID = Management
52PRECEDENCE = 536870910
53MTR_PROFILE_INDEX = 7
54SPONSOR = Example
55
56[ADC_RULE_2]
57ADC_TYPE = 1
58IP = 13.1.1.113
59GATE_STATUS = 1
60RATING_GROUP = Zero-Rate
61SERVICE_ID = Provisioning
62PRECEDENCE = 536870910
63MTR_PROFILE_INDEX = 7
64SPONSOR = Example
65
66[ADC_RULE_3]
67ADC_TYPE = 0
68DOMAIN = www.example.gov
69GATE_STATUS = 1
70RATING_GROUP = Zero-Rate
71SERVICE_ID = Internet
72PRECEDENCE = 536870910
73MTR_PROFILE_INDEX = 7
74SPONSOR = Example
75
76[ADC_RULE_4]
77ADC_TYPE = 0
78DOMAIN = www.drop_example.com
79GATE_STATUS = 0
80RATING_GROUP = 0
81SERVICE_ID = CIPA
82PRECEDENCE = 536870910
83MTR_PROFILE_INDEX = 0
84SPONSOR = Example
85