Bug 2209 - ICMP error messages forwarding is not based on the incoming interface
ICMP error messages forwarding is not based on the incoming interface
Status: PATCH WANTED
Product: ns-3
Classification: Unclassified
Component: internet
ns-3-dev
All All
: P5 minor
Assigned To: Tommaso Pecorella
:
Depends on: 2208
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-06 17:33 EST by Tommaso Pecorella
Modified: 2016-02-05 02:03 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pecorella 2015-11-06 17:33:13 EST
This happens both in IPv4 and IPv6.

E.g., the function
Icmpv4L4Protocol::Forward (Ipv4Address source, Icmpv4Header icmp,
                           uint32_t info, Ipv4Header ipHeader,
                           const uint8_t payload[8])

does not know the incoming interface.
As a consequence, the ICMP error message is forwarded to the "default" L4 protocol, which could be not the right protocol.