IP address down and UDP

So my Splunk server was down for a few minutes then spun back up, and now my pfsense syslogs are not feeding into it. I have the syslogs going over two UDP ports to the splunk server IP. Even though UDP is a “connectionless” connection, when the server’s IP address became un-routable did pfsense note this and stop sending traffic? Is there a way to flush this table to get it sending again. I verified that the Splunk server’s IP is the same as before and that that firewalld isn’t to blame.

Pfsense bat signal. @Dexter_Kane

Unreachable hosts shouldn’t end up getting cached for long.

You could tcpdump port 514 on splunk host, and simultaneously log into pfSense and try logging something to verify no packets are coming out.

Beyond that, you could restart syslog on pfSense.
If still not working, you can check the /etc/syslog.conf on pfSense.

2 Likes

Nuked from orbit- rebooted pfsense and now the snort logs (barnyard UDP 1514) is feeding in, but still no firewall logs (514)- I usually have a nice drone of about 200 denies an hour.

I have a faint memory of being able to clear some kind of DHCP or some other cache/table in pfsense. Been checking out the GUI on how to do this again. This is why I need to document stuff haha.

@risk tcpdump was enlightening, pfsense was sending, splunk was being a little b. Restarted Splunk, seems to be ingesting now.

Interesting, are you using IPs or hostnames for log source/target.

I wonder given how syslog is one of those little things that starts early during boot, if there’s any negative name caching going on that might be affecting logging. Switching to IPs or adding names to /etc/hosts of both machines should mitigate that.

Have to belay my last, after restarting Splunk it got a snippet of logs then stopped again. I’ve seen this before when I had two splunk snort packages installed at the same time using different UDP inputs- or so I thought it was because of that.

I really wish I could remember how I flushed some kind of table from pfsense- or better yet why I even googled how to do it haha.

I do not have DNS setup, so by IP right now.

I seem to have syslog 514 flowing to the Splunk server (CentOS 7), I have firewalld disabled for testing. I’m going to reboot the whole box…