Opened 18 years ago

Last modified 18 years ago

#1 closed defect

Psi doesn't work correctly with the built-in OS/2 SOCKS client — at Version 6

Reported by: Sergey Owned by: dmik
Priority: major Component: psi
Version: psi-0.10-os2-b1 Keywords: socks
Cc:

Description (last modified by dmik)

psi doesnt connect if OS/2 builtin socks client enabled.

also its not possible to send files while socks server enabled in PSI connection config for account.

[Ticket comments are copied from http://svn.netlabs.org/qt3/ticket/25]

Change History (6)

comment:1 by Sergey, 18 years ago

  1. Builtin socks:
            %ETC%\socks.cfg
            %ETC%\socks.env
    

socks.cfg (sample)

        direct 192.168.0.0 255.255.0.0
        direct 10.0.0.0 255.0.0.0
        direct 195.12.0.0 255.255.0.0
        direct 62.177.0.0 255.255.0.0
        direct 82.195.0.0 255.255.0.0
        sockd @=62.33.x.x 0.0.0.0 255.255.0.0 *= *=

socks.env (sample)

        socks_flag on
        socks_user
        socks_password
        socks_server 62.33.x.x
        socks_domain sample.dom
        socks_ns 62.177.x.x

Specify in SPI setup "Proxy:none" and you should see no connection to jabber server. Jeti/2 does using this config.

  1. Setup socks proxy in account settings. Use it in "Connection" for your jabber account.

Try to send/recv file to/from any jabber user in yr list. Here I cant success with it. Jeti/2 does perfectly.

Im behind firewall.

comment:2 by dmik, 18 years ago

Sergey, can you please try some other app using libc061.dll through your socks? For example, the SVN client (http://www.smedley.info/os2ports/subversion.html). To be sure the proble is in Qt, not in libc.

Also, have you tried PSI/2 Alpha 1? Does it not work too?

comment:3 by Sergey, 18 years ago

The problem appear only with OS/2 builtin socks client. Cant reproduce this err on win.

comment:4 by Sergey, 18 years ago

both alpha & beta do not work. considering libc61: I have

Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.9a1) Gecko/20060531 SeaMonkey/1.5a it uses 061 libc and news, in it, work fine.

So looks like its psi err/feature...

comment:5 by dmik, 18 years ago

Sergey, please tell me whether chat works when you set Proxy to Socks5 in the Connection settigs. Do you mean that Psi (with Proxy:None) doesn't connect to a jabber server that matches the 'direct' rule of your socks.cfg when the socks client is enabled or what?

What about the file transfer, it seems that Psi ignores any Proxy settings and always wants the direct connection by its design (need to look at the sources deeper in order to find that out). So in this case, this problem is not OS/2 specific. Unfortunately, I don't have so much time to enhance Psi itself so I cannot promice it will be fixed by me in the near feature.

comment:6 by dmik, 18 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.