--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linuxdcpp has inaccurate detection of passive mode users
- From: Ximin Luo <xl269@cam.ac.uk>
- Date: Thu, 18 Dec 2008 23:05:35 +0000
- Message-id: <20081218230535.3589.51020.reportbug@infinity0.debian>
Package: linuxdcpp
Version: 1.0.2-1
Severity: normal
When two clients connect to each other through SOCKS proxies and both clients
have reverse port forwardings from their respective proxy servers, linuxdcpp
detects both users as being in passive mode (firewall icon) and does not attempt
to connect them; instead it says "Can't connect to a passive user whilst in
passive mode!" to the user.
StrongDC++ detects both users as passive (firewall icon) but still attempts the
connection and succeeds.
To replicate, do the following for each client:
$ ssh -fNT -D [X] -R *:[Y]:localhost:[Y] [user]@[host]
- where [host] is a sshd that **has reverse port forwarding enabled.**
- /etc/ssh/sshd_config needs to contain "GatewayPorts <no|clientspecified>"
- have each client use localhost:[X] as a SOCKS proxy (resolve names too)
- have each client listen on port [Y]
(X and Y can be different for each client. note that if they are both connecting
to the same host, Y *must* be different)
the following commands can be used to make sure the reverse tunnel works:
client_A$ nc -l -p [Y]
client_B$ telnet [host] [Y]
B's input should appear as A's output.
In this setup, A and B can both receive incoming connections, so both users can
be in active mode, even though both are behind proxies.
However, if A and B connect to a hub and try to download from each other,
linuxdcpp with give the aforementioned error message and aborts the connection,
whereas StrongDC++ performs the connection and succeeds.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages linuxdcpp depends on:
ii libbz2-1.0 1.0.5-1 high-quality block-sorting file co
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libgcc1 1:4.3.2-1 GCC support library
ii libglade2-0 1:2.6.2-1 library to load .glade files at ru
ii libglib2.0-0 2.16.6-1 The GLib library of C routines
ii libgtk2.0-0 2.12.11-4 The GTK+ graphical user interface
ii libpango1.0-0 1.20.5-3 Layout and rendering of internatio
ii libssl0.9.8 0.9.8g-14 SSL shared libraries
ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3
ii libx11-6 2:1.1.5-2 X11 client-side library
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
linuxdcpp recommends no packages.
linuxdcpp suggests no packages.
-- no debconf information
--- End Message ---