|
From: | vinu |
Subject: | [lwip-devel] [bug #54669] while sending icmp_send_response , the iphdr_src is actual destination and iphdr_dst will become source, so it is swaped |
Date: | Mon, 17 Sep 2018 01:45:31 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36 |
URL: <https://savannah.nongnu.org/bugs/?54669> Summary: while sending icmp_send_response , the iphdr_src is actual destination and iphdr_dst will become source, so it is swaped Project: lwIP - A Lightweight TCP/IP stack Submitted by: vineeshvinu Submitted on: Mon 17 Sep 2018 05:45:30 AM UTC Category: IPv4 Severity: 3 - Normal Item Group: Faulty Behaviour Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: None lwIP version: git head _______________________________________________________ Details: i have checked first ticket - 51593 and it is modified in below commit 60dd5188871eb2589ba000368e5cb0c05d27f89b. In this function icmp_send_response , iphdr->src is should be the destination address for response and iphdr->dest will be the source. ip4_route_src parameter may go wrong in this case because in ip4_route_src the destination will become source and source will become destination. please check once. _______________________________________________________ Reply to this item at: <https://savannah.nongnu.org/bugs/?54669> _______________________________________________ Message sent via Savannah https://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |