On Wednesday 06 May 2015 16:20:19 I wrote:
> I've recently installed a new ADSL modem, and now I'm trying to get it to
> log to my LAN server. The modem seems to be sending log messages but
> Shorewall is dropping them at the server.
--->8
It seems I had missed something in the kernel configuration. I can't say what
exactly because I added several options (life's too short to go through all
the network options one at a time).
So now, Shorewall is not dropping syslog packets, and syslog-ng is logging
correctly. This is my /etc/syslog-ng/syslog-ng.conf:
----------------
@version: 3.6
@include "scl.conf"
options {
threaded(yes);
chain_hostnames(no);
stats_freq(43200);
mark_freq(0);
};
source src { system(); internal(); };
source s_remote { udp (ip(192.168.1.2) port(514) ); };
filter f_cron { facility (cron); };
filter f_ncron { not facility (cron); };
destination d_remote { file("/var/log/remote"); };
destination d_cron { file("/var/log/cron"); };
destination messages { file("/var/log/messages"); };
destination console_all { file("/dev/tty12"); };
log { source(src); filter(f_cron); destination(d_cron); };
log { source(src); filter(f_ncron); destination(messages); };
log { source(src); filter(f_ncron); destination(console_all); };
log { source(s_remote); destination(d_remote); };
----------------
I hope that will be useful to someone.
--
Rgds
Peter