~mathiaz/apparmor/ubuntu-mathiaz

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/netdomain_bad_8.sd

  • Committer: Mathias Gug
  • Date: 2008-02-04 18:57:00 UTC
  • mfrom: (885.1.5 apparmor)
  • Revision ID: mathiaz@ubuntu.com-20080204185700-wwlyq0ksssxclv8w
Merge  ubuntu branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# $Id: tcp_client_ok4.sd 66 2006-06-01 18:02:28Z steve-beattie $
 
3
#=DESCRIPTION netdomain tcp (accept,connect), udp (send,receive) conglomerate test
 
4
#=EXRESULT FAIL
 
5
#
 
6
/tmp/tcp/tcp_client {
 
7
  tcp_connect to 10.0.0.17/16:50-100 from 0.0.0.0:50-100 via eth1,
 
8
  tcp_connect to 127.0.0.1,
 
9
  tcp_connect from 12.13.14.15/31:21,
 
10
  tcp_accept from 12.13.15.128/25:1024-2048 via eth2,
 
11
  tcp_accept from 10.0.1.1/24:1024-2048 to 192.168.1.1:70 via eth2:1,
 
12
  tcp_accept to 192.168.2.1:70 from 10.0.2.1/24:1024-2048 via eth2:2,
 
13
  tcp_connect to 192.168.3.1:70 from 10.0.3.1/24:1024-2048 via eth2:3,
 
14
  tcp_connect from 10.0.4.1/24:1024-2048 to 192.168.4.1:70 via eth2:4,
 
15
# syntactic suger cdub asked for:
 
16
  udp_send via eth0,
 
17
  udp_receive via eth1,
 
18
# attempt an ip style netmask
 
19
  tcp_connect from 10.0.4.1/255.0.255.0:1024-2048 to 192.168.4.1:70 via eth2:4,
 
20
  /lib/libc.so.6        r,
 
21
  /lib/ld-linux.so.2    r,
 
22
  /etc/ld.so.cache      r,
 
23
  /lib/libc-2.1.3.so    r,
 
24
}