On 2014-03-02 12:17, Anders Le Chevalier wrote: > > > On 2014-02-28 01:32, Sam Varshavchik wrote: >> Anders Le Chevalier writes: >> >>> I have encountered an odd bug the last few weeks where >>> authdaemond causes segfaults in libc. I'll post the log at the >>> end of the message. >>> > > ... > >> Compile courier-authlib with the -g flag, adjust ulimit to enable >> core dumps, the backtrace from the coredump should be helpful. >> >> Looks like a failed authentication attempt is causing this. Some >> kind of an error handling problem, it looks like. >> > Thanks, I have done that, but also upgraded to courier-authlib-0.66.1. > I will see if the error occurs again and report back if it does. > >
OK, the segfault is happening with new version of authlib too: # dmesg [Mar 2 17:37] authdaemond[6641]: segfault at 0 ip 00007ff07103a42a sp 00007ffff7c4d818 error 4 in libc-2.18.so[7ff070f16000+19d000] Seems that I have lots "attempts" on my server....: # mail log Mar 2 17:31:10 e350 courieresmtpd: started,ip=[::ffff:89.216.21.136] Mar 2 17:31:10 e350 courieresmtpd: error,relay=::ffff:89.216.21.136,msg="535 Authentication failed.",cmd: AUTH Mar 2 17:31:10 e350 authdaemond: stopping authdaemond children Mar 2 17:31:10 e350 authdaemond: restarting authdaemond children Mar 2 17:31:10 e350 authdaemond: modules="authmysql authuserdb authpwd authshadow authcustom authpipe", daemons=5 Mar 2 17:31:10 e350 authdaemond: Uninstalling authmysql Mar 2 17:31:10 e350 authdaemond: Uninstalling authuserdb Mar 2 17:31:10 e350 authdaemond: Uninstalling authpwd Mar 2 17:31:10 e350 authdaemond: Uninstalling authshadow Mar 2 17:31:10 e350 authdaemond: Uninstalling authcustom Mar 2 17:31:10 e350 authdaemond: Uninstalling authpipe Mar 2 17:31:10 e350 authdaemond: Installing libauthmysql Mar 2 17:31:11 e350 authdaemond: Installation complete: authmysql Mar 2 17:31:11 e350 authdaemond: Installing libauthuserdb Mar 2 17:31:11 e350 authdaemond: Installation complete: authuserdb Mar 2 17:31:11 e350 authdaemond: Installing libauthpwd Mar 2 17:31:11 e350 authdaemond: Installation complete: authpwd Mar 2 17:31:11 e350 authdaemond: Installing libauthshadow Mar 2 17:31:11 e350 authdaemond: Installation complete: authshadow Mar 2 17:31:11 e350 authdaemond: Installing libauthcustom Mar 2 17:31:11 e350 authdaemond: Installation complete: authcustom Mar 2 17:31:11 e350 authdaemond: Installing libauthpipe Mar 2 17:31:11 e350 authdaemond: Installation complete: authpipe Mar 2 17:31:18 e350 courieresmtpd: error,relay=::ffff:89.216.21.136,msg="writev: Connection reset by peer",cmd: AUTH LOGIN bGRhcA== Mar 2 17:31:18 e350 courieresmtpd: error,relay=::ffff:89.216.21.136,msg="writev: Connection reset by peer",cmd: AUTH LOGIN bGRhcA== Mar 2 17:40:51 e350 courieresmtpd: started,ip=[::ffff:186.215.174.252] Mar 2 17:40:52 e350 courieresmtpd: error,relay=::ffff:186.215.174.252,msg="535 Authentication failed.",cmd: AUTH Mar 2 17:41:00 e350 courieresmtpd: error,relay=::ffff:186.215.174.252,msg="535 Authentication failed.",cmd: AUTH Mar 2 17:41:16 e350 courieresmtpd: error,relay=::ffff:186.215.174.252,msg="535 Authentication failed.",cmd: AUTH Mar 2 17:41:48 e350 courieresmtpd: error,relay=::ffff:186.215.174.252,msg="writev: Connection reset by peer",cmd: AUTH LOGIN d2ViMQ== I forgot to set ulimit -c to enable core dumps.... so I'll restart again with this set, and hopefully I can get some useful data. ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
