Disable logging to dmesg

Post Reply
wrkilu
Junior Member
Posts: 2
Joined: 02 Sep 2014, 14:45

Disable logging to dmesg

Post by wrkilu »

Hi,

Dmesg is flooded by logs like:

Code: Select all

OS=0x08 PREC=0x20 TTL=239 ID=54321 PROTO=TCP SPT=49541 DPT=8728 WINDOW=65535 RES=0x00 SYN URGP=0 
[Thu Dec 19 18:13:48 2024] Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=96:00:03:eb:25:ed:d2:74:7f:6e:37:e3:08:00 SRC=92.255.85.147 DST=138.199.144.66 LEN=40 TOS=0x00 PREC=0x00 TTL=246 ID=64262 PROTO=TCP SPT=54582 DPT=3364 WINDOW=1024 RES=0x00 SYN URGP=0 
[Thu Dec 19 18:13:50 2024] Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=96:00:03:eb:25:ed:d2:74:7f:6e:37:e3:08:00 SRC=165.154.129.201 DST=138.199.144.66 LEN=60 TOS=0x00 PREC=0x00 TTL=50 ID=6868 DF PROTO=TCP SPT=41654 DPT=10002 WINDOW=29200 RES=0x00 SYN URGP=0 
[Thu Dec 19 18:13:50 2024] Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=96:00:03:eb:25:ed:d2:74:7f:6e:37:e3:08:00 SRC=79.110.62.64 DST=138.199.144.66 LEN=40 TOS=0x00 PREC=0x00 TTL=245 ID=24121 PROTO=TCP SPT=41474 DPT=21019 WINDOW=1024 RES=0x00 SYN URGP=0 
[Thu Dec 19 18:13:53 2024] Firewall: *UDP_IN Blocked* IN=eth0 OUT= MAC=96:00:03:eb:25:ed:d2:74:7f:6e:37:e3:08:00 SRC=162.216.150.40 DST=138.199.144.66 LEN=29 TOS=0x00 PREC=0x60 TTL=248 ID=54321 PROTO=UDP SPT=49233 DPT=11434 LEN=9 

How to disable this logging without break scan protection or similar ?

"dmesg -n 1" is not satisfying me because I do would want to see any other OS messages.

Thank you.
Post Reply