[Pidgin] #7581: XMPP file transfer using file transfer proxy doesn't work

Pidgin trac at pidgin.im
Wed Nov 19 12:14:15 EST 2008


#7581: XMPP file transfer using file transfer proxy doesn't work
---------------------------------------------+------------------------------
 Reporter:  thenktor                         |        Owner:  deryni 
     Type:  defect                           |       Status:  pending
Milestone:                                   |    Component:  XMPP   
  Version:  2.5.2                            |   Resolution:         
 Keywords:  xmpp jabber file transfer proxy  |  
---------------------------------------------+------------------------------
Changes (by thenktor):

  * status:  pending => new


Comment:

 OK, it works after setting proxy.netlab.cz:

 {{{
 (18:11:15) jabber: Recv (ssl)(429): <message from='easstuetz at gmx.de/GMX
 MultiMessenger' to='thenktor at gmx.de' xml:lang='de' id='msg-16'
 type='chat'><body>was gehtn am samstag? </body><thread/><html
 xmlns='http://jabber.org/protocol/xhtml-im'><body
 xmlns='http://www.w3.org/1999/xhtml'><span style='font-family: 'MS
 Shell Dlg 2'; font-size: 'x-small''>was gehtn am samstag?
 </span></body></html><x xmlns='jabber:x:event'><composing/></x></message>
 (18:11:15) jabber: found 0 smileys
 (18:11:15) jabber: xmlParseChunk returned error 100
 (18:11:22) jabber: Recv (ssl)(282): <presence
 to="thenktor at thenktor.dyndns.org" from="285105181 at icq.thenktor.dyndns.org"
 type="unavailable"><x xmlns="vcard-
 temp:x:update"><photo><![CDATA[ff16b14c05cbf2c9e429bb98228b3be5642c3aab]]></photo><hash><![CDATA[ff16b14c05cbf2c9e429bb98228b3be5642c3aab]]></hash></x></presence>
 (18:11:23) jabber: Sending (ssl): <iq type='set' id='purple530a6bd2'
 to='clericon at thenktor.dyndns.org/Home'><si
 xmlns='http://jabber.org/protocol/si' id='purple530a6bd3'
 profile='http://jabber.org/protocol/si/profile/file-transfer'><file
 xmlns='http://jabber.org/protocol/si/profile/file-transfer'
 name='baum.jpg' size='15503'/><feature xmlns='http://jabber.org/protocol
 /feature-neg'><x xmlns='jabber:x:data' type='form'><field var='stream-
 method' type='list-
 single'><option><value>http://jabber.org/protocol/bytestreams</value></option></field></x></feature></si></iq>
 (18:11:28) jabber: Recv (ssl)(367): <iq type="result"
 to="thenktor at thenktor.dyndns.org/Home" id="purple530a6bd2"
 from="clericon at thenktor.dyndns.org/Home"><si
 xmlns="http://jabber.org/protocol/si"><feature
 xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data"
 type="submit"><field var="stream-
 method"><value>http://jabber.org/protocol/bytestreams</value></field></x></feature></si></iq>
 (18:11:28) network: Listening on port: 47526
 (18:11:28) jabber: xmlParseChunk returned error 100
 (18:11:28) network: Couldn't create UPnP mapping
 (18:11:28) network: Couldn't create UPnP mapping
 (18:11:28) stun: using server
 (18:11:28) jabber: jabber_si_xfer_bytestreams_listen_cb() will be looking
 at jsx 0x96a23c8: jsx->streamhosts (nil) and sh->jid 0x944c5f8(18:11:28)
 jabber: jabber_si_xfer_bytestreams_listen_cb() will be looking at jsx
 0x96a23c8: jsx->streamhosts 0x9717a40 and sh->jid 0x944c618(18:11:28)
 jabber: Sending (ssl): <iq type='set' id='purple530a6bd4'
 to='clericon at thenktor.dyndns.org/Home'><query
 xmlns='http://jabber.org/protocol/bytestreams'
 sid='purple530a6bd3'><streamhost jid='thenktor at thenktor.dyndns.org/Home'
 host='192.168.18.60' port='47526'/><streamhost
 jid='proxy.thenktor.dyndns.org' host='192.168.18.60'
 port='7777'/><streamhost jid='proxy.netlab.cz' host='77.48.19.1'
 port='7777'/></query></iq>
 (18:11:33) jabber: Recv (ssl)(104): <presence
 to="thenktor at thenktor.dyndns.org" from="46250152 at icq.thenktor.dyndns.org"
 type="unavailable"/>
 (18:11:33) jabber: xmlParseChunk returned error 100
 (18:11:33) jabber: Recv (ssl)(81): <presence from='lohrg at gmx.de/Home'
 to='thenktor at gmx.de/Home' type='unavailable'/>
 (18:11:33) jabber: xmlParseChunk returned error 100
 (18:11:59) jabber: Recv (ssl)(225): <iq type="result"
 to="thenktor at thenktor.dyndns.org/Home" id="purple530a6bd4"
 from="clericon at thenktor.dyndns.org/Home"><query
 xmlns="http://jabber.org/protocol/bytestreams"><streamhost-used
 jid="proxy.netlab.cz"/></query></iq>
 (18:11:59) jabber: jabber_si_connect_proxy_cb() will be looking at jsx
 0x96a23c8: jsx->streamhosts is 0x9717b30 and jid is proxy.netlab.cz
 (18:11:59) dns: DNS query for '77.48.19.1' queued
 (18:11:59) jabber: xmlParseChunk returned error 100
 (18:11:59) dns: Wait for DNS child 7009 failed: Keine Kind-Prozesse
 (18:11:59) dns: Created new DNS child 7195, there are now 1 children.
 (18:11:59) dns: Successfully sent DNS request to child 7195
 (18:11:59) dns: Got response for '77.48.19.1'
 (18:11:59) dnsquery: IP resolved for 77.48.19.1
 (18:11:59) proxy: Attempting connection to 77.48.19.1
 (18:11:59) proxy: Connecting to ee357daceba1d3d69796ad1c3d9b7d5ddfbdb406:0
 via 77.48.19.1:7777 using SOCKS5
 (18:11:59) socks5 proxy: Connection in progress
 (18:11:59) socks5 proxy: Connected.
 (18:11:59) socks5 proxy: Able to read.
 (18:11:59) s5: reallocing from 5 to 45
 (18:11:59) s5: reallocing from 45 to 47
 (18:11:59) jabber: Sending (ssl): <iq type='set' id='purple530a6bd5'
 to='proxy.netlab.cz'><query xmlns='http://jabber.org/protocol/bytestreams'
 sid='purple530a6bd3'><activate>clericon at thenktor.dyndns.org/Home</activate></query></iq>
 (18:11:59) jabber: Recv (ssl)(181): <iq from="proxy.netlab.cz"
 to="thenktor at thenktor.dyndns.org/Home" id="purple530a6bd5"
 type="result"><query xmlns="http://jabber.org/protocol/bytestreams"
 sid="purple530a6bd3"/></iq>
 (18:11:59) jabber: xmlParseChunk returned error 100
 (18:11:59) jabber: jabber_si_xfer_free(): freeing jsx 0x96a23c8
 }}}

 BTW: What is a "stanza"?

-- 
Ticket URL: <http://developer.pidgin.im/ticket/7581#comment:7>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list