Getting Data In

Need to establish a TCP connection with my HOSTS

New Member

I have installed SPLUNK in my windows server. I need to establish a TCP connection with another LINUX host which will be forwarding the events to this splunk server.
Help me on this.

Tags (2)
0 Karma

New Member

Hi,

Thanks for the answer. I have setup receiver and I have enabled this.
Now my node tries to setup a TCP connection by sending SYN. Now the splunk server sends SYN ACK and my node sends ACK to this.
Then immediately, the splunk server sends FIN -ACK to this.

Pls help me in solving this.

0 Karma

Champion

Well, does your forwarder have any data to forward?

0 Karma

New Member

Yes. After establishing the TCP connection, it will have the events which it will forward.

0 Karma

Champion

Sorry if I missed it, but then what's the problem?

0 Karma

New Member

The TCP connection is getting refused. FIN is being sent anter SYN ACK 😞

0 Karma

Champion

The way I see it, it is not refused - there is simply no data exchanged before the connection is closed, see this diagram. Why that is I have no idea, sorry - but the connection is there and it works as it should.

0 Karma

Champion

You need to enable receiving on the windows instance, which can be done via conf files, the web interface or the command line interface. On the linux instance you'll have to use either conf files or the command line to forward data to the windows instance; see here on how to do that.

0 Karma