Article delegate-en/4505 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Data connection refused, but data is forwarded
09 Jul 2009 12:43:54 GMT "Gusti Benawi" <prqhabdyi-6rjyzcn6b43r.ml@ml.delegate.org>


Hello,

I configured delegate to act as reverse proxy. 
FTPServer <---> Delegate <---> Internet

Delegate takes exactly 20 seconds every time to build the data connection in passive mode. This 20 seconds come exactly from two times timout@10 seconds because of connection from delegate to the ftp server is refused, as you can see in the log file (ftp_conndata: connection refused 120.30.1.21:34143->ftpserver.host/120.30.1.20:51359, errno=110)

What I am wondering is, why the data (for example directory listing) can be transfered to the client although the connection to the data port of the server is refused?

Following is the log.


06/04 12:50:18.17 [28385] 1+0/8: FTP LOGIN FROM 64.32.1.213 TO user@1..20
06/04 12:50:18.17 [28385] 1+0/8: PATH: ftp://120.30.1.20:3308!delegate.host:6618!64.32.1.213:3312!anonymous@64.32.1.213;1244112615
06/04 12:50:18.19 [28385] 1+0/8: FTP server ftp://120.30.1.20:3308/
06/04 12:50:18.19 [28385] 1+0/8: FTPHOPS: 1 [8/46 - -1/-1]
06/04 12:50:18.19 [28385] 1+0/8: ConnectToServer: DFLT=ftp://120.30.1.20:3308 REAL=://:0
06/04 12:50:18.19 [28385] 1+0/8: ConnectToServer connected [22] {120.30.1.20:3308 <- 120.30.1.21:34144} [0.001s]
06/04 12:50:18.19 [28385] 1+0/8: willSTLS_SV: ServerFlags=0
06/04 12:50:18.19 [28385] 1+0/8: willSTLS_SV: ServerFlags=0
06/04 12:50:18.20 [28385] 1+0/8: LoginPWD: "/"
06/04 12:50:18.20 [28385] 1+0/8: --PASV [] 120,30,1,21,27,140 InheritingFromUnboundProxyMode
06/04 12:50:28.20 [28385] 1+0/8: ## connect[26] TIMEOUT(10000)
06/04 12:50:28.20 [28385] 1+0/8: *** CON_TIMEOUT: 10.00/10s -> 120.30.1.20:51359
06/04 12:50:28.20 [28385] 1+0/8: ftp_conndata: connection refused 120.30.1.21:34143->ftpserver.host/120.30.1.20:51359, errno=110
06/04 12:50:28.20 [28385] 1+0/8: ftp_conndata: retry without port# (34143)
06/04 12:50:38.20 [28385] 1+0/8: ## connect[26] TIMEOUT(10000)
06/04 12:50:38.20 [28385] 1+0/8: *** CON_TIMEOUT: 10.00/10s -> 120.30.1.20:51359
06/04 12:50:38.20 [28385] 1+0/8: ftp_conndata: connection refused 120.30.1.21:42011->ftpserver.host/120.30.1.20:51359, errno=110
06/04 12:50:38.20 [28385] 1+0/8: FTP-control-remote: 120.30.1.20:21 [22]
06/04 12:50:38.20 [28385] 1+0/8: SRCIF=120.26.242.12:* [tcpbound://120.30.1.20:3308]
06/04 12:50:38.20 [28385] 1+0/8: --FTPdata [120.30.1.21,133,96]NAT[120.26.242.12]
06/04 12:50:38.20 [28385] 1+0/8: FTP-data-local[26]: 120.26.242.12:36671
06/04 12:50:38.20 [28385] 1+0/8: PASV [C][InheritingFromUnboundProxyMode] >> 227 Entering Passive Mode (InheritingFromUnboundProxyMode).^M
06/04 12:50:38.20 [28385] 1+0/8: *** / => ftp://120.30.1.20:3308/ ***
06/04 12:50:38.20 [28385] 1+0/8: # popfp cc=291
06/04 12:50:38.20 [28385] 1+0/8: DATA 120.30.1.20:41788 -> 120.30.1.21:36671 .. 120.30.1.21:7052 -> 64.32.1.213:3314

-- 
He abused me, he beated me,
He defeated me, he robbed me,
In those who harbour such thoughts
Hatred never ceases.

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V