[Bug 25247] New: [0.9] file transfer featureneg fails with "attempts to spoof an IQ reply"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 23 23:00:16 CET 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25247

           Summary: [0.9] file transfer featureneg fails with "attempts to
                    spoof an IQ reply"
           Product: Telepathy
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk


When I try to send a file from Gabble 0.9.2-1 (and Empathy) in Debian to Pidgin
2.5.4 in Windows, each participant's UI claims to be waiting for the other, and
I get this Gabble debug log (slightly anonymized, but the JID in googlemail.com
is the recipient and the JID in pseudorandom.co.uk is me):

gabble/file-transfer-DEBUG: 1.259013e+09: gabble_ft_manager_handle_request:
Requested outgoing channel with contact: ________ at googlemail.com
gabble/jid-DEBUG: 1.259013e+09: gabble_signal_connect_weak: connecting to
0x9918098:presences-updated with context 0x9d3b690
gabble/file-transfer-DEBUG: 1.259013e+09:
gabble_file_transfer_channel_constructor: New FT channel created:
/org/freedesktop/Telepathy/Connection/gabble/jabber/_________40pseudorandom_2eco_2euk_2freptile/FileTransferChannel/0x993ba40
(contact: ________ at googlemail.com, initiator: ________ at pseudorandom.co.uk,
file: "________.mp3", size: 3906147)
gabble/file-transfer-DEBUG: 1.259013e+09:
gabble_file_transfer_channel_offer_file: Offering file transfer to
________ at googlemail.com/9B3E1067
wocky-DEBUG: 1.259013e+09: wocky_xmpp_writer_write_stanza:
wocky-xmpp-writer.c:463: Writing xml: <iq to="________ at googlemail.com/9B3E1067"
type="set" id="6559087454"><si id="1259012722-3645628678"
profile="http://jabber.org/protocol/si/profile/file-transfer"
xmlns="http://jabber.org/protocol/si"><feature
xmlns="http://jabber.org/protocol/feature-neg"><x type="form"
xmlns="jabber:x:data"><field var="stream-method"
type="list-single"><option><value>http://jabber.org/protocol/bytestreams</value></option><option><value>http://jabber.org/protocol/ibb</value></option></field></x></feature><si-multiple
xmlns="http://telepathy.freedesktop.org/xmpp/si-multiple"></si-multiple><file
name="________.mp3" size="3906147" mime-type="audio/mpeg"
hash="68aa471d424a89b3a3a07f592fdcc10f" date="2009-10-29T05:03:48Z"
xmlns="http://jabber.org/protocol/si/profile/file-transfer"><desc/><range/></file></si></iq>.
gabble/jid-DEBUG: 1.259013e+09: gabble_signal_connect_weak: connecting to
0x993ba40:closed with context 0x9d87da0
gabble/file-transfer-DEBUG: 1.259013e+09: setup_local_socket: local socket
/tmp/gabble-ft-H71gaG/ft-channel-0x993ba40
wocky-DEBUG: 1.259013e+09: wocky_xmpp_reader_push: wocky-xmpp-reader.c:603:
Parsing chunk: <iq from='________ at googlemail.com/9B3E1067'
to='________ at pseudorandom.co.uk/reptile' type='result' id='6559087454'><si
xmlns='http://jabber.org/protocol/si'><feature
xmlns='http://jabber.org/protocol/feature-neg'><x type='submit'
xmlns='jabber:x:data'><field
var='stream-method'><value>http://jabber.org/protocol/bytestreams</value></field></x></feature></si></iq>
wocky-DEBUG: 1.259013e+09: _end_element_ns: wocky-xmpp-reader.c:525: Received
stanza
wocky-DEBUG: 1.259013e+09: handle_iq_reply: wocky-porter.c:706:
________ at googlemail.com/9B3E1067 attempts to spoof an IQ reply
gabble/connection-DEBUG: 1.259013e+09: connection_iq_unknown_cb: got unknown
iq:
<iq xmlns='jabber:client' from='________ at googlemail.com/9B3E1067'
to='________ at pseudorandom.co.uk/reptile' type='result' id='6559087454'>
  <si xmlns='http://jabber.org/protocol/si'>
    <feature xmlns='http://jabber.org/protocol/feature-neg'>
      <x xmlns='jabber:x:data' type='submit'>
        <field xmlns='jabber:x:data' var='stream-method'>
          <value xmlns='jabber:x:data'>
            http://jabber.org/protocol/bytestreams
          </value>
        </field>
      </x>
    </feature>
  </si>
</iq>

It looks as though either Wocky or the code in Gabble that interacts with Wocky
is failing to match the sent message to the reply, perhaps because it has added
an ID to the <si> and (wrongly?) expects the reply to have that ID, rather than
the ID of the <iq>.

My status at the time was hidden, in case that's significant.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list