Skip to contentSkip to conversation

duplicating packets target

DISCUSSION Oguz Yilmaz 2 participants 2 messages Apr 4, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

Are there any way of duplicating packets(in netfilter base, patchomatic or any third party patch?) targeted to one host to several hosts using targets? (like dup-to keywords of openbsd). If not, I think a way of this is to send packets to user level queue and then duplicate and resend. Are there any software for this?

Thanks,

-oguz

begin:vcard
fn:Oguz Yilmaz
n:Yilmaz;Oguz
org;quoted-printable:=C4=B0deal Teknoloji A.=C5=9E.;ARGE email;internet:[email protected] title;quoted-printable:ARGE ve Projeler Teknik M=C3=BCd=C3=BCr=C3=BC tel;work:+903122101490
x-mozilla-html:FALSE
version:2.1
end:vcard

#1 lore raw
Quoted 5 lines · Oguz Yilmaz

Hi,

Are there any way of duplicating packets(in netfilter base, patchomatic or any third party patch?) targeted to one host to several hosts using targets?

This will obviously only work for UDP (not TCP, because of the sequence & acknowledgement numbers), so you might find it easiest to set up a DNAT rule to a multicast address, and then use a multicasting router to send the packets to their required destinations?

I certainly can't think of a way netfilter can make two packets out of one - its basic job, after all, is to turn one packet into none at all in some circumstances (the DROP target)....

Regards,

Antony.

Signature · 6 lines
Microsoft may sell more software than any other company, but McDonald's sell 
more burgers than any other company, and I think the other similarities are 
obvious...

                                                     Please reply to the list;
                                                           please don't CC me.