incubator-nuttx/net
Zhe Weng 5a10367312 net/nat: Fix ICMP Error MSG Processing
1. Don't assert on IGMP inside ICMP, just ignore it.
2. Check we have full IP header inside ICMP payload before accessing it.
3. `inner_l4hdrbak` need to be `L4_MAXHDRLEN`, not `L4_MAXHDRLEN/2`.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-02-05 19:36:59 +08:00
..
arp Support to ARP Address Conflict Detection 2024-01-25 11:25:03 -03:00
bluetooth net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
can net/can: Release IOB when failed to queue in datahandler 2024-01-06 04:20:36 -08:00
devif udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
icmp poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
icmpv6 netdev/ipv6: Move `xxx_ipv6multicast` from arch to common code 2023-12-16 05:26:16 -08:00
ieee802154 net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
igmp igmp: call IFF_SET_IPv4 when igmp_send 2023-11-16 07:29:48 -08:00
inet ipv6: Fix source address with many addresses in same network 2023-12-13 06:13:25 -08:00
ipforward build: add initial cmake build system 2023-07-08 13:50:48 +08:00
ipfrag net/ipfrag:Fixed ref not initializing warning issue 2023-07-26 08:36:04 -03:00
local local_sendmsg: fix peer->lc_cfps[] array out-of-range write 2024-01-04 20:07:06 -08:00
mld net: Support multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
nat net/nat: Fix ICMP Error MSG Processing 2024-02-05 19:36:59 +08:00
neighbor net/route: Support longest prefix match for routing 2024-01-09 05:58:10 -08:00
netdev Support to ARP Address Conflict Detection 2024-01-25 11:25:03 -03:00
netfilter build: add initial cmake build system 2023-07-08 13:50:48 +08:00
netlink Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
pkt net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
procfs Support to ARP Address Conflict Detection 2024-01-25 11:25:03 -03:00
route net/route: Support longest prefix match for routing 2024-01-09 05:58:10 -08:00
rpmsg net/rpmsgsock: Rename rpmsg_socket_getconnname to rpmsg_socket_getpeername 2024-02-04 22:06:45 +08:00
sixlowpan net: Support multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
socket udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
tcp net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6 2024-01-09 05:56:28 -08:00
udp net/udp: Fix source address selection under IPv6 2024-02-02 09:07:38 -08:00
usrsock poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
utils net/utils: Switch argument order of net_ipv6_pref2mask 2023-11-07 19:30:36 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
Makefile Support fragmentation and reassembly 2023-01-17 14:01:37 +08:00
net_initialize.c