Re: [Dovecot] BUG: Authentication client sent unknown handshake command

2014-05-02 Thread Timo Sirainen
On 16.4.2014, at 17.48, Jean-Yves Moulin wrote: > After a kernel upgrade, while using the same dovecot binaries (they were > working perfectly until today), I'm experiencing this error (more log at the > end of my email): > > BUG: Authentication client sent unknown handshake command: > REQUES

[Dovecot] BUG: Authentication client sent unknown handshake command

2014-04-16 Thread Jean-Yves Moulin
Hi everybody, I'm using dovecot-2.2.11 on NetBSD. After a kernel upgrade, while using the same dovecot binaries (they were working perfectly until today), I'm experiencing this error (more log at the end of my email): BUG: Authentication client sent unknown handshake command: REQUEST?22767206

Re: [Dovecot] BUG: Authentication client sent unknown handshake command

2013-12-04 Thread Emmanuel Dreyfus
Emmanuel Dreyfus wrote: > I checked with a test program: on a non open, or closed socket, > getsockname() returns -1. However on a socket that was not bound, it > returns 0 and fills the buffer with garbage. Wrong diagnostic. I am now tracking synchronisation problems between auth and imap-login

Re: [Dovecot] BUG: Authentication client sent unknown handshake command

2013-12-03 Thread Emmanuel Dreyfus
Emmanuel Dreyfus wrote: > Indeed, when the auth process calls net_getunixname(), getsockname() fills the > name buffer with garbage. I checked with a test program: on a non open, or closed socket, getsockname() returns -1. However on a socket that was not bound, it returns 0 and fills the buffe

Re: [Dovecot] BUG: Authentication client sent unknown handshake command

2013-12-03 Thread Emmanuel Dreyfus
Timo Sirainen wrote: > I think net_getunixname() no longer works correctly. src/auth/main.c uses > it to figure out what each socket is. Indeed, when the auth process calls net_getunixname(), getsockname() fills the name buffer with garbage. That happens with fd 7 for instance, and inspecting th

Re: [Dovecot] BUG: Authentication client sent unknown handshake command

2013-12-03 Thread Timo Sirainen
On 29.11.2013, at 18.54, Emmanuel Dreyfus wrote: > After upgrading the kernel, everything is fine, except dovecot authentication. > I get this trange thing (data after REQUEST? changed just in case it > contains anything sensitive): > > Nov 29 16:56:01 volanges dovecot: auth: Error: BUG: Authen

Re: [Dovecot] BUG: Authentication client sent unknown handshake command

2013-12-03 Thread Emmanuel Dreyfus
Emmanuel Dreyfus wrote: > Nov 29 16:56:01 volanges dovecot: auth: Error: BUG: Authentication client > sent unknown handshake command: > REQUEST?6970356762?616?6?235264ef69dbd1665538af54... I have real trouble to debug that one. I had a look at wiki2.dovecot.org/Design/AuthProtocol, and if I unde

[Dovecot] BUG: Authentication client sent unknown handshake command

2013-11-29 Thread Emmanuel Dreyfus
Hi After upgrading the kernel, everything is fine, except dovecot authentication. I get this trange thing (data after REQUEST? changed just in case it contains anything sensitive): Nov 29 16:56:01 volanges dovecot: auth: Error: BUG: Authentication client sent unknown handshake command: REQUEST