Open GoogleCodeExporter opened 9 years ago
Is there an update on this? Is this possible?I tried to ovveride the
OnLoginRequired event and do a Write of the auth xml, but that didn't work.
Original comment by a...@upsidedownlabs.com
on 14 Nov 2010 at 5:39
I have a fork of jabber-net with an implementation of SASL Anonymous. The fork
can be found at https://github.com/ffailla/jabber-net. What is the process for
submitting patches to jabber-net? I would be more than happy to prepare a
patch for submission/review. Thanks.
Original comment by ffai...@gmail.com
on 16 Jul 2011 at 3:41
I've tried this code linked to in comment 2 but I can't get past the
authentication stage. My jabber server reports to the logfiles that anonymous
auth was accepted, but my client just closes the socket
Original comment by diddle...@gmail.com
on 14 May 2012 at 12:29
I believe I've narrowed down my issue to the library seemingly sending two auth
requests only for anonymous auth, like so (from wireshark):
request 1:
<stream:stream xmlns:stream=\"http://etherx.jabber.org/streams\"
id=\"e4f08436\" xmlns=\"jabber:client\" to=\"uk1.freech.at\" version=\"1.0\">
response 1:
<?xml version='1.0'?>
<stream:stream xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' id='1012300714'
from='uk1.freech.at' version='1.0' xml:lang='en'>
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>ANONYMOUS</mechanism>
<mechanism>DIGEST-MD5</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
</stream:features>
request 2:
<auth mechanism=\"ANONYMOUS\" xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\" />
response 2:
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
request 3:
<auth mechanism=\"ANONYMOUS\" xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\" />
response 3:
<?xml version='1.0'?>
<stream:stream xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' id='426829087' from='freech.at'
xml:lang='en'>
request 4:
<stream:stream xmlns:stream=\"http://etherx.jabber.org/streams\"
id=\"d85deecc\" xmlns=\"jabber:client\" to=\"uk1.freech.at\" version=\"1.0\">
response 4:
<stream:error>
<invalid-namespace xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>
</stream:stream>
Followed by TCP RST packets closing the connection.
I'm banging my head against a brick wall with this one.. help would be most
appreciated :-)
Original comment by diddle...@gmail.com
on 14 May 2012 at 2:43
So, Is it possible to connect to a XMPP server using SASL Anonymous?
does anyone able to do so?
Original comment by harsh1...@gmail.com
on 28 Jul 2015 at 6:45
Original issue reported on code.google.com by
alex.kam...@gmail.com
on 2 Oct 2010 at 10:47