LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Getting SELinux to allow remote syslog messages (https://www.linuxquestions.org/questions/linux-security-4/getting-selinux-to-allow-remote-syslog-messages-560466/)

simplified 06-09-2007 12:20 PM

Getting SELinux to allow remote syslog messages
 
Hi All :)

I've been banging my head against the wall with regards to an issue that I have with enabling my router to send syslog messages to my Fedora Core 6 box. I've modified the /etc/syslog.conf file and the daemon has written the log file I need to /var/log/ but from the results of a sniff I'm getting the following ICMP message being sent back to the router:

18:09:42.012030 IP 172.16.1.6 > 172.16.1.1: ICMP host 172.16.1.6 unreachable - admin prohibited, length 132

I'm a bit new to SELinux so if anyone knows how to get around this I'd be most greatful :D

simplified 06-09-2007 12:30 PM

How embarassing... just typed

# netstat -tunap | grep 514

... and this returned no results - sorry! :-/

simplified 06-09-2007 12:49 PM

Right then...

Sorry about that, this actually had nothing to do with SELinux. It was a bit of a newbie classic, I had to allow syslog in the firewall (allowed syslog:udp in Lokkit) as well as modifying the following line in /etc/sysconfig/syslog :

SYSLOGD_OPTIONS="-m 0 -r -x"

... and now it works a treat!

tajsandhu 07-13-2007 06:16 PM

Quote:

Originally Posted by simplified
Right then...

Sorry about that, this actually had nothing to do with SELinux. It was a bit of a newbie classic, I had to allow syslog in the firewall (allowed syslog:udp in Lokkit) as well as modifying the following line in /etc/sysconfig/syslog :

SYSLOGD_OPTIONS="-m 0 -r -x"

... and now it works a treat!


Thank you. It worked like a charm.


All times are GMT -5. The time now is 11:28 PM.