[Konversation-devel] [Bug 252500] New: konversation fails to connect using SOCKS5 proxy; proxy connection OK using Firefox & Chatzilla/IRC ...

dev001 pgngw+dev001+bugs.kde.org at f-m.fm
Mon Sep 27 05:48:45 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=252500

           Summary: konversation fails to connect using SOCKS5 proxy;
                    proxy connection OK using Firefox & Chatzilla/IRC ...
           Product: konversation
           Version: 1.3.1
          Platform: Slackware Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: konversation-devel at kde.org
        ReportedBy: pgngw+dev001+bugs.kde.org at f-m.fm


on a remote opensuse 11.3 server,

    lsb_release -a
        LSB Version:   
core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-ia32:core-3.2-ia32:core-4.0-ia32:desktop-4.0-ia32:desktop-4.0-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-4.0-noarch
        Distributor ID: SUSE LINUX
        Description:    openSUSE 11.3 (i586)
        Release:        11.3
        Codename:       n/a

i installed

    rpm -qa | grep -i dante-server
        dante-server-1.1.19-139.1.i586

started sockd

    ps ax | grep -i sockd
     2038 ?        S<s    0:00 /usr/sbin/sockd -D
     2039 ?        S<     0:00 /usr/sbin/sockd -D
     2040 ?        S<     0:00 /usr/sbin/sockd -D
     2041 ?        S<     0:00 /usr/sbin/sockd -D
     2042 ?        S<     0:00 /usr/sbin/sockd -D
     2043 ?        S<     0:00 /usr/sbin/sockd -D
     2044 ?        S<     0:00 /usr/sbin/sockd -D
     2045 ?        S<     0:00 /usr/sbin/sockd -D
     2240 pts/3    S<+    0:00 grep -i sockd

listening on,

    netstat -an | grep 1080
        tcp        0      0 127.0.0.1:1080          0.0.0.0:*              
LISTEN


on a client, i opened a tunnel to the server,

    ssh -L 1080:localhost:1080 root at my.remote.server

    ps ax | grep "ssh -L"
        20458 pts/2    S+     0:00 ssh -L 1080:localhost:1080
root at my.remote.server

i open firefox, setup to use the SOCKS5 proxy @ 127.0.0.1:1080, and can
successfully nav to http://kde.org, where logs show the accepted connection,

    tail -f /var/log/dante.log
        Sep 26 20:05:16 (1285556716) sockd[2039]: pass(1): tcp/accept [:
127.0.0.1.35276 -> 127.0.0.1.1080
        Sep 26 20:05:17 (1285556717) sockd[2039]: pass(1): tcp/accept [:
127.0.0.1.35277 -> 127.0.0.1.1080
        Sep 26 20:05:17 (1285556717) sockd[2039]: pass(1): tcp/accept [:
127.0.0.1.35278 -> 127.0.0.1.1080
        Sep 26 20:05:17 (1285556717) sockd[2039]: pass(1): tcp/accept [:
127.0.0.1.35279 -> 127.0.0.1.1080
        Sep 26 20:05:18 (1285556718) sockd[2400]: created new iochild
        Sep 26 20:05:18 (1285556718) sockd[2039]: pass(1): tcp/accept [:
127.0.0.1.35280 -> 127.0.0.1.1080
        ...


next, i open chatzilla/firefox, still setup to use the SOCKS5 proxy @
127.0.0.1:1080, and can successfully connect to irc://irc.oftc.net:6667, where

    tail -f /var/log/dante.log
        Sep 26 20:40:18 (1285558818) sockd[3802]: pass(1): tcp/accept [:
127.0.0.1.42335 -> 127.0.0.1.1080
        Sep 26 20:40:25 (1285558825) sockd[3802]: pass(1): tcp/accept [:
127.0.0.1.42336 -> 127.0.0.1.1080
        Sep 26 20:40:26 (1285558826) sockd[3802]: pass(1): tcp/accept [:
127.0.0.1.42337 -> 127.0.0.1.1080
        ...

finally, i open Konversation, setup to use the SOCKS5 proxy @ 127.0.0.1:1080,
and attempt to connect irc://irc.oftc.net:6667;

the connection FAILS, where, at Konversation console,

    [20:28] [Info] Looking for server irc.oftc.net (port 6697) ...
    [20:28] [Error] Connection to server irc.oftc.net (port 6697) lost: Unknown
error.
    [20:28] [Info] Trying to reconnect to irc.oftc.net (port 6697) in 10
seconds.
    [20:29] [Info] Looking for server irc.oftc.net (port 6697) ...
    [20:29] [Error] Connection to server irc.oftc.net (port 6697) lost: Unknown
error.
    [20:29] [Info] Trying to reconnect to irc.oftc.net (port 6697) in 10
seconds.

and,

    tail -f /var/log/dante.log
        Sep 26 20:29:02 (1285558142) sockd[3802]: pass(1): tcp/accept [:
127.0.0.1.57377 -> 127.0.0.1.1080
        Sep 26 20:29:11 (1285558151) sockd[3803]: socketoptdup(): setsockopt(0,
32): Invalid argument (errno = 22)
        Sep 26 20:29:11 (1285558151) sockd[3803]: socketoptdup(): setsockopt(0,
33): Invalid argument (errno = 22)
        Sep 26 20:29:20 (1285558160) sockd[3803]: socketoptdup(): setsockopt(0,
32): Invalid argument (errno = 22)
        Sep 26 20:29:20 (1285558160) sockd[3803]: socketoptdup(): setsockopt(0,
33): Invalid argument (errno = 22)

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


More information about the Konversation-devel mailing list