sleinen / samplicator

Send copies of (UDP) datagrams to multiple receivers, with optional sampling and spoofing
GNU General Public License v2.0
389 stars 132 forks source link

Installation collaboration for a newbi #66

Closed dafefa1 closed 4 years ago

dafefa1 commented 4 years ago

hello all,

anyone that could give me a guide for the installation, first time using gitlab and beginning on linux. I just install centos, but reading the install.md it says that i need to create the configure script (when installing from Git), my centos will not have access to internet, so I found the automake and autoconf on internet and I guess I'm supposed to install it on centos, its that right?

After I done with the installation of those tools, it says I need to configure, compile and install, but wich file I need to use from the ones found on samplicator? using the autogen.sh too?

appreciate anyone #patience guide here

bbayles commented 4 years ago

For what it's worth, I've built .deb and .rpm packages for Samplicator here - this would allow you to skip these parts.

dafefa1 commented 4 years ago

Thanks for the link!!, I install the rpm package and create a config file "sampliconfig.cfg" on /etc/ with the following: 0.0.0.0/0.0.0.0:10.52.1.218/8602 then on machine I put samplicate -S -c /etc/sampliconfig.cfg -p 8601 but nothing happen, I cant see nothing

I also try samplicate -S -c /etc/sampliconfig.cfg -p 8601 -d 1

but still nothing so i try with simple command without file: samplicate -S -p 8601 10.52.1.218/2055 -d 1

still nothing

I make a tcpdump on the interface and I'm receiving packets on 8601 udp port tcpdump -i ens160 udp port 8601

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ens160, link-type EN10MB (Ethernet), capture size 262144 bytes 17:45:31.822997 IP 192.168.21.120.56722 > localhost.localdomain.8601: UDP, length 260 17:45:31.823579 IP 192.168.21.120.56722 > localhost.localdomain.8601: UDP, length 585 17:45:31.923763 IP 192.168.21.120.56722 > localhost.localdomain.8601: UDP, length 266

what could I be missing here?

thanks

dafefa1 commented 4 years ago

Problem solved, I make some changes on the ip tables.