Problem in MIRROR target?
Fri, 02 Nov 2001 12:05:13 +0530
I agree that in most of the cases it would be unnecessary. What if the
route for coming in is not the same as the route for going out? that is
in the input netdevice is different from the one going out? In this case
if the pmtu of these devices are different wouldn't that cause a problem?
Dave Stahl wrote:
> I would have to disagree with this patch, simply based on the stated
> function of the mirror target -- to reverse the send/receive fields and
> return the _original_ packet.
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org] On Behalf Of Sandip
> Sent: Thursday, November 01, 2001 12:45 AM
> To: email@example.com
> Subject: Problem in MIRROR target?
> In ipt_MIRROR.c, in ipt_mirror_target() the packet is finally sent
> through a local function ip_send_direct(), which is a ditto copy of
> But in case of large packets, how would they get fragmented before
> getting shovelled down the device? Shouldn't there be a fragmentation
> if necessary?
> The attached patch should correct this.
> - Sandip