Re: Sending a packet with 127.0.0.2 source address
From: Anatoly Muliarski
Date: Mon Apr 27 2009 - 02:14:36 EST
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