On a number of CentOS 6 machines which have long iptables rules with multiple chains (details can be provided if required) the UF can be installed ok however when running this command:
/opt/splunkforwarder/bin/splunk set deploy-poll <splunkdeploymentserver.fqdn:8089>
The command times out and eventually throws this warning/error
Couldn't complete HTTP request: Connection timed out
On other CentOS 6 boxes still with iptables enabled but without the number of chains, the command works as expected. I've parsed the malfunctioning iptables rules and cannot see any conflict or reason for this to fail. Additionally adding specific rules for all ports both tcp and udp to the top of both the INPUT and OUTPUT chains makes no difference.
And even more bizarrely I can telnet to the splunk deployment server over port 8089 successfully.....
Runnin nmap from one of the affected clients shows ports open on the deployment server as follows
Starting Nmap 5.51 ( http://nmap.org ) at 2019-11-08 13:41 GMT
Nmap scan report for splunkdeployment.fqdn (ip-address)
Host is up (0.0017s latency).
Not shown: 65533 closed ports
PORT STATE SERVICE
443/tcp open https
8089/tcp open unknown
9997/tcp open unknown
As soon as I disable iptables however i can run the set deploy-poll command successfully.
Has anyone encountered this sort of behaviour before?
cheers Tom
... View more