Package: jftpgw
Version: 0.13.5-1
Severity: normal

I've set 'transparent-proxy' to 'on' and 'defaultmode' to 'passive'.
Console ftp/lftp on client works fine, but kget sends 'pasv', 'epsv' and 'eprt':

Nov 29 12:44:09 [12453]: Read (0): PASV
Nov 29 12:44:09 [12453]: Write(1): PASV
Nov 29 12:44:09 [12453]: Read (1): 227 Entering Passive Mode 
(172,16,0,100,63,32).
Nov 29 12:44:09 [12453]: Opening passive port 172.16.0.100:16160
Nov 29 12:44:09 [12453]: Trying to get a free source port on address 
89.223.18.24
Nov 29 12:44:09 [12453]: Found free port 2120 after 0 tries
Nov 29 12:44:09 [12453]: Found free port 63323 after 0 tries
Nov 29 12:44:09 [12453]: Write(0): 227 Entering Passive Mode 
(192,168,1,1,247,91)
Nov 29 12:44:12 [12453]: Read (0): EPSV
Nov 29 12:44:12 [12453]: Write(0): 500 'EPSV': command not understood.
Nov 29 12:44:12 [12453]: Read (0): eprt |1|192.168.1.252|55559|
Nov 29 12:44:12 [12453]: Send (server - 1): eprt |1|192.168.1.252|55559|
Nov 29 12:44:12 [12453]: Write(1): eprt |1|192.168.1.252|55559|
Nov 29 12:44:12 [12453]: Read (1): 200 EPRT command successful
Nov 29 12:44:12 [12453]: Write(0): 200 EPRT command successful
Nov 29 12:44:12 [12453]: Send (client - 0): 200 EPRT command successful

Server (172.16.0.100) recieves 'pasv' and enters passive mode. That's what I 
want.
But then kget sends 'epsv' (jftpgw reject it) and 'eprt' (which is
active-mode command!). Jftpgw sends 'eprt' and server enters ACTIVE mode!

Nov 29 12:44:12 [12453]: Write(1): RETR /upload/reliz_portal.int/games/Massive 
Assault.rar
Nov 29 12:45:30 [12453]: Read (1): 425 Unable to build data connection: 
Operation timed out
Nov 29 12:45:30 [12453]: Write(0): 425 Unable to build data connection: 
Operation timed out
Nov 29 12:45:30 [12453]: Send (client - 0): 425 Unable to build data 
connection: Operation timed out
Nov 29 12:45:30 [12453]: Server returned invalid response: 425 Unable to build 
data connection: Operation timed out

Therefore, server can not connect to host beyond router.

Perhaps the behavior of kget is wrong, but jftpgw shouldn't send active-mode 
commands in configured passive mode!

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages jftpgw depends on:
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries
ii  libwrap0                      7.6.dbs-14 Wietse Venema's TCP wrappers libra

jftpgw recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to