I am forwarding my pfSense 2.3 syslog over to SO and have confirmed that they are being received on port 514 by running tcpdump.
Now I am trying to view them in ELSA but the only data that I see if from the loopback (127.0.0.1). What do I need to do in ELSA to view the correct interface (eth0)?
Walter,
Did you make sure to run so-allow to allow traffic to port 514 from your pfSense box?
https://github.com/Security-Onion-Solutions/security-onion/wiki/Firewall#so-allow
Thanks,
Wes
Yes, I actually opened both UDP/TCP to receive from anywhere
Status: active
To Action From
-- ------ ----
22/tcp ALLOW Anywhere
514/udp ALLOW Anywhere
514/tcp ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)
514/udp (v6) ALLOW Anywhere (v6)
514/tcp (v6) ALLOW Anywhere (v6)
Walter,
Do you see the source IP if you click the Host Logs-->Syslog-NG (Host) query on the left side of the screen in ELSA?
Thanks,
Wes
Walter,
The following may be helpful:
https://groups.google.com/d/msg/security-onion/SAOxU-zFKhA/WftQFzQm0NgJ
Thanks,
Wes
Probably not -- apologies.
You could also try (temporarily) setting another destination for syslog in syslog-ng.conf to see if your syslog sent from your pfsense box gets written there:
From https://groups.google.com/d/msg/security-onion/bw67Y82l_V0/2xexRtREDgAJ :
"If you want to independently archive and inspect all the the raw syslog records coming from your network, you will need to configure SO's syslog-ng to write them all to a text file by adding something like this to /etc/syslog-ng/syslog-ng.conf:
destination d_network_syslog { file("/var/log/network_syslog.log"); };
log { source(s_network); destination(d_syslog_network); };"
Afterwards, restart syslog-ng
service syslog-ng restart
Also, please attach the output of sostat-redacted for the affected Security Onion box, attaching as a plain text file, or using a service like Pastebin.com
Thanks,
Wes
# Write to txt
destination d_network_syslog { file("/var/log/network_syslog.log"); };
log { source(s_network); destination(d_network_syslog); };"
--------------------------------------------------------------------------------
I restarted syslog-ng and everything comes up fine. Ran tcpdump and can see pfSense data. Nothing is writing to "/var/log/network_syslog.log"
Walter,
Have you tried comparing to a fresh install? Have you tried forwarding syslog from anywhere else?
Thanks,
Wes