File: ip-test.xml

package info (click to toggle)
libvirt 0.8.3-5%2Bsqueeze5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 77,288 kB
  • ctags: 30,516
  • sloc: ansic: 177,367; xml: 26,161; sh: 13,271; python: 4,929; makefile: 2,083; ml: 472; perl: 221; awk: 48; sed: 16
file content (34 lines) | stat: -rw-r--r-- 1,156 bytes parent folder | download | duplicates (15)
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
<filter name='testcase'>
  <uuid>5c6d49af-b071-6127-b4ec-6f8ed4b55335</uuid>
  <rule action='accept' direction='out'>
     <ip  srcmacaddr='1:2:3:4:5:6' srcmacmask='ff:ff:ff:ff:ff:ff'
          dstmacaddr='aa:bb:cc:dd:ee:ff' dstmacmask='ff:ff:ff:ff:ff:ff'
          srcipaddr='10.1.2.3' srcipmask='255.255.255.255'
          dstipaddr='10.1.2.3' dstipmask='255.255.255.255'
          protocol='udp'
          srcportstart='20' srcportend='22'
          dstportstart='100' dstportend='101'
      />
  </rule>

  <rule action='accept' direction='out'>
     <ip  srcipaddr='10.1.2.3' srcipmask='255.255.128.0'
          dstipaddr='10.1.2.3' dstipmask='255.255.255.0'
          protocol='17' dscp='63'
      />
  </rule>

  <rule action='accept' direction='in'>
     <ip  srcipaddr='10.1.2.3' srcipmask='255.255.255.254'
          dstipaddr='10.1.2.3' dstipmask='255.255.255.128'
          protocol='255' dscp='64'
      />
  </rule>

  <rule action='accept' direction='inout'>
     <ip  srcipaddr='10.1.2.3' srcipmask='255.255.255.127'
          dstipaddr='10.1.2.3' dstipmask='255.255.255.254'
          protocol='256' dscp='64'
      />
  </rule>
</filter>