|
1 # Path: c:\qospoliciesuid.ini |
|
2 extension_spec apn1 = { |
|
3 INTEGER type = 5 |
|
4 INTEGER extension_type = 5 |
|
5 INTEGER TrafficClassRequested = 1 |
|
6 INTEGER TransferDelayRequested = 500 |
|
7 INTEGER GuaBitrateDownlinkRequested = 2048 |
|
8 INTEGER GuaBitrateUplinkRequested = 1024 |
|
9 INTEGER HeaderCompressionRequested = 1 |
|
10 } |
|
11 |
|
12 # Default APN should always be specified! |
|
13 extension_spec default = { |
|
14 INTEGER type = 5 |
|
15 INTEGER extension_type = 5 |
|
16 INTEGER TrafficClassRequested = 4 |
|
17 INTEGER MaxBitrateUplinkRequested = 2048 |
|
18 INTEGER MaxBitrateDownlinkRequested = 2048 |
|
19 INTEGER GuaBitrateUplinkRequested = 1024 |
|
20 INTEGER GuaBitrateDownlinkRequested = 1024 |
|
21 INTEGER HeaderCompressionRequested = 1 |
|
22 } |
|
23 |
|
24 extension_spec rest = { |
|
25 INTEGER type = 5 |
|
26 INTEGER extension_type = 5 |
|
27 INTEGER TrafficClassRequested = 3 |
|
28 INTEGER MaxBitrateUplinkRequested = 2048 |
|
29 INTEGER MaxBitrateDownlinkRequested = 2048 |
|
30 INTEGER GuaBitrateUplinkRequested = 1024 |
|
31 INTEGER GuaBitrateDownlinkRequested = 1024 |
|
32 INTEGER HeaderCompressionRequested 1 |
|
33 } |
|
34 |
|
35 # FlowSpecs |
|
36 |
|
37 flowspec spec1 = { |
|
38 INTEGER uplink_bandwidth = 1024 |
|
39 INTEGER uplink_maximum_burst_size = 896 |
|
40 INTEGER uplink_maximum_packet_size = 768 |
|
41 INTEGER uplink_average_packet_size = 0 |
|
42 INTEGER uplink_delay = 0 |
|
43 INTEGER uplink_priority = 3 |
|
44 INTEGER downlink_bandwidth = 1025 |
|
45 INTEGER downlink_maximum_burst_size = 897 |
|
46 INTEGER downlink_maximum_packet_size = 769 |
|
47 INTEGER downlink_average_packet_size = 1 |
|
48 INTEGER downlink_delay = 1 |
|
49 INTEGER downlink_priority = 4 |
|
50 STRING name = myFlow |
|
51 } |
|
52 |
|
53 # Selectors |
|
54 extension_policy protocol 6 priority 1 = { apn1 } |
|
55 extension_policy dst_port 80 priority 1 = { apn1 } |
|
56 extension_policy dst_port 21 priority 1 = { rest } |
|
57 extension_policy dst_port 20 priority 1 = { rest } |
|
58 extension_policy src_port 0 src_port_max 65535 priority 1 = { default } |
|
59 |
|
60 |
|
61 # By test case 202 matching this selector, we know that policies can be matched via UIDs |
|
62 flowspec_policy protocol 17 priority 1 uid1 268435578 uid2 270504915 uid3 0 = { spec1 } |
|
63 |
|
64 |
|
65 |
|
66 |