Tee packets

Julian Elischer julian at elischer.org
Wed Aug 30 21:04:31 UTC 2006


Miroslav Lachman wrote:

> 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."


you can also use netgraph  to tunnel a copy of the packets to another 
machine.

>
> Miroslav Lachman
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



More information about the freebsd-net mailing list