Re: clone packet with new destination address

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

 



On Tue, Nov 2, 2010 at 9:44 PM, Stephen Clark <sclark46@xxxxxxxxxxxxx> wrote:
>
> Hmm...,
>
> Sounds like maybe an easier way to do this is to use libipq and the QUEUE
> target to
> select the packets of interest - then make a copy of the packet in userspace
> and
> use a raw socket to send the copy with the new destination address on its
> way.
>
> Does this sound reasonable?

Oh, I think NFLOG will be better, or libpcap & libnet, if you want to
implement this function in user space, because it doesn't delay the
original packets as NFQUEUE does.

-- 
Regards,
Changli Gao(xiaosuo@xxxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux