sctp_nat_peer_to_server.test 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. %description:
  2. Testing SCTP_NAT: One peer sends data over two separate paths and two NATs to a server.
  3. %#--------------------------------------------------------------------------------------------------------------
  4. %#--------------------------------------------------------------------------------------------------------------
  5. %inifile: omnetpp.ini
  6. [General]
  7. network=multinat
  8. cmdenv-event-banners=false
  9. cmdenv-express-mode = false
  10. tkenv-plugin-path = ../../../etc/plugins
  11. ned-path = .;../../../../src;../../lib
  12. #omnetpp 5.0 - 5.1 compatibility:
  13. eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
  14. output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
  15. output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
  16. snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"
  17. **.testing = false
  18. **.testTimeout = 0
  19. # udp app (off)
  20. **.numUdpApps = 0
  21. **.udpType = ""
  22. **.numTcpApps = 0
  23. **.tcpType = "TCP"
  24. # sctp apps
  25. **.Peer_1.numSctpApps=1
  26. **.Peer_1.sctpApp[*].typename="SCTPNatPeer"
  27. **.Peer_1.sctpApp[*].localAddress="10.1.1.1"
  28. **.Peer_1.sctpApp[0].localPort=6000
  29. **.Peer_1.sctpApp[0].connectAddress="100.1.3.1"
  30. **.Peer_1.sctpApp[0].connectPort=6666
  31. **.Peer_1.sctpApp[0].startTime=1s
  32. **.Peer_1.sctpApp[0].numRequestsPerSession = 100
  33. **.Peer_1.sctpApp[0].requestLength= 1452
  34. **.Peer_1.sctpApp[0].outboundStreams = 4
  35. **.Peer_1.sctpApp[0].inboundStreams = 4
  36. **.Peer_1.sctpApp[0].queueSize = 0 #Size of sendQueue before App is notified to send new data
  37. **.Server.numSctpApps=1
  38. **.Server.sctpApp[*].typename="SCTPServer"
  39. **.Server.sctpApp[*].queueSize = 0
  40. **.Server.sctpApp[*].lifetime=0s
  41. **.Server.sctpApp[*].address=""
  42. **.Server.sctpApp[0].localPort=6666
  43. **.Server.sctpApp[1].localPort=7777
  44. **.Server.sctpApp[2].localPort=8888
  45. **.Server.sctpApp[3].localPort=9999
  46. **.Server.sctpApp[*].outboundStreams=4
  47. **.Server.sctpApp[*].inboundStreams=4
  48. **.Server.sctpApp[*].numPacketsToReceivePerClient =100
  49. # sctp settings
  50. **.sctp.sctpAlgorithmClass="SCTPAlg"
  51. **.sctp.auth = true
  52. **.Peer_1.sctp.addIP = true
  53. **.Server.sctp.addIP = true
  54. **.Peer_1.sctp.addTime = 0.05s
  55. **.Server.sctp.addTime = 0.1s
  56. **.Peer_1.sctp.addAddress = "10.2.1.1"
  57. **.Peer_1.sctp.addIpType = "49153" #separate the type by ',' SET_PRIMARY_ADDRESS= 49156,ADD_IP_ADDRESS=49153,DELETE_IP_ADDRESS=49154
  58. **.Server.sctp.addAddress = "100.2.3.1"
  59. **.Server.sctp.addIpType = "49156"
  60. **.sctp.chunks=""
  61. **.sctp.packetDrop = false
  62. **.Peer_1.sctp.natFriendly = true
  63. **.Peer_1.routingTable.routingFile="../../lib/nat_peer1.mrt"
  64. **.Server.routingTable.routingFile="../../lib/nat_server.mrt"
  65. **.Nat_1_1.routingTable.routingFile="../../lib/nat1_1.mrt"
  66. **.Nat_1_2.routingTable.routingFile="../../lib/nat1_2.mrt"
  67. **.Router_1.routingTable.routingFile="../../lib/nat_mrouter_1.mrt"
  68. **.Router_2.routingTable.routingFile="../../lib/nat_mrouter_2.mrt"
  69. %#--------------------------------------------------------------------------------------------------------------
  70. %contains-regex: stdout
  71. multinat.Nat_1_2.natHook:[ \t]*Natted packets:[ \t]*[1-9][0-9][0-9]
  72. %#--------------------------------------------------------------------------------------------------------------