Koozali.org: home of the SME Server
Contribs.org Forums => Koozali SME Server 10.x => Topic started by: mauro on August 03, 2021, 10:22:54 AM
-
SME10
Every about 30 min I get this in /var/log/messages:
Aug 3 08:06:35 wintermute kernel: [216543.570193] cvm-unix[13482]: segfault at 0 ip 00007fefe53e9ec6 sp 00007fff8eec3bc8 error 4 in libc-2.17.so[7fefe52ab000+1c4000]
Is it 'normal' log noise or should I open a bug?
-
from memory already reported and seems related to trial to auth an account without password defined /locked
you can check time in this error and in qpsmtpd/sqpsmtpd logs
-
Indeed that is the case.
I see in sqpsmtpd continuous attempts to auth non-existing users. The user names seem to come from a dictionary. Whenever by chance one of this user names matches the name of an existing group in the server, I get the segfault.
I'm thinking to install fail2ban contrib.
-
stop thinking. do it ;)
-
stop thinking. do it ;)
:lol:
-
SME10
Every about 30 min I get this in /var/log/messages:
Aug 3 08:06:35 wintermute kernel: [216543.570193] cvm-unix[13482]: segfault at 0 ip 00007fefe53e9ec6 sp 00007fff8eec3bc8 error 4 in libc-2.17.so[7fefe52ab000+1c4000]
Is it 'normal' log noise or should I open a bug?
I had the same problem and installed fail2ban to see if lowering the load on the cvm-unix service would fix the problem. But, no success, I still had a segfault every half an hour or so causing the cvm-unix service to restart. Since the module is used to authenticate users for the mail system, I tried to change the email setting "SMTP authentication" from "Allow both SMTP and SSMTP" to "Allow SMTP" only. This fixed the problem! Since making the change a few days back, I have not seen any cvm-unix segfault in the /var/log/messages file.
-
fail2ban will not prevent any occurrence but could lower by baning offending ip.
preventing auth on smtp port is an idea, please do so if not an issue for you, but you might prevent user behind a firewall to send mail. sometimes smtps port is filtered by firewalls.
-
Also if using fail2ban see https://forums.contribs.org/index.php/topic,54609.msg286443.html#msg286443 as it's service fails to start when a reconfig and reboot is executed at the moment.
-
Yes we know.
More accurately see this and the relevant bugs.
https://forums.contribs.org/index.php/topic,54609.msg286445.html#msg286445
It's an irritation, but not a reason to not use it.
-
This should be fixed in smeserver-qpsmtpd.noarch 0:2.7.0-12.el7.sme which was released a few days ago.
Please let us know if you have any issues.