tcpOpenActiveConnectClientClose.test 1.7 KB

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