c# - Forward UDP packets to several IPs maintaining the original source address -


i have working system receives data via udp packets sent fixed ip:port , want use program (some kind of proxy?) send copy of packets new ip:port (or list of ip:ports, inside same lan program).

not easy seems, because need copied packets have same source ip address original ones.

in research, have found pcap.net (winpcap .net wrapper) useful, because can build packet scratch , supports modifying address fields. have managed capture packets , build them. not arriving @ desired destination (!?). should use different packetcommunicator receive , send them?

anyway, question not related pcap.net know alternative ways achieve desired goal. via free application? commercial application? open source sample? other library use?

my systems windows based (no linux available here). , have c# (.net) experience (i can not use c++ library, if net bindings not available).

many help

i know it's old question, answer:

http://code.google.com/p/samplicator/

listens udp , forwards 1 or more other ip addresses, optionally spoofing (the original) source ip address.

used forwarding netflow/sflow/syslog etc. packets.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -