tcpSegmentPacket.test 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. %description:
  2. SUT is a server, i.e. it opens a socket, binds and listens. The peer connects to the server.
  3. The peer send 3 messages. The first and third are acked. A retransmission should be sent
  4. within the next second.
  5. Problem: The RTO is too high, more than 2 seconds.
  6. %#--------------------------------------------------------------------------------------------------------------
  7. %#--------------------------------------------------------------------------------------------------------------
  8. %inifile: omnetpp.ini
  9. [General]
  10. network = PacketDrillTcp
  11. debug-on-errors = true
  12. tkenv-plugin-path = ../../../etc/plugins
  13. ned-path = .;../../../../../src;../../lib
  14. **.scriptFile="../../tcptests/tcpSegmentPacket.pkt"
  15. **.pdhost.tunApp[0].typename = "PacketDrillApp"
  16. **.pdhost.numTcpTunApps = 1
  17. **.pdhost.numTunInterfaces = 1
  18. **.hasTun = true
  19. **.startTime = 2s
  20. **.pdhost.routingTable.routingFile = "../../lib/pdhost.mrt"
  21. **.pdhost.tunApp[0].localPort = 1000
  22. **.pdhost.tunApp[0].remotePort = 2000
  23. **.pdhost.tunApp[0].localAddress = "192.168.0.1"
  24. **.pdhost.tunApp[0].remoteAddress = "192.168.0.2"
  25. **.pdhost.numPcapRecorders=1
  26. **.pdhost.pcapRecorder[0].pcapFile="tcpSegmentPacket.pcap"
  27. **.pdhost.pcapRecorder[0].moduleNamePatterns="tun[0]"
  28. **.pdhost.pcapRecorder[0].sendingSignalNames="packetSentToUpper"
  29. **.pdhost.pcapRecorder[0].receivingSignalNames="packetReceivedFromUpper"
  30. **.pdhost.pcapRecorder[0].alwaysFlush = true
  31. **.pdapp.dataTransferMode = "bytecount"
  32. **.tcp.mss = 1000
  33. **.tcp.sackSupport = true
  34. **.tcp.windowScalingSupport = true
  35. **.tcp.windowScalingFactor = 6
  36. **.tcp.advertisedWindow = 29200
  37. **.tcp.useDataNotification = true
  38. **.tcp.increasedIWEnabled = true
  39. %#--------------------------------------------------------------------------------------------------------------
  40. %not-contains: test.out
  41. Packetdrill error:
  42. %#--------------------------------------------------------------------------------------------------------------