Hey Brendan! I'll clarify what I am trying to do. I have a pc in a LAN. I need to redirect all my outgoing traffic to different pcs over the lan.(The thing is that of all the pcs which I have selected only 1 of them should receive one packet). These pcs will direct all my traffic to the required destination. This is what I have figured out: Since I need to re-direct my outgoing traffic to different PCs I'll have to work my way on the Layer 2. So arptables is probably the best way to do it. Secondly I need to create a target extension which takes the first frame and sends it over to pc1, takes the second frame and sends it to pc2 and so on.(Obviously once the total number of pcs are over, it loopbacks). This is something like the nth patch in iptables but not the same. Finally once I build this target extension I would like to build it. So that I can use it in arptables. This is what it is. Yours, Digvijay On Mon, Apr 2, 2012 at 10:52 PM, Brendan Morrison <morrison.brendan17@xxxxxxxxx> wrote: > hey what are you trying to do exactly > ive just finished writing a few netfilter modules to do custom packet > proccesing and might be able to lend a hand > -brendan > > On Mon, Apr 2, 2012 at 1:17 PM, DIGVIJAY SINGH <digvijay09020@xxxxxxxxxxx> > wrote: >> >> Hey there! >> I wanted to build a target extension module I have created. But I >> cannot find any How-TOs or tutorials. I went through Jengelh Medozas >> "Writing Netfilter Modules" guide, however it seems have skipped the >> entire section of how to build the target extension. So it would be >> great if someone could guide me through it. >> >> Yours truly, >> Digvijay Singh >> -- >> To unsubscribe from this list: send the line "unsubscribe netfilter" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html