mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* syslog spam: TCP segment has incorrect auth options set
@ 2024-01-04 10:55 Christian Kujau
  2024-01-04 13:49 ` Dmitry Safonov
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Kujau @ 2024-01-04 10:55 UTC (permalink / raw)
  To: linux-kernel
  Cc: netdev, Dmitry Safonov, Francesco Ruggeri, Salam Noureddine,
	Dmitry Safonov, David Ahern

Ever since commit 2717b5adea9e ("net/tcp: Add tcp_hash_fail() ratelimited 
logs") the following is printed, in waves of small floods, to syslog:

 kernel: TCP: TCP segment has incorrect auth options set for XX.20.239.12.54681->XX.XX.90.103.80 [S]

This host is connected to the open internet and serves as a small HTTP and 
SSH login server, not much traffic is happening here. So I'd assume these 
messages to be the result of random internet scans and/or fingerprinting 
attempts or the like. While not really a concern, these messages are 
flooding the dmesg buffer over time :-(

Is there a way to adjust the severity of these messages?

* In include/net/tcp.h this gets logged with tcp_hash_fail(), which is
* defined in include/net/tcp_ao.h and calls net_info_ratelimited(), which
* is in turn defined in include/linux/net.h and calls pr_info().

Can e.g. net_dbg_ratelimited be used instead?

Thanks,
Christian.
-- 
BOFH excuse #78:

Yes, yes, its called a design limitation

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-08 18:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-04 10:55 syslog spam: TCP segment has incorrect auth options set Christian Kujau
2024-01-04 13:49 ` Dmitry Safonov
2024-01-04 16:03   ` Christian Kujau
2024-01-07 19:27     ` Christian Kujau
2024-01-08 18:51       ` Dmitry Safonov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®