1 | set ns [new Simulator] |
---|
2 | source tb_compat.tcl |
---|
3 | # tb-use-endnodeshaping 1 |
---|
4 | # COMPOSITION: ar:required:stub:transit |
---|
5 | |
---|
6 | |
---|
7 | set tarball "/users/faber/fedd-dev/split_view-routes.tgz" |
---|
8 | set seer_tarball "/users/faber/fedd-dev/seer-fc6-current.tgz" |
---|
9 | |
---|
10 | set irc_count 1 |
---|
11 | |
---|
12 | set OS FC6-STD |
---|
13 | #set dest_OS FBSD62-STD |
---|
14 | set dest_OS FC6-STD |
---|
15 | |
---|
16 | set HW pc |
---|
17 | |
---|
18 | set startup "sudo python /usr/local/seer/experiment-setup.py Basic" |
---|
19 | |
---|
20 | set ar [$ns node] |
---|
21 | tb-set-node-os $ar $OS |
---|
22 | tb-set-hardware $ar $HW |
---|
23 | tb-set-node-startcmd $ar $startup |
---|
24 | tb-set-node-tarfiles $ar /usr/local/botnet $tarball /usr/local $seer_tarball |
---|
25 | tb-set-node-testbed $ar "deter/attack" |
---|
26 | |
---|
27 | set botmaster [$ns node] |
---|
28 | tb-set-node-os $botmaster $OS |
---|
29 | tb-set-hardware $botmaster $HW |
---|
30 | tb-set-node-startcmd $botmaster $startup |
---|
31 | tb-set-node-tarfiles $botmaster /usr/local/botnet $tarball /usr/local $seer_tarball |
---|
32 | tb-set-node-testbed $botmaster "deter/attack" |
---|
33 | |
---|
34 | set ar-botmaster [$ns make-lan "ar botmaster" 100Mb 0ms] |
---|
35 | $ns rtproto Static |
---|
36 | $ns run |
---|
37 | |
---|
38 | |
---|