aboutsummaryrefslogtreecommitdiff
blob: 556796fa0110333d41bcdc3ceda057ab5246e262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<filter name='testcase'>
  <uuid>5c6d49af-b071-6127-b4ec-6f8ed4b55335</uuid>
  <rule action='accept' direction='out'>
     <ipv6 srcmacaddr='1:2:3:4:5:6' srcmacmask='ff:ff:ff:ff:ff:fe'
           dstmacaddr='aa:bb:cc:dd:ee:ff' dstmacmask='ff:ff:ff:ff:ff:80'
           srcipaddr='::10.1.2.3' srcipmask='22'
           dstipaddr='::10.1.2.3'
           dstipmask='ffff:ffff:ffff:ffff:ffff:ffff:ffff:8000'
           protocol='udp'
           srcportstart='20' srcportend='22'
           dstportstart='100' dstportend='101'
      />
  </rule>

  <rule action='accept' direction='inout'>
     <ipv6 srcipaddr='1::2' srcipmask='128'
           dstipaddr='a:b:c::'
           dstipmask='ffff:ffff:ffff:ffff:8000::'
           protocol='6'
           srcportstart='20' srcportend='22'
           dstportstart='100' dstportend='101'
      />
  </rule>

  <rule action='accept' direction='inout'>
     <ipv6 srcipaddr='1::2' srcipmask='128'
           dstipaddr='a:b:c::'
           dstipmask='ffff:ffff:ffff:ffff:8000::'
           protocol='6'
           srcportstart='255' srcportend='256'
           dstportstart='65535' dstportend='65536'
      />
  </rule>

  <rule action='accept' direction='inout'>
     <ipv6 srcipaddr='1::2' srcipmask='128'
           dstipaddr='a:b:c::'
           dstipmask='ffff:ffff:ffff:ffff:8000::'
           protocol='18'
      />
  </rule>

</filter>