Tee packets
Miroslav Lachman
000.fbsd at quip.cz
Wed Aug 30 19:06:21 UTC 2006
Stephen Clark wrote:
> Hello List,
>
> We have a monitoring app that receives udp packets from units in the
> field. We are in
> the process of increasing the number of units we have reporting and are
> seeing some
> performance issues with our current hardware. I would like be able to
> somehow route a
> copy of each packet to another machine so I can test out different
> hardware configurations
> to see how performance is affected.
>
> Any ideas on the best way to do this?
If you are using PF as your firewall, you can use dup-to (man pf.conf)
"The dup-to option creates a duplicate of the packet and routes it
like route-to. The original packet gets routed as it normally would."
Miroslav Lachman
More information about the freebsd-net
mailing list