Navigation


Changeset 15:6bc5df5d2da4 in VirtualTestbed


Ignore:
Timestamp:
Feb 22, 2011, 2:54:59 PM (10 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Tags:
tip
Message:

New configuration for Redirect tests

Files:
2 added
12 edited

Legend:

Unmodified
Added
Removed
  • conf/nas.a.rt.testbed.aaa/freeDiameter/CMakeFlags

    r14 r15  
    11-DBUILD_TEST_APP:BOOL=ON
    22-DBUILD_TEST_RT_ANY:BOOL=ON
     3-DBUILD_RT_REDIRECT:BOOL=ON
    34-DBUILD_DBG_MONITOR:BOOL=ON
    45-DBUILD_DBG_INTERACTIVE:BOOL=ON
  • conf/nas.a.rt.testbed.aaa/freeDiameter/freeDiameter.conf

    r14 r15  
    1 # This is a sample configuration file for freeDiameter daemon.
    21
    3 ##############################################################
    4 #Identity = "aaa.koganei.wide.ad.jp";
    5 #Realm = "wide.ad.jp";
    6 
    7 ##############################################################
    8 #Port = 3868;
    9 #SecPort = 3869;
    10 #TLS_old_method;
    11 #No_TCP;
    12 #No_SCTP;
    13 #Prefer_TCP;
    14 #SCTP_streams = 30;
    152SCTP_streams = 3;
    16 
    17 ##############################################################
    18 #No_IP;
    19 #No_IPv6;
    20 #ListenOn = "202.249.37.5";
    21 #ListenOn = "2001:200:903:2::202:1";
    22 #ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
    23 
    24 ##############################################################
    253TLS_Cred = "/root/ca_data/cert.pem" , "/root/ca_data/privkey.pem";
    264TLS_CA = "/root/ca_data/ca.pem";
    27 # TLS_CRL = "/root/ca_data/crl.pem";
    28 
    29 #TLS_Prio = "NORMAL";
    30 #TLS_DH_Bits = 1024;
    31 
    32 ##############################################################
    33 #TcTimer = 30;
    34 #TwTimer = 30;
    35 
    36 ##############################################################
    375NoRelay;
    386
    39 ##############################################################
    40 #LoadExtension = "/path/to/extension" [ : "/optional/configuration/file" ] ;
    41 
    42 ##############################################################
    43 #ConnectPeer = "diameterid" [ params... ] ;
    44 #   params: No_TCP; No_SCTP; No_IP; No_IPv6; Prefer_TCP; TLS_old_method; No_TLS;
    45 #           Port = 3868; TcTimer = 30; TwTimer = 30; ConnectTo = "202.249.37.5"; TLS_Prio = "NORMAL";
    46 
    47 
    48 ##############################################################
    497# -------- Test configuration ---------
    508
     
    5210# LoadExtension = "/root/freeDiameter/extensions/dbg_rt.fdx";
    5311# LoadExtension = "/root/freeDiameter/extensions/test_rt_any.fdx";
    54 #LoadExtension = "/root/freeDiameter/extensions/test_app.fdx"
    55 #               : "/root/conf/freeDiameter/test_app.conf";
     12
     13LoadExtension = "/root/freeDiameter/extensions/test_app.fdx"
     14                : "/root/conf/freeDiameter/test_app.conf";
     15# LoadExtension = "/root/freeDiameter/extensions/dbg_interactive.fdx";
     16
     17
    5618LoadExtension = "/root/freeDiameter/extensions/rt_default.fdx"
    5719                : "/root/conf/freeDiameter/rtd.conf";
    58 LoadExtension = "/root/freeDiameter/extensions/dbg_interactive.fdx";
     20ConnectPeer = "proxy.a.rt.testbed.aaa" ;
    5921               
     22               
     23# For failover testing:
     24#ConnectPeer = "proxy.b.rt.testbed.aaa" ;
    6025
    61 # ConnectPeer = "serv.simple.testbed.aaa" ;
    62 ConnectPeer = "proxy.a.rt.testbed.aaa" ;
    63 ConnectPeer = "proxy.b.rt.testbed.aaa" ;
     26# For redirect testing:
     27ConnectPeer = "relay.a.rt.testbed.aaa" ;
     28LoadExtension = "/root/freeDiameter/extensions/rt_redirect.fdx";
    6429
    65 
  • conf/nas.a.rt.testbed.aaa/freeDiameter/rtd.conf

    r12 r15  
    1 # Our local proxy is default route for all messages
     1# Our local relay is default route for all messages
     2* : "relay.a.rt.testbed.aaa" += 6; # This is "default + 1" so that it is prefered when possible
    23* : "proxy.a.rt.testbed.aaa" += DEFAULT;
    34* : "proxy.b.rt.testbed.aaa" += DEFAULT;
  • conf/proxy.a.rt.testbed.aaa/freeDiameter/CMakeFlags

    r14 r15  
    1 -DBUILD_TEST_RT_ANY:BOOL=ON \
    21-DBUILD_DBG_MONITOR:BOOL=ON \
    32-DBUILD_DBG_RT:BOOL=ON \
  • conf/proxy.a.rt.testbed.aaa/freeDiameter/freeDiameter.conf

    r14 r15  
    1 # This is a sample configuration file for freeDiameter daemon.
    21
    3 ##############################################################
    4 #Identity = "aaa.koganei.wide.ad.jp";
    5 #Realm = "wide.ad.jp";
    6 
    7 ##############################################################
    8 #Port = 3868;
    9 #SecPort = 3869;
    10 #TLS_old_method;
    11 #No_TCP;
    12 #No_SCTP;
    13 #Prefer_TCP;
    14 #SCTP_streams = 30;
    152SCTP_streams = 3;
    16 
    17 ##############################################################
    18 #No_IP;
    19 #No_IPv6;
    20 #ListenOn = "202.249.37.5";
    21 #ListenOn = "2001:200:903:2::202:1";
    22 #ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
    23 
    24 ##############################################################
    253TLS_Cred = "/root/ca_data/cert.pem" , "/root/ca_data/privkey.pem";
    264TLS_CA = "/root/ca_data/ca.pem";
    27 # TLS_CRL = "/root/ca_data/crl.pem";
    28 
    29 #TLS_Prio = "NORMAL";
    30 #TLS_DH_Bits = 1024;
    31 
    32 ##############################################################
    33 #TcTimer = 30;
    34 #TwTimer = 30;
    35 
    36 ##############################################################
    375#NoRelay;
    386
    39 ##############################################################
    40 #LoadExtension = "/path/to/extension" [ : "/optional/configuration/file" ] ;
    41 
    42 
    43 ##############################################################
    44 #ConnectPeer = "diameterid" [ params... ] ;
    45 #   params: No_TCP; No_SCTP; No_IP; No_IPv6; Prefer_TCP; TLS_old_method; No_TLS;
    46 #           Port = 3868; TcTimer = 30; TwTimer = 30; ConnectTo = "202.249.37.5"; TLS_Prio = "NORMAL";
    47 
    48 
    49 ##############################################################
    507# -------- Test configuration ---------
    518
    529#LoadExtension = "/root/freeDiameter/extensions/dbg_monitor.fdx";
    5310#LoadExtension = "/root/freeDiameter/extensions/dbg_rt.fdx";
     11#LoadExtension = "/root/freeDiameter/extensions/test_rt_any.fdx";
     12
    5413LoadExtension = "/root/freeDiameter/extensions/acl_wl.fdx"
    5514                : "/root/conf/freeDiameter/acl_wl.conf";
    56 # LoadExtension = "/root/freeDiameter/extensions/test_rt_any.fdx";
    5715
     16# For netemul tests:
    5817LoadExtension = "/root/freeDiameter/extensions/test_netemul.fdx"
    5918                : "/root/conf/freeDiameter/netemul.conf";
    60                
     19
    6120ConnectPeer = "proxy.b.rt.testbed.aaa" ;
     21ConnectPeer = "serv.b.rt.testbed.aaa" ;
    6222
  • conf/proxy.b.rt.testbed.aaa/freeDiameter/freeDiameter.conf

    r14 r15  
    1 # This is a sample configuration file for freeDiameter daemon.
    2 
    3 ##############################################################
    4 #Identity = "aaa.koganei.wide.ad.jp";
    5 #Realm = "wide.ad.jp";
    6 
    7 ##############################################################
    8 #Port = 3868;
    9 #SecPort = 3869;
    10 #TLS_old_method;
    11 #No_TCP;
    12 #No_SCTP;
    13 #Prefer_TCP;
    14 #SCTP_streams = 30;
    151SCTP_streams = 3;
    16 
    17 ##############################################################
    18 #No_IP;
    19 #No_IPv6;
    20 #ListenOn = "202.249.37.5";
    21 #ListenOn = "2001:200:903:2::202:1";
    22 #ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
    23 
    24 ##############################################################
    252TLS_Cred = "/root/ca_data/cert.pem" , "/root/ca_data/privkey.pem";
    263TLS_CA = "/root/ca_data/ca.pem";
    27 # TLS_CRL = "/root/ca_data/crl.pem";
    28 
    29 #TLS_Prio = "NORMAL";
    30 #TLS_DH_Bits = 1024;
    31 
    32 ##############################################################
    33 #TcTimer = 30;
    34 #TwTimer = 30;
    35 
    36 ##############################################################
    374#NoRelay;
    385
    39 ##############################################################
    40 #LoadExtension = "/path/to/extension" [ : "/optional/configuration/file" ] ;
    41 
    42 
    43 ##############################################################
    44 #ConnectPeer = "diameterid" [ params... ] ;
    45 #   params: No_TCP; No_SCTP; No_IP; No_IPv6; Prefer_TCP; TLS_old_method; No_TLS;
    46 #           Port = 3868; TcTimer = 30; TwTimer = 30; ConnectTo = "202.249.37.5"; TLS_Prio = "NORMAL";
    47 
    48 
    49 ##############################################################
    506# -------- Test configuration ---------
    517
    528#LoadExtension = "/root/freeDiameter/extensions/dbg_monitor.fdx";
    539#LoadExtension = "/root/freeDiameter/extensions/dbg_rt.fdx";
     10# LoadExtension = "/root/freeDiameter/extensions/test_rt_any.fdx";
     11
    5412LoadExtension = "/root/freeDiameter/extensions/acl_wl.fdx"
    5513                : "/root/conf/freeDiameter/acl_wl.conf";
    56 # LoadExtension = "/root/freeDiameter/extensions/test_rt_any.fdx";
    5714
    5815LoadExtension = "/root/freeDiameter/extensions/test_netemul.fdx"
     
    6017               
    6118ConnectPeer = "proxy.a.rt.testbed.aaa" ;
    62 Realm = "a.rt.testbed.aaa" ;
     19ConnectPeer = "serv.b.rt.testbed.aaa" ;
     20# Realm = "a.rt.testbed.aaa" ;
  • conf/relay.a.rt.testbed.aaa/freeDiameter/freeDiameter.conf

    r0 r15  
    1 # This is a sample configuration file for freeDiameter daemon.
    2 
    3 ##############################################################
    4 #Identity = "aaa.koganei.wide.ad.jp";
    5 #Realm = "wide.ad.jp";
    6 
    7 ##############################################################
    8 #Port = 3868;
    9 #SecPort = 3869;
    10 #TLS_old_method;
    11 #No_TCP;
    12 #No_SCTP;
    13 #Prefer_TCP;
    14 #SCTP_streams = 30;
    151SCTP_streams = 3;
    16 
    17 ##############################################################
    18 #No_IP;
    19 #No_IPv6;
    20 #ListenOn = "202.249.37.5";
    21 #ListenOn = "2001:200:903:2::202:1";
    22 #ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
    23 
    24 ##############################################################
    252TLS_Cred = "/root/ca_data/cert.pem" , "/root/ca_data/privkey.pem";
    263TLS_CA = "/root/ca_data/ca.pem";
    27 # TLS_CRL = "/root/ca_data/crl.pem";
    28 
    29 #TLS_Prio = "NORMAL";
    30 #TLS_DH_Bits = 1024;
    31 
    32 ##############################################################
    33 #TcTimer = 30;
    34 #TwTimer = 30;
    35 
    36 ##############################################################
    374#NoRelay;
    385
    396##############################################################
    40 #LoadExtension = "/path/to/extension" [ : "/optional/configuration/file" ] ;
    417
    42 ##############################################################
    43 #ConnectPeer = "diameterid" [ params... ] ;
    44 #   params: No_TCP; No_SCTP; No_IP; No_IPv6; Prefer_TCP; TLS_old_method; No_TLS;
    45 #           Port = 3868; TcTimer = 30; TwTimer = 30; ConnectTo = "202.249.37.5"; TLS_Prio = "NORMAL";
     8# LoadExtension = "/root/freeDiameter/extensions/dbg_monitor.fdx";
     9# LoadExtension = "/root/freeDiameter/extensions/dbg_rt.fdx";
    4610
     11ConnectPeer = "nas.a.rt.testbed.aaa" ;
     12ConnectPeer = "proxy.a.rt.testbed.aaa" ;
    4713
    48 ##############################################################
    49 # -------- Test configuration ---------
    50 
    51 LoadExtension = "/root/freeDiameter/extensions/dbg_monitor.fdx";
    52 LoadExtension = "/root/freeDiameter/extensions/dbg_rt.fdx";
    53 # LoadExtension = "/root/freeDiameter/extensions/test_rt_any.fdx";
    54 #LoadExtension = "/root/freeDiameter/extensions/test_app.fdx"
    55 #               : "/root/conf/freeDiameter/test_app.conf";
    56 
    57 # ConnectPeer = "serv.simple.testbed.aaa" ;
    58 
     14LoadExtension = "/root/freeDiameter/extensions/app_redirect.fdx"
     15                : "/root/conf/freeDiameter/ard.conf";
  • conf/serv.b.rt.testbed.aaa/freeDiameter/freeDiameter.conf

    r14 r15  
    1 # This is a sample configuration file for freeDiameter daemon.
    2 
    3 ##############################################################
    4 #Identity = "aaa.koganei.wide.ad.jp";
    5 #Realm = "wide.ad.jp";
    6 
    7 ##############################################################
    8 #Port = 3868;
    9 #SecPort = 3869;
    10 #TLS_old_method;
    11 #No_TCP;
    12 #No_SCTP;
    13 #Prefer_TCP;
    14 #SCTP_streams = 30;
    151SCTP_streams = 3;
    16 
    17 ##############################################################
    18 #No_IP;
    19 #No_IPv6;
    20 #ListenOn = "202.249.37.5";
    21 #ListenOn = "2001:200:903:2::202:1";
    22 #ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
    23 
    24 ##############################################################
    252TLS_Cred = "/root/ca_data/cert.pem" , "/root/ca_data/privkey.pem";
    263TLS_CA = "/root/ca_data/ca.pem";
    27 # TLS_CRL = "/root/ca_data/crl.pem";
    28 
    29 #TLS_Prio = "NORMAL";
    30 #TLS_DH_Bits = 1024;
    31 
    32 ##############################################################
    33 #TcTimer = 30;
    34 #TwTimer = 30;
    35 
    36 ##############################################################
    374NoRelay;
    385
    39 ##############################################################
    40 #LoadExtension = "/path/to/extension" [ : "/optional/configuration/file" ] ;
    41 
    42 ##############################################################
    43 #ConnectPeer = "diameterid" [ params... ] ;
    44 #   params: No_TCP; No_SCTP; No_IP; No_IPv6; Prefer_TCP; TLS_old_method; No_TLS;
    45 #           Port = 3868; TcTimer = 30; TwTimer = 30; ConnectTo = "202.249.37.5"; TLS_Prio = "NORMAL";
    46 
    47 
    48 ##############################################################
    496# -------- Test configuration ---------
    507
     
    529# LoadExtension = "/root/freeDiameter/extensions/dbg_rt.fdx";
    5310# LoadExtension = "/root/freeDiameter/extensions/test_rt_any.fdx";
     11
    5412LoadExtension = "/root/freeDiameter/extensions/test_app.fdx"
    5513                : "/root/conf/freeDiameter/test_app.conf";
     
    5715ConnectPeer = "proxy.b.rt.testbed.aaa" ;
    5816ConnectPeer = "proxy.a.rt.testbed.aaa" ;
    59 
  • conf/supauth.eap.testbed.aaa/wpasupplicant/wpa_supplicant.conf

    r7 r15  
    1212        eap=TLS
    1313        identity="client@eap.testbed.aaa"
     14#       identity="clientinvalid@eap.testbed.aaa"
    1415        ca_cert="/home/aaa/ca/ca_data/mgr.testbed.aaa/public/cacert.pem"
    1516        client_cert="/home/aaa/ca/ca_data/mgr.testbed.aaa/clients/client/cert.pem"
  • mrb/routing_testbed.sh

    r0 r15  
    2020        ./vm_start.sh "rt-nas.a.rt.testbed.aaa" &
    2121        sleep 3
     22        ./vm_start.sh "rt-relay.a.rt.testbed.aaa" &
     23        sleep 3
    2224        ./vm_start.sh "rt-proxy.a.rt.testbed.aaa" &
    2325        sleep 3
     
    3436        ./vm_pause.sh "rt-rtmgr.testbed.aaa" &
    3537        ./vm_pause.sh "rt-nas.a.rt.testbed.aaa" &
     38        ./vm_pause.sh "rt-relay.a.rt.testbed.aaa" &
    3639        ./vm_pause.sh "rt-proxy.a.rt.testbed.aaa" &
    3740        ./vm_pause.sh "rt-proxy.b.rt.testbed.aaa" &
     
    4447        ./vm_stop.sh "rt-rtmgr.testbed.aaa" &
    4548        ./vm_stop.sh "rt-nas.a.rt.testbed.aaa" &
     49        ./vm_stop.sh "rt-relay.a.rt.testbed.aaa" &
    4650        ./vm_stop.sh "rt-proxy.a.rt.testbed.aaa" &
    4751        ./vm_stop.sh "rt-proxy.b.rt.testbed.aaa" &
  • scripts/freeDiameter-install.sh

    r14 r15  
    22
    33# Install dependencies for freeDiameter
    4 aptitude install flex bison libsctp1 libsctp-dev libgcrypt-dev libgcrypt11-dbg libgnutls26 libgnutls26-dbg libgnutls-dev mercurial cmake gdb python-dev swig
     4aptitude install flex bison libsctp1 libsctp-dev libgcrypt-dev libgcrypt11-dbg libgnutls26 libgnutls26-dbg libgnutls-dev mercurial cmake gdb python-dev swig libidn11-dev
    55
    66# Install the link to the configuration
  • scripts/freeDiameter-run.sh

    r0 r15  
    1212
    1313echo fd-$HOST-$DATE.log > /home/aaa/logs/LATEST-$HOST-fd.log
    14 /root/freeDiameter/freeDiameter/freeDiameterd -dd $* 2>&1 | tee -i /home/aaa/logs/fd-$HOST-$DATE.log
     14/root/freeDiameter/freeDiameterd/freeDiameterd -dd $* 2>&1 | tee -i /home/aaa/logs/fd-$HOST-$DATE.log
Note: See TracChangeset for help on using the changeset viewer.