Skip to contentSkip to conversation

is packet duplicating possible for ids?

LARTC Sumit Pandya 1 participant 1 message Mar 12, 2002

lore
Share & tools
lore
#0 lore raw

Hi,
From: "Hans-Cees Speel" <[email protected]>
To: [email protected]; Tue, 12 Mar 2002 11:19:40 +0100
Reply-To: [email protected]

Quoted 3 lines

I have a situation where I would like to use tc or any tool to send all incoming (and perhaps outgoing) traffic not only to itsd destination but also past a ids snort box.

Insteed of TC your solution could be found by writing Netfilter hack. You
will need to write your own target for that say ipt_COPYSEND.

Quoted 1 line

hope you can help me

Ya, there is a help from Rusty... a short but nice way on the link
http://lists.samba.org/pipermail/netfilter/2000-May/004053.html. Take baseline from ipt_REJECT and ipt_MIRROR target in netfilter part of kernel source.
If you running snifer on your firewall machine only then Insteed of writing
a new target I'll suggest/prefer you to go for target ipt_QUEUE, write your user handler program which will pass all intended packets to sniffer and return CONTINUE/ACCEPT from your handler.
-- Sumit

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/