Page 1 of 1
How to stop console alerts?
Posted: 25 Oct 2012, 15:45
by Xpert-Servers
Hi,
If I login to the console and doing something and the firewall blocks someone I seem to get the alerts come up on the console.
Is there something I can do to stop these alerts appearing?
Thanks
Re: How to stop console alerts?
Posted: 23 Feb 2013, 04:13
by sneader
I came here looking for the same answer. What I'm seeing is that while any user is SSH'd in, even a normal user, they see random console messages like:
Message from syslogd@host at Feb 22 18:34:05 ...
kernel:nf_ct_ftp: dropping packetIN= OUT=eth0 SRC=1.2.3.4 DST=5.6.7.8 LEN=65 TOS=0x10 PREC=0x00 TTL=64 ID=5761 DF PROTO=TCP SPT=21 DPT=48357 SEQ=305140503 ACK=1229315770 WINDOW=14600 RES=0x00 ACK PSH FIN URGP=0 OPT (0101050A4945DEB94945DEBA)
Normal users should not see that kind of thing. Any ideas on preventing it would be appreciated.
- Scott
Re: How to stop console alerts?
Posted: 23 Feb 2013, 12:07
by ForumAdmin
kernel:nf_ct_ftp: dropping packetIN= OUT=eth0 SRC=1.2.3.4 DST=5.6.7.8 LEN=65 TOS=0x10 PREC=0x00 TTL=64 ID=5761 DF PROTO=TCP SPT=21 DPT=48357 SEQ=305140503 ACK=1229315770 WINDOW=14600 RES=0x00 ACK PSH FIN URGP=0 OPT (0101050A4945DEB94945DEBA)
This specific message is produced by the kernel, not the csf configured iptables, and it broadcasts it at the (r)syslog *.emerg level. If you don't want to see it you'll need to reconfigure (r)syslog on your system.