Re: Sending a packet with 127.0.0.2 source address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After I commented below-mentioned lines in route.c, ping begins to
issue packets, they go through NATed interface and I receive
responses( as tcpdump shows ) BUT these responses are not visible to
ping itself :(. May the problem be in NAT code? Whether it translate
external IP to 127.x  subnet?

> But I have already found a workaround - the source address checking
> takes palce in route.c in __mkroute_output() function by
> if (ipv4_is_loopback(fl->fl4_src) && !(dev_out->flags&IFF_LOOPBACK))
>                return -EINVAL;

-- 
Best regards
Anatoly Muliarski
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux