Tee packets
Stephen Clark
Stephen.Clark at seclark.us
Wed Aug 30 21:05:18 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."
>
>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"
>
>
>
Thanks for the response - I am not using pf - this on freebsd 4.10.
I did solve the problem by using ipfw - tee option and wrote a quickie
userspace app
to change the destination address.
--
"They that give up essential liberty to obtain temporary safety,
deserve neither liberty nor safety." (Ben Franklin)
"The course of history shows that as a government grows, liberty
decreases." (Thomas Jefferson)
More information about the freebsd-net
mailing list