Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sebastianlopz opened this issue Dec 20, 2018 · 2 comments

Comments

@sebastianlopz
Copy link

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!

@mikearagonhub
Copy link

mikearagonhub commented Dec 20, 2018

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

@sebastianlopz
Copy link
Author

Thanks for your quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants