tcpOpenActiveConnectServerClose.test 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. %description:
  2. SUT is a client, i.e. it opens a socket and connects to the peer.
  3. Afterwards the peer closes the connection.
  4. %#--------------------------------------------------------------------------------------------------------------
  5. %#--------------------------------------------------------------------------------------------------------------
  6. %inifile: omnetpp.ini
  7. [General]
  8. network = PacketDrillTcp
  9. debug-on-errors = true
  10. tkenv-plugin-path = ../../../etc/plugins
  11. ned-path = .;../../../../../src;../../lib
  12. **.scriptFile="../../tcptests/tcpOpenActiveConnectServerClose.pkt"
  13. **.pdhost.tunApp[0].typename = "PacketDrillApp"
  14. **.pdhost.numTcpTunApps = 1
  15. **.pdhost.numTunInterfaces = 1
  16. **.hasTun = true
  17. **.startTime = 2s
  18. **.pdhost.routingTable.routingFile = "../../lib/pdhost.mrt"
  19. **.pdhost.tunApp[0].localPort = 1000
  20. **.pdhost.tunApp[0].remotePort = 2000
  21. **.pdhost.tunApp[0].localAddress = "192.168.0.1"
  22. **.pdhost.tunApp[0].remoteAddress = "192.168.0.2"
  23. **.pdhost.numPcapRecorders=1
  24. **.pdhost.pcapRecorder[0].pcapFile="tcpOpenActiveConnectServerClose.pcap"
  25. **.pdhost.pcapRecorder[0].moduleNamePatterns="tun[0]"
  26. **.pdhost.pcapRecorder[0].sendingSignalNames="packetSentToUpper"
  27. **.pdhost.pcapRecorder[0].receivingSignalNames="packetReceivedFromUpper"
  28. **.pdhost.pcapRecorder[0].alwaysFlush = true
  29. **.pdapp.dataTransferMode = "bytecount"
  30. **.tcp.mss = 1460
  31. **.tcp.sackSupport = true
  32. **.tcp.windowScalingSupport = true
  33. **.tcp.windowScalingFactor = 6
  34. **.tcp.advertisedWindow = 29200
  35. **.tcp.useDataNotification = true
  36. %#--------------------------------------------------------------------------------------------------------------
  37. %not-contains: test.out
  38. Packetdrill error:
  39. %#--------------------------------------------------------------------------------------------------------------