/etc/dovecot/conf.d/10-master.conf:
service auth {
unix_listener
/run/dovecot/auth-prosody {
mode = 0660
user = prosody
group = prosody
}
}
/etc/prosody/prosody.cfg.lua:
authentication = "dovecot"
dovecot_auth_socket = "/run/dovecot/auth-prosody"
auth_append_host = false
dovecot_auth_host = "127.0.0.1"
dovecot_auth_port = "143"
Feb 05 22:55:51 socket debug server.lua: accepted new client connection from 81.2.34.167:55759 to 5222
Feb 05 22:55:51 c2s136c110 info Client connected
Feb 05 22:55:51 c2s136c110 debug Client sent opening <stream:stream> to example.com
Feb 05 22:55:51 c2s136c110 debug Sent reply <stream:stream> to client
Feb 05 22:55:51 c2s136c110 debug Received[c2s_unauthed]: <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'>
Feb 05 22:55:51 socket debug server.lua: we need to do tls, but delaying until send buffer empty
Feb 05 22:55:51 c2s136c110 debug TLS negotiation started for c2s_unauthed...
Feb 05 22:55:51 socket debug server.lua: attempting to start tls on tcp{client}: 0x1781cc8
Feb 05 22:55:52 socket debug server.lua: ssl handshake done
Feb 05 22:55:52 c2s136c110 debug Client sent opening <stream:stream> to example.com
Feb 05 22:55:52 c2s136c110 debug Sent reply <stream:stream> to client
Feb 05 22:55:52 c2s136c110 debug Received[c2s_unauthed]: <auth mechanism='LOGIN' http://www.google.com/talk/protocol/auth#client-uses-full-bind-result='true' xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
Feb 05 22:55:52 example.com:auth_dovecot debug sending "AUTH 35 LOGIN service=xmpp resp=="
Feb 05 22:55:52 example.com:auth_dovecot debug received "CONT 35 VXNlcm5hbWU6"
Feb 05 22:55:52 example.com:saslauth debug sasl reply: <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>VXNlcm5hbWU6</challenge>
Feb 05 22:55:52 c2s136c110 debug Received[c2s_unauthed]: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
Feb 05 22:55:52 example.com:auth_dovecot debug sending "CONT 35 ZnJhbms="
Feb 05 22:55:52 example.com:auth_dovecot debug received "CONT 35 UGFzc3dvcmQ6"
Feb 05 22:55:52 example.com:saslauth debug sasl reply: <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>UGFzc3dvcmQ6</challenge>
Feb 05 22:55:52 c2s136c110 debug Received[c2s_unauthed]: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
Feb 05 22:55:52 example.com:auth_dovecot debug sending "CONT 35 c1NiZXIhMDY4OA=="
Feb 05 22:55:54 example.com:auth_dovecot debug received "FAIL 35 user=rainer"
Feb 05 22:55:54 example.com:saslauth debug sasl reply: <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not-authorized/></failure>
Feb 05 22:55:54 c2s136c110 debug Received[c2s_unauthed]: <auth mechanism='PLAIN' http://www.google.com/talk/protocol/auth#client-uses-full-bind-result='true' xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
Feb 05 22:55:54 example.com:auth_dovecot debug sending "AUTH 36 PLAIN service=xmpp resp=AGZyYW5rAHNTYmVyITA2ODg="
Feb 05 22:56:00 example.com:auth_dovecot debug received "FAIL 36 user=rainer"
Feb 05 22:56:00 example.com:saslauth debug sasl reply: <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not-authorized/></failure>
Feb 05 22:56:00 c2s136c110 debug Received </stream:stream>
Feb 05 22:56:00 c2s136c110 info c2s stream for <81.2.34.167> closed: session closed
Feb 05 22:56:00 c2s136c110 debug Destroying session for (unknown) ((unknown)@example.com)
Feb 05 22:56:00 c2s136c110 info Client disconnected: connection closed
Feb 05 22:56:00 c2s136c110 debug Destroying session for (unknown) ((unknown)@(unknown))
Feb 05 22:56:00 socket debug server.lua: closed client handler and removed socket from list
Feb 05 23:06:50 socket debug server.lua: accepted new client connection from 81.2.34.167:55764 to 5222
Feb 05 23:06:50 c2s16a68a0 info Client connected
Feb 05 23:06:50 c2s16a68a0 debug Client sent opening <stream:stream> to example.com
Feb 05 23:06:50 c2s16a68a0 debug Sent reply <stream:stream> to client
Feb 05 23:06:50 c2s16a68a0 debug Received[c2s_unauthed]: <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'>
Feb 05 23:06:50 socket debug server.lua: we need to do tls, but delaying until send buffer empty
Feb 05 23:06:50 c2s16a68a0 debug TLS negotiation started for c2s_unauthed...
Feb 05 23:06:50 socket debug server.lua: attempting to start tls on tcp{client}: 0x16521f8
Feb 05 23:06:51 socket debug server.lua: ssl handshake done
Feb 05 23:06:51 c2s16a68a0 debug Client sent opening <stream:stream> to example.com
Feb 05 23:06:51 c2s16a68a0 debug Sent reply <stream:stream> to client
Feb 05 23:06:52 c2s16a68a0 debug Received[c2s_unauthed]: <auth mechanism='PLAIN' xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
Feb 05 23:06:52 example.com:auth_dovecot debug sending "AUTH 38 PLAIN service=xmpp resp=ZnJhbmsAZnJhbmsAc1NiZXIhMDY4OA=="
Feb 05 23:06:54 example.com:auth_dovecot debug received "FAIL 38 user=rainer"
Feb 05 23:06:54 example.com:saslauth debug sasl reply: <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not-authorized/></failure>
Feb 05 23:06:54 c2s16a68a0 debug Received[c2s_unauthed]: <presence id='J1RIF-1' type='unavailable'>
Feb 05 23:06:54 stanzarouter debug Unhandled c2s_unauthed stanza: presence; xmlns=jabber:client
Feb 05 23:06:54 socket debug server.lua: client 81.2.34.167:55764 read error: closed
Feb 05 23:06:54 c2s16a68a0 info Client disconnected: closed
Feb 05 23:06:54 c2s16a68a0 debug Destroying session for (unknown) ((unknown)@example.com): closed
Feb 05 23:06:54 socket debug server.lua: closed client handler and removed socket from list
Feb 05 23:06:54 socket debug server.lua: accepted new client connection from 81.2.34.167:55767 to 5222
Feb 05 23:06:54 c2s172fd20 info Client connected
Feb 05 23:06:54 c2s172fd20 debug Client sent opening <stream:stream> to example.com
Feb 05 23:06:54 c2s172fd20 debug Sent reply <stream:stream> to client
Feb 05 23:06:54 c2s172fd20 debug Received[c2s_unauthed]: <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'>
Feb 05 23:06:54 socket debug server.lua: we need to do tls, but delaying until send buffer empty
Feb 05 23:06:54 c2s172fd20 debug TLS negotiation started for c2s_unauthed...
Feb 05 23:06:54 socket debug server.lua: attempting to start tls on tcp{client}: 0x171fb18
Feb 05 23:06:54 socket debug server.lua: ssl handshake done
Feb 05 23:06:54 c2s172fd20 debug Client sent opening <stream:stream> to example.com
Feb 05 23:06:54 c2s172fd20 debug Sent reply <stream:stream> to client
Feb 05 23:06:54 c2s172fd20 debug Received[c2s_unauthed]: <auth mechanism='PLAIN' xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
Feb 05 23:06:54 example.com:auth_dovecot debug sending "AUTH 40 PLAIN service=xmpp resp=ZnJhbmtAd29ybXNkb3JmLmRlAGZyYW5rQHdvcm1zZG9yZi5kZQBzU2JlciEwNjg4"
Feb 05 23:06:58 example.com:auth_dovecot debug received "OK 40 user=rai...@example.com"
Feb 05 23:06:58 c2s172fd20 info Authenticated as rainer\40exam...@example.com
Feb 05 23:06:58 example.com:saslauth debug sasl reply: <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'></success>
Feb 05 23:06:58 c2s172fd20 debug Client sent opening <stream:stream> to example.com
Feb 05 23:06:58 c2s172fd20 debug Sent reply <stream:stream> to client
Feb 05 23:06:58 c2s172fd20 debug Received[c2s]: <iq id='J1RIF-3' type='set'>
Feb 05 23:06:58 rostermanager debug load_roster: asked for: rainer\40exam...@example.com
Feb 05 23:06:58 rostermanager debug load_roster: loading for new user: rainer\40exam...@example.com
Feb 05 23:06:58 c2s172fd20 debug Resource bound: rainer\40exam...@example.com/jitsi-1a3t4dt