12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- %description:
- Test for bug #463: IPv4: missing ICMP error
- that initiated the packet causing the error.
- NClients example network is used, with one client.
- Server doesn't have any UDP app ==> doesn't have UDP layer.
- The client sends an UDP datagram to the server.
- The server generates an Destination Unreachable ICMP error
- that should be received by the client application in the
- form of an error indication.
- %#--------------------------------------------------------------------------------------------------------------
- %inifile: test.ini
- [General]
- ned-path = ../../../../examples;../../../../src
- network = inet.examples.inet.nclients.NClients
- sim-time-limit=15s
- cmdenv-express-mode=false
- #omnetpp 5.0 - 5.1 compatibility:
- eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
- output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
- output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
- snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"
- # number of client computers
- *.n = 1
- # udp apps
- **.cli[*].numUdpApps = 1
- **.cli[*].udpApp[*].typename = "UDPBasicApp"
- **.cli[*].udpApp[0].destAddresses = "srv"
- **.cli[*].udpApp[0].destPort = 1000
- **.cli[*].udpApp[0].messageLength = 100B
- **.cli[*].udpApp[0].startTime = 10s
- **.cli[*].udpApp[0].stopTime = 11s
- **.cli[*].udpApp[0].sendInterval = 10s
- **.srv.numUdpApps = 0
- # Ethernet NIC configuration
- **.eth[*].queueType = "DropTailQueue" # in routers
- **.eth[*].queue.dataQueue.frameCapacity = 10 # in routers
- **.eth[*].mac.duplexEnabled = true
- %#--------------------------------------------------------------------------------------------------------------
- %subst: /DETAIL: //
- %subst: /ERROR: //
- %#--------------------------------------------------------------------------------------------------------------
- %contains: stdout
- Transport protocol ID=17 not connected, discarding packet
- sending ICMP error ICMP-error-#1-type3-code2
- %#--------------------------------------------------------------------------------------------------------------
- %not-contains: stdout
- undisposed object:
- %#--------------------------------------------------------------------------------------------------------------
- %not-contains: stdout
- -- check module destructor
- %#--------------------------------------------------------------------------------------------------------------
|