~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

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 PASS
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
 
}