On Tue, May 09, 2006 at 10:50:32PM +0200, Norman Rasmussen wrote:

> and I forgot you'll need outgoing access to what ever port other MSN
> clients use.

Yes, the gateway/transport machine can make unrestricted
outbound connections.

> Maybe James could be nice and put in an option to make
> all outgoing ft requests from the ftJabberPort,

I don't think that is necessary at this time.

> If you're using iptables can you not allow all outgoing traffic from
> the pymsnt process? or the user you're running pymsnt as? (check the
> owner match extension)

Yes.  When sending a file from Psi/jabber/PyMSNt to MSN, the
last jabber stanza that goes into PyMSNt is [1]. the <value>
field of http://jabber.org/protocol/bytestreams looks 'funny'.
Is this what it is supposed to be?

Also, the ethereal trace on the PyMSNt machine shows (in the
summary line):

  gw -> msnms: MSG 5 d 1449
             (with phrases in it like INVITE MSNMSGR: and 320 'A's in it)
  gw -> msnms: AAAAA=
  msnms -> gs: NAK 5
  gw -> msnms: PNG
  msnms -> gs: QNG

The NAK surely seems to indicate something bad, but I can't tell
what.  What should happen next in the transfer?  Does PyMSNt
place a tcp connection to somewhere in MSN-land?

(I don't have to configure MSN Messenger to tell it that it is
ok to receive files, do I?)

> As a sanity check, would it be possible to set the firewall to allow
> all incoming and outgoing during your testing, then at least you can
> double-check that in fact you can send and receive files correctly. 

I've tried to watch it with both iptables LOG entries and
ethereal, but see no activity that seems to be MSN trying to
connect inbound.

Thank you again for your help and patience,

Wendell

----------------------------------------------

[1]:
<iq type='set' to='[EMAIL PROTECTED]/msn'
   id='aadaa' from='[EMAIL PROTECTED]/Psi'>
  <si xmlns='http://jabber.org/protocol/si'
      profile='http://jabber.org/protocol/si/profile/file-transfer' 
      id='s5b_c380ecde322df913'>

    <file xmlns='http://jabber.org/protocol/si/profile/file-transfer'
        size='265' nam e='wx'>
      <desc>hhhhhhhhhhhhhh</desc>
      <range/>
    </file>

    <feature xmlns='http://jabber.org/protocol/feature-neg'>
      <x xmlns='jabber:x:data' type='form'>
        <field type='list-single' var='stream-method'>
          <option>
            <value>http://jabber.org/protocol/bytestreams</value>
          </option>
        </field>
      </x>
    </feature>
  </si>
</iq>

Reply via email to