samplicator icon indicating copy to clipboard operation
samplicator copied to clipboard

Ability to replicate packets with the original source IP and the samplicator server IP at the same time.

Open sebastianlopz opened this issue 6 years ago • 2 comments

Hello there, I would like to know if it is possible redirect packets keeping the original IP and an alternate source IP at the same time with this tool.

I'm currently running samplicator 1.3.6.

i.e: source Net: 10.0.0.X / 25 Samplicator Server: 10.2.0.1 Destination Server 1 - IP: 172.27.0.1 Destination Server 2 - IP 10.1.0.1

FWD packets to server 1 with an alternate Source IP. (preferable the IP of the server where samplicator tool is running) FWD packets to server 2 with the original Source IP.

Thanks!

sebastianlopz avatar Dec 20 '18 17:12 sebastianlopz

This is not possible. Samplicate process can either run in spoofing or not spoofing mode not both. You can run multiple instances (processes) but they cannot listen on the same port on the same host. You could consider running multiple instances on different ports and have multiple exporters one for each port on devices exporting flow. One instance in spoofing going to server1 and another to server2 without spoofing. HTH

mikearagonhub avatar Dec 20 '18 17:12 mikearagonhub

Thanks for your quick response!

sebastianlopz avatar Dec 20 '18 17:12 sebastianlopz