VirtualBox

Ignore:
Timestamp:
Mar 23, 2012 4:18:12 AM (13 years ago)
Author:
vboxsync
Message:

NAT: ICMP in some cases NAT engine can't determinate where from datagram come from.
Don't bother with sending (ICMP error to such respondents)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/ip_icmp.c

    r40423 r40582  
    632632    LogFunc(("msrc: %RTnaipv4 -> %RTnaipv4\n", ip->ip_src, ip->ip_dst));
    633633
     634    /* if source IP datagram hasn't got src address don't bother with sending ICMP error */
     635    if (ip->ip_src.s_addr == INADDR_ANY)
     636        goto end_error;
     637
    634638    if (   ip->ip_off & IP_OFFMASK
    635639        && type != ICMP_SOURCEQUENCH)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette