On Sat, 8 Jan 2005 21:00:20 +0900 (JST), Yutaka Sato <pficabdyi-mykgh45azblw.ml@delegate.org> wrote: > > I modified DeleGate to support partial getting for FTP/HTTP without > downloading an entire file, as enclosed patch. > The modified version is uploaded as 8.10.4-pre8 too. This version work fine :) exept: after resume Delegate report to Opera wrong file size so file after downloading is shorter and not readable or executable... (seems shorter on downloaded portion... full size 100000 stop after 10000 resume reported size 90000 stop after 15000 resume reported 85000.... ) This happens with ProFTPD 1.2.9 running on ftp.lcard.ru for example... But for ftp.delegate.org it work fine... for ftp.mp3.int.ru too.... this is example log: problem maybe in this: 01/08 16:26:07.13 [943] 0+0: I-SAY: RETR asentlnx.exe^M 01/08 16:26:07.19 [943] 0+0: FTP-SERVER-SAYS: 150 Opening BINARY mode data connection for asentlnx.exe (39057223 bytes)^M 01/08 16:26:18.38 [946] 0+0: I-SAY: RETR asentlnx.exe^M 01/08 16:26:18.44 [946] 0+0: FTP-SERVER-SAYS: 150 Opening BINARY mode data connection for asentlnx.exe (38942771 bytes)^M LOG: 01/08 16:26:06.43 [943] 0+0: [-] localhost 01/08 16:26:06.43 [943] 0+0: [-] 127.0.0.1 01/08 16:26:06.43 [943] 0+0: HOSTS[0]=localhost/127.0.0.1 (PREDEF) 01/08 16:26:06.43 [943] 0+0: [-] .af-local 01/08 16:26:06.43 [943] 0+0: [-] 127.0.0.127 01/08 16:26:06.43 [943] 0+0: HOSTS[1]=.af-local/127.0.0.127 (PREDEF) 01/08 16:26:06.43 [943] 0+0: scanned HOSTS=localhost/127.0.0.1,.af-local/127.0.0.127 01/08 16:26:06.44 [943] 0+0: *** GETHOSTBYNAME: zipslack.example.org / 0.00 secs. has_alias:1 01/08 16:26:06.44 [943] 0+0: HOSTS[2]={zipslack.example.org,zipslack}/127.0.0.1 01/08 16:26:06.44 [943] 0+0: configuring default RESOLV ... 01/08 16:26:06.44 [943] 0+0: ... SYS: zipslack -> 127.0.0.1 01/08 16:26:06.48 [943] 0+0: ... DNS: 127.0.0.1 -> localhost.mtu.ru 01/08 16:26:06.48 [943] 0+0: ... DNS available 01/08 16:26:06.48 [943] 0+0: ... NIS not available (no default domain) 01/08 16:26:06.48 [943] 0+0: ... export RES_ORDER=CFD 01/08 16:26:06.48 [943] 0+0: export RESOLV=cache,file,dns (set by default) 01/08 16:26:06.48 [943] 0+0: setsockbuf[9] in:0->0 out:107520->131072 01/08 16:26:06.48 [943] 0+0: --INITIALIZATION START: 8.10.4-pre8 on Linux/2.4.26--[viaInetd] 01/08 16:26:06.48 [943] 0+0: BINSHELL=/bin/sh 01/08 16:26:06.48 [943] 0+0: SPECIALIST: http 01/08 16:26:06.48 [943] 0+0: ##DeleGate/6.X: created directory/file will be non-sharable. SHARE="" will make it compatible with former versions. 01/08 16:26:06.48 [943] 0+0: ##DeleGate/6.X: DGROOT=/var/spool/delegate-nobody is set automatically. DGROOT="" will make it compatible with former versions. 01/08 16:26:06.48 [943] 0+0: DGROOT=/var/spool/delegate-nobody^M 01/08 16:26:06.48 [943] 0+0: <DeleGate/8.10.4-pre8> [943] -P3128 READY^M 01/08 16:26:06.48 [943] 0+0: PORT= 3128/5 (12,56) 01/08 16:26:06.48 [943] 0+0: OWNER=nobody => OWNER=nobody/nogroup(nobody/nogroup) 01/08 16:26:06.48 [943] 0+0: SPECIALIST: http 01/08 16:26:06.48 [943] 0+0: ##DeleGate/6.X: MIMECONV=thru is set by default. MIMECONV="" will make it compatible with former versions. 01/08 16:26:06.48 [943] 0+0: dirfopen(/var/spool/delegate-nobody/log/errors.log,a): 8201f18 [10] 01/08 16:26:06.48 [943] 0+0: dirfopen(/var/spool/delegate-nobody/log/abort/3128,a): 8202088 [11] 01/08 16:26:06.48 [943] 0+0: dirfopen(/var/spool/delegate-nobody/log/3128.http,a): 8202228 [12] 01/08 16:26:06.48 [943] 0+0: #### newRoute[NOTIFYPLTFM] 0/16 01/08 16:26:06.48 [943] 0+0: [0] NOTIFYPLTFM=://:0-_-{}:{} 01/08 16:26:06.48 [943] 0+0: default netmask 127.0.0.1/. = FFFFFF00 01/08 16:26:06.48 [943] 0+0: #### newRoute[REMITTABLE] 0/16 01/08 16:26:06.48 [943] 0+0: [0] REMITTABLE={}{http,https/{80,443},gopher,ftp,wais}:{*}:{*} 01/08 16:26:06.48 [943] 0+0: REMITTABLE = http,https/{80,443},gopher,ftp,wais 01/08 16:26:06.48 [943] 0+0: #### newRoute[RELIABLE] 0/16 01/08 16:26:06.48 [943] 0+0: [0] RELIABLE=://:0-_-{}:{} 01/08 16:26:06.48 [943] 0+0: #### newRoute[CMAP] 0/16 01/08 16:26:06.48 [943] 0+0: [0] CMAP={delegate,vhost,nojava}relay{*}:{*}:{.localnet} 01/08 16:26:06.48 [943] 0+0: #### newRoute[CMAP] 1/16 01/08 16:26:06.48 [943] 0+0: [1] CMAP={proxy}relay{*}:{*}:{*} 01/08 16:26:06.48 [943] 0+0: ### [0] gzip 0 01/08 16:26:06.48 [943] 0+0: ### [1] /gzip 0 01/08 16:26:06.48 [943] 0+0: ### [2] /var/spool/delegate-nobody/lib/gzip 0 01/08 16:26:06.48 [943] 0+0: ### [3] /usr/local/sbin/gzip 0 01/08 16:26:06.48 [943] 0+0: ### [4] /var/spool/delegate-nobody/etc/gzip 0 01/08 16:26:06.48 [943] 0+0: ### [0] /sbin/gzip 0 01/08 16:26:06.48 [943] 0+0: ### [1] /bin/gzip 820c360 01/08 16:26:06.48 [943] 0+0: PATH: gzip -> /bin/gzip 01/08 16:26:06.48 [943] 0+0: #### gzip = [/bin/gzip]gzip 01/08 16:26:06.48 [943] 0+0: #### gunzip = [/bin/gzip]gzip -d 01/08 16:26:06.48 [943] 0+0: ADMIN=root@zipslack protocol=http(specialist) 01/08 16:26:06.48 [943] 0+0: WORKDIR=/var/spool/delegate-nobody/work/3128 01/08 16:26:06.48 [943] 0+0: dirfopen(943,w): 820c3f8 [13] 01/08 16:26:06.48 [943] 0+0: IGNORE DUPLICATE MOUNT[0] /-* = default 01/08 16:26:06.48 [943] 0+0: IGNORE DUPLICATE MOUNT[1] /=* = default 01/08 16:26:06.48 [943] 0+0: MOUNT[0]X[2] /-/builtin/icons/* = default 01/08 16:26:06.48 [943] 0+0: MOUNT[1]X[3] /-/* = forbidden,from=!.RELIABLE,default 01/08 16:26:06.48 [943] 0+0: MOUNT[2]X[0] /-* = default 01/08 16:26:06.48 [943] 0+0: MOUNT[3]X[1] /=* = default 01/08 16:26:06.48 [943] 0+0: ##DeleGate/6.X: No default private-MASTER. MASTERP="" will make it compatible with former versions. 01/08 16:26:06.48 [943] 0+0: #### stack size limit = 800000 (000000X) 01/08 16:26:06.48 [943] 0+0: dirfopen(/var/spool/delegate-nobody/act/pid/3128,w+): 820d360 [13] 01/08 16:26:06.48 [943] 0+0: Stay open PIDFILE for accept() lock[fd=13] 01/08 16:26:06.48 [943] 0+0: env[13] LIBPATH=.;/;/var/spool/delegate-nobody/lib;/usr/local/sbin;/var/spool/delegate-nobody/etc 01/08 16:26:06.48 [943] 0+0: env[15] RESOLV=cache,file,dns 01/08 16:26:06.48 [943] 0+0: arg[2] SERVER=http 01/08 16:26:06.48 [943] 0+0: TMPFILE(setLastModified) = (16) /var/spool/delegate-nobody/tmp/dg943.2.1105230366 01/08 16:26:06.48 [943] 0+0: >>>TMPFILE(setLastModified)>>>820d530[16] 01/08 16:26:06.49 [943] 0+0: dirfopen(/var/spool/delegate-nobody/etc/params/3128,r): 820d6a0 [17] 01/08 16:26:06.49 [943] 0+0: DELEGATE_Modified[0]: 41e02366 01/08 16:26:06.49 [943] 0+0: Accept-LOCK: 0 01/08 16:26:06.49 [943] 0+0: --INITIALIZATION DONE: 8.10.4-pre8 on Linux/2.4.26--[viaInetd] 01/08 16:26:06.49 [943] 0+0: HOSTS[3]=/192.168.12.2 01/08 16:26:06.49 [943] 0+0: ONE-TIME SERVER(in nowait from inetd)[47]0,1,2 01/08 16:26:06.49 [943] 0+0: HOSTS[4]=/192.168.12.1 01/08 16:26:06.49 [943] 0+0: -- SockHost: [192.168.12.1] 192.168.12.1:3128 01/08 16:26:06.49 [943] 0+0: SPECIALIST: http 01/08 16:26:06.49 [943] 0+0: #### newRoute[USERIDENT] 0/16 01/08 16:26:06.49 [943] 0+0: [0] USERIDENT=://:0-_-{}:{} 01/08 16:26:06.49 [943] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:06.49 [943] 0+0: dirfopen(/var/spool/delegate-nobody/act/clients/23/192.168.12.2:192.168.12.2,r+): 0 [-1] 01/08 16:26:06.49 [943] 0+0: dirfopen(/var/spool/delegate-nobody/act/clients/23/192.168.12.2:192.168.12.2,w+): 820da48 [16] 01/08 16:26:06.49 [943] 0+0: (0) accepted [47] -@[192.168.12.2]192.168.12.2:3523 (0.055s)(1) 01/08 16:26:06.49 [943] 0+0: dirfopen(/var/spool/delegate-nobody/adm/shutout/192.168.12.2,r): 0 [-1] 01/08 16:26:06.49 [943] 0+0: dirfopen(/var/spool/delegate-nobody/adm/shutout/192.168.12.2,r): 0 [-1] 01/08 16:26:06.49 [943] 0+0: KeepAlive[47] = 1 01/08 16:26:06.49 [943] 0+0: execGeneralist->execSpecialist 01/08 16:26:06.49 [943] 0+0: PATH: http://-:80!192.168.12.1:3128!192.168.12.2:3523!anonymous@192.168.12.2;1105230366 01/08 16:26:06.49 [943] 0+0: #CEcl prepare ContEncoding:deflate, gzip, x-gzip, identity, *;q=0 01/08 16:26:06.49 [943] 0+0: HCKA:[0] c:client's will 01/08 16:26:06.49 [943] 0+0: Accept-Language: en 01/08 16:26:06.49 [943] 0+0: HTTP Relay_request_head (374 bytes/8 lines) 01/08 16:26:06.49 [943] 0+0: Proxy: host=192.168.12.2; User-Agent: Opera/7.52 (Windows NT 5.1; U) [en]; DIRECT 01/08 16:26:06.49 [943] 0+0: HCKA:[0] close; host=192.168.12.2; (User-Agent: Opera/7.52 (Windows NT 5.1; U) [en]) 01/08 16:26:06.49 [943] 0+0: HTTP Relay_request done (374 bytes/8 lines) 01/08 16:26:06.49 [943] 0+0: REQUEST - GET ftp://ftp.lcard.ru/pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:06.49 [943] 0+0: ImMaster? 0 <http://-:80> <http://ftp.lcard.ru:80/> 01/08 16:26:06.49 [943] 0+0: To another server or proxy, THRU >>> ftp://ftp.lcard.ru/pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:06.49 [943] 0+0: gethostbyname(ftp.lcard.ru). 01/08 16:26:06.55 [943] 0+0: *** gethostbyname(ftp.lcard.ru): ns.lcard.ru / 0.06 secs. has_alias:1 01/08 16:26:06.55 [943] 0+0: HOSTS[5]={ns.lcard.ru,ftp.lcard.ru}/217.69.216.146 01/08 16:26:06.55 [943] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:06.55 [943] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:06.55 [943] 0+0: REMOTE > GET /pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:06.55 [943] 0+0: **** add_input: GET /pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:06.55 [943] 0+0: HTTP GateWay > ftp://ftp.lcard.ru:21/GET /pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:06.55 [943] 0+0: PATH> ftp://ftp.lcard.ru:21!192.168.12.1:3128!192.168.12.2:3523!anonymous@192.168.12.2;1105230366 01/08 16:26:06.55 [943] 0+0: REQUEST = [ftp://ftp.lcard.ru:21/] GET /pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:06.55 [943] 0+0: #### newRoute[REACHABLE] 0/16 01/08 16:26:06.55 [943] 0+0: [0] REACHABLE=://:0-_-{}:{} 01/08 16:26:06.55 [943] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:06.55 [943] 0+0: PERMITTED: ftp://ftp.lcard.ru 01/08 16:26:06.55 [943] 0+0: CACHE: `/var/spool/delegate-nobody/cache/$[server:%P/%L/%p]' 01/08 16:26:06.55 [943] 0+0: CACHE: `/var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe' 01/08 16:26:06.55 [943] 0+0: (don't determin expire here) 01/08 16:26:06.55 [943] 0+0: expfopen: /var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe 01/08 16:26:06.55 [943] 0+0: [0.00,-1][FTP/HTTP cache-NONE] /var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe 01/08 16:26:06.55 [943] 0+0: expfopen: /var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe/.-_-./LIST:-lL: 01/08 16:26:06.55 [943] 0+0: [0.00,-1][FTP/HTTP cache-NONE] /var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe/.-_-./LIST:-lL: 01/08 16:26:06.55 [943] 0+0: Host: ftp.lcard.ru <= ftp.lcard.ru 01/08 16:26:06.55 [943] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:06.55 [943] 0+0: PERMITTED: ftp://ftp.lcard.ru 01/08 16:26:06.55 [943] 0+0: tryProxyOnly:NO PROXY/MASTER 01/08 16:26:06.55 [943] 0+0: FTP/HTTP: GET ftp://ftp.lcard.ru:21/pub/sybase/asentlnx.exe HTTP/1.0 01/08 16:26:06.55 [943] 0+0: CACHE: `/var/spool/delegate-nobody/cache/$[server:%P/%L/%p]' 01/08 16:26:06.55 [943] 0+0: CACHE: `/var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe' 01/08 16:26:06.55 [943] 0+0: authorization user[anonymous] pass[root@zipslack(FTP/HTTP-DeleGate/8.10.4-pre8)] 01/08 16:26:06.55 [943] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:06.55 [943] 0+0: PERMITTED: ftp://ftp.lcard.ru 01/08 16:26:06.55 [943] 0+0: dirfopen(/var/spool/delegate-nobody/act/servers/cc/ftp-anonymous-ftp.lcard.ru-21-0,r+): 0 [-1] 01/08 16:26:06.55 [943] 0+0: ConnectToServer connect ftp://ftp.lcard.ru:21 01/08 16:26:06.62 [943] 0+0: ConnectToServer connected [16] {217.69.216.146:21 <- 83.237.29.78:1139} [0.065s] 01/08 16:26:06.62 [943] 0+0: KeepAlive[16] = 1 01/08 16:26:06.62 [943] 0+0: FTP/HTTP: server opened [16] 01/08 16:26:06.77 [943] 0+0: FTP-SERVER-SAYS: 220-^M 01/08 16:26:06.78 [943] 0+0: I-SAY: USER anonymous^M 01/08 16:26:06.78 [943] 0+0: I-SAY: PASS root@zipslack(FTP/HTTP-DeleGate/8.10.4-pre8)^M 01/08 16:26:06.84 [943] 0+0: I-SAY: TYPE I^M 01/08 16:26:06.84 [943] 0+0: FTP-SERVER-SAYS: 331 Anonymous login ok, send your complete email address as your password.^M 01/08 16:26:06.89 [943] 0+0: FTP-SERVER-SAYS: 230 Now upload/download files^M 01/08 16:26:06.93 [943] 0+0: FTP-SERVER-SAYS: 200 Type set to I^M 01/08 16:26:06.93 [943] 0+0: CACHE: `/var/spool/delegate-nobody/cache/$[server:%P/%L/%p]' 01/08 16:26:06.93 [943] 0+0: CACHE: `/var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe' 01/08 16:26:06.93 [943] 0+0: (don't determin expire here) 01/08 16:26:06.93 [943] 0+0: expfopen: /var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe 01/08 16:26:06.93 [943] 0+0: [0.00,-1][FTP/HTTP cache-NONE] /var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe 01/08 16:26:06.93 [943] 0+0: FTP-CACHE: RETR [pub/sybase/asentlnx.exe] = [/var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe][]:0 01/08 16:26:06.93 [943] 0+0: I-SAY: PASV^M 01/08 16:26:06.98 [943] 0+0: FTP-SERVER-SAYS: 227 Entering Passive Mode (217,69,216,146,11,175).^M 01/08 16:26:06.98 [943] 0+0: ##NOT ViaSocks-B## 217.69.216.146:2991 01/08 16:26:07.03 [943] 0+0: ftp_conndata: connected 83.237.29.78:1138->ns.lcard.ru/217.69.216.146:2991 [17] 01/08 16:26:07.03 [943] 0+0: KeepAlive[17] = 1 01/08 16:26:07.03 [943] 0+0: I-SAY: CWD pub/sybase/asentlnx.exe^M 01/08 16:26:07.08 [943] 0+0: FTP-SERVER-SAYS: 550 pub/sybase/asentlnx.exe: Not a directory^M 01/08 16:26:07.08 [943] 0+0: I-SAY: CWD pub/sybase^M 01/08 16:26:07.13 [943] 0+0: FTP-SERVER-SAYS: 250 CWD command successful.^M 01/08 16:26:07.13 [943] 0+0: I-SAY: RETR asentlnx.exe^M 01/08 16:26:07.19 [943] 0+0: FTP-SERVER-SAYS: 150 Opening BINARY mode data connection for asentlnx.exe (39057223 bytes)^M 01/08 16:26:07.19 [943] 0+0: dirfopen(/var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe#CREATING,w): 8200080 [18] 01/08 16:26:07.19 [943] 0+0: CACHE: created /var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe#CREATING 01/08 16:26:07.19 [943] 0+0: TMPFILE(ident_copy) = (19) /var/spool/delegate-nobody/tmp/dg943.3.1105230367 01/08 16:26:07.19 [943] 0+0: >>>TMPFILE(ident_copy)>>>82004d0[19] 01/08 16:26:14.99 [943] 0+0: ## got SIGPIPE [1] in HTTP: Gatewaying 01/08 16:26:14.99 [943] 0+0: file_copy: client disconnected 01/08 16:26:14.99 [943] 0+0: FTP/HTTP DONE: GOT 129024 / 39057223 bytes 01/08 16:26:14.99 [943] 0+0: ## confirm data-conn close(17)=-1 01/08 16:26:16.07 [943] 0+0: CACHE: err = [129024] /var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe#CREATING 01/08 16:26:16.08 [943] 0+0: HCKA:[0] p:premature client EOF on gatewaying 01/08 16:26:16.08 [943] 0+0: ClientEOF: gatewaying_ftp.SIGPIPE 01/08 16:26:16.08 [943] 0+0: ## [47] don't flush to cause SIGPIPE 01/08 16:26:16.08 [943] 0+0: dirfopen(/var/spool/delegate-nobody/act/clients/23/192.168.12.2:192.168.12.2,r+): 820e6e0 [16] 01/08 16:26:16.08 [943] 0+0: disconnected [47] -@[192.168.12.2]192.168.12.2:3523 (9.643s)(0) 01/08 16:26:16.08 [943] 0+0: StickyKill(1): 0/0 killed 01/08 16:26:16.08 [943] 0+0: unlinked /var/spool/delegate-nobody/work/3128/943 01/08 16:26:16.08 [943] 0+0: removed /var/spool/delegate-nobody/work/3128/ 01/08 16:26:17.72 [946] 0+0: [-] localhost 01/08 16:26:17.72 [946] 0+0: [-] 127.0.0.1 01/08 16:26:17.72 [946] 0+0: HOSTS[0]=localhost/127.0.0.1 (PREDEF) 01/08 16:26:17.72 [946] 0+0: [-] .af-local 01/08 16:26:17.72 [946] 0+0: [-] 127.0.0.127 01/08 16:26:17.72 [946] 0+0: HOSTS[1]=.af-local/127.0.0.127 (PREDEF) 01/08 16:26:17.72 [946] 0+0: scanned HOSTS=localhost/127.0.0.1,.af-local/127.0.0.127 01/08 16:26:17.72 [946] 0+0: *** GETHOSTBYNAME: zipslack.example.org / 0.00 secs. has_alias:1 01/08 16:26:17.72 [946] 0+0: HOSTS[2]={zipslack.example.org,zipslack}/127.0.0.1 01/08 16:26:17.72 [946] 0+0: configuring default RESOLV ... 01/08 16:26:17.72 [946] 0+0: ... SYS: zipslack -> 127.0.0.1 01/08 16:26:17.76 [946] 0+0: ... DNS: 127.0.0.1 -> localhost.mtu.ru 01/08 16:26:17.76 [946] 0+0: ... DNS available 01/08 16:26:17.76 [946] 0+0: ... NIS not available (no default domain) 01/08 16:26:17.76 [946] 0+0: ... export RES_ORDER=CFD 01/08 16:26:17.76 [946] 0+0: export RESOLV=cache,file,dns (set by default) 01/08 16:26:17.76 [946] 0+0: setsockbuf[9] in:0->0 out:107520->131072 01/08 16:26:17.76 [946] 0+0: --INITIALIZATION START: 8.10.4-pre8 on Linux/2.4.26--[viaInetd] 01/08 16:26:17.76 [946] 0+0: BINSHELL=/bin/sh 01/08 16:26:17.76 [946] 0+0: SPECIALIST: http 01/08 16:26:17.76 [946] 0+0: ##DeleGate/6.X: created directory/file will be non-sharable. SHARE="" will make it compatible with former versions. 01/08 16:26:17.76 [946] 0+0: ##DeleGate/6.X: DGROOT=/var/spool/delegate-nobody is set automatically. DGROOT="" will make it compatible with former versions. 01/08 16:26:17.76 [946] 0+0: DGROOT=/var/spool/delegate-nobody^M 01/08 16:26:17.76 [946] 0+0: <DeleGate/8.10.4-pre8> [946] -P3128 READY^M 01/08 16:26:17.76 [946] 0+0: PORT= 3128/5 (12,56) 01/08 16:26:17.76 [946] 0+0: OWNER=nobody => OWNER=nobody/nogroup(nobody/nogroup) 01/08 16:26:17.76 [946] 0+0: SPECIALIST: http 01/08 16:26:17.76 [946] 0+0: ##DeleGate/6.X: MIMECONV=thru is set by default. MIMECONV="" will make it compatible with former versions. 01/08 16:26:17.77 [946] 0+0: dirfopen(/var/spool/delegate-nobody/log/errors.log,a): 81fb558 [10] 01/08 16:26:17.77 [946] 0+0: dirfopen(/var/spool/delegate-nobody/log/abort/3128,a): 81fb6c8 [11] 01/08 16:26:17.77 [946] 0+0: dirfopen(/var/spool/delegate-nobody/log/3128.http,a): 81fb868 [12] 01/08 16:26:17.77 [946] 0+0: #### newRoute[NOTIFYPLTFM] 0/16 01/08 16:26:17.77 [946] 0+0: [0] NOTIFYPLTFM=://:0-_-{}:{} 01/08 16:26:17.77 [946] 0+0: default netmask 127.0.0.1/. = FFFFFF00 01/08 16:26:17.77 [946] 0+0: #### newRoute[REMITTABLE] 0/16 01/08 16:26:17.77 [946] 0+0: [0] REMITTABLE={}{http,https/{80,443},gopher,ftp,wais}:{*}:{*} 01/08 16:26:17.77 [946] 0+0: REMITTABLE = http,https/{80,443},gopher,ftp,wais 01/08 16:26:17.77 [946] 0+0: #### newRoute[RELIABLE] 0/16 01/08 16:26:17.77 [946] 0+0: [0] RELIABLE=://:0-_-{}:{} 01/08 16:26:17.77 [946] 0+0: #### newRoute[CMAP] 0/16 01/08 16:26:17.77 [946] 0+0: [0] CMAP={delegate,vhost,nojava}relay{*}:{*}:{.localnet} 01/08 16:26:17.77 [946] 0+0: #### newRoute[CMAP] 1/16 01/08 16:26:17.77 [946] 0+0: [1] CMAP={proxy}relay{*}:{*}:{*} 01/08 16:26:17.77 [946] 0+0: ### [0] gzip 0 01/08 16:26:17.77 [946] 0+0: ### [1] /gzip 0 01/08 16:26:17.77 [946] 0+0: ### [2] /var/spool/delegate-nobody/lib/gzip 0 01/08 16:26:17.77 [946] 0+0: ### [3] /usr/local/sbin/gzip 0 01/08 16:26:17.77 [946] 0+0: ### [4] /var/spool/delegate-nobody/etc/gzip 0 01/08 16:26:17.77 [946] 0+0: ### [0] /sbin/gzip 0 01/08 16:26:17.77 [946] 0+0: ### [1] /bin/gzip 8205928 01/08 16:26:17.77 [946] 0+0: PATH: gzip -> /bin/gzip 01/08 16:26:17.77 [946] 0+0: #### gzip = [/bin/gzip]gzip 01/08 16:26:17.77 [946] 0+0: #### gunzip = [/bin/gzip]gzip -d 01/08 16:26:17.77 [946] 0+0: ADMIN=root@zipslack protocol=http(specialist) 01/08 16:26:17.77 [946] 0+0: WORKDIR=/var/spool/delegate-nobody/work/3128 01/08 16:26:17.77 [946] 0+0: dirfopen(946,w): 82059c0 [13] 01/08 16:26:17.77 [946] 0+0: IGNORE DUPLICATE MOUNT[0] /-* = default 01/08 16:26:17.77 [946] 0+0: IGNORE DUPLICATE MOUNT[1] /=* = default 01/08 16:26:17.77 [946] 0+0: MOUNT[0]X[2] /-/builtin/icons/* = default 01/08 16:26:17.77 [946] 0+0: MOUNT[1]X[3] /-/* = forbidden,from=!.RELIABLE,default 01/08 16:26:17.77 [946] 0+0: MOUNT[2]X[0] /-* = default 01/08 16:26:17.77 [946] 0+0: MOUNT[3]X[1] /=* = default 01/08 16:26:17.77 [946] 0+0: ##DeleGate/6.X: No default private-MASTER. MASTERP="" will make it compatible with former versions. 01/08 16:26:17.77 [946] 0+0: #### stack size limit = 800000 (000000X) 01/08 16:26:17.77 [946] 0+0: dirfopen(/var/spool/delegate-nobody/act/pid/3128,w+): 8206928 [13] 01/08 16:26:17.77 [946] 0+0: Stay open PIDFILE for accept() lock[fd=13] 01/08 16:26:17.77 [946] 0+0: env[13] LIBPATH=.;/;/var/spool/delegate-nobody/lib;/usr/local/sbin;/var/spool/delegate-nobody/etc 01/08 16:26:17.77 [946] 0+0: env[15] RESOLV=cache,file,dns 01/08 16:26:17.77 [946] 0+0: arg[2] SERVER=http 01/08 16:26:17.77 [946] 0+0: TMPFILE(setLastModified) = (16) /var/spool/delegate-nobody/tmp/dg946.2.1105230377 01/08 16:26:17.77 [946] 0+0: >>>TMPFILE(setLastModified)>>>8206af8[16] 01/08 16:26:17.77 [946] 0+0: dirfopen(/var/spool/delegate-nobody/etc/params/3128,r): 8206c68 [17] 01/08 16:26:17.77 [946] 0+0: DELEGATE_Modified[0]: 41e02366 01/08 16:26:17.77 [946] 0+0: Accept-LOCK: 0 01/08 16:26:17.77 [946] 0+0: --INITIALIZATION DONE: 8.10.4-pre8 on Linux/2.4.26--[viaInetd] 01/08 16:26:17.77 [946] 0+0: HOSTS[3]=/192.168.12.2 01/08 16:26:17.77 [946] 0+0: ONE-TIME SERVER(in nowait from inetd)[38]0,1,2 01/08 16:26:17.77 [946] 0+0: HOSTS[4]=/192.168.12.1 01/08 16:26:17.77 [946] 0+0: -- SockHost: [192.168.12.1] 192.168.12.1:3128 01/08 16:26:17.77 [946] 0+0: SPECIALIST: http 01/08 16:26:17.77 [946] 0+0: #### newRoute[USERIDENT] 0/16 01/08 16:26:17.77 [946] 0+0: [0] USERIDENT=://:0-_-{}:{} 01/08 16:26:17.77 [946] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:17.77 [946] 0+0: dirfopen(/var/spool/delegate-nobody/act/clients/23/192.168.12.2:192.168.12.2,r+): 0 [-1] 01/08 16:26:17.77 [946] 0+0: dirfopen(/var/spool/delegate-nobody/act/clients/23/192.168.12.2:192.168.12.2,w+): 8207010 [16] 01/08 16:26:17.77 [946] 0+0: (0) accepted [38] -@[192.168.12.2]192.168.12.2:3524 (0.053s)(1) 01/08 16:26:17.77 [946] 0+0: dirfopen(/var/spool/delegate-nobody/adm/shutout/192.168.12.2,r): 0 [-1] 01/08 16:26:17.77 [946] 0+0: dirfopen(/var/spool/delegate-nobody/adm/shutout/192.168.12.2,r): 0 [-1] 01/08 16:26:17.77 [946] 0+0: KeepAlive[38] = 1 01/08 16:26:17.77 [946] 0+0: execGeneralist->execSpecialist 01/08 16:26:17.77 [946] 0+0: PATH: http://-:80!192.168.12.1:3128!192.168.12.2:3524!anonymous@192.168.12.2;1105230377 01/08 16:26:17.78 [946] 0+0: #CEcl prepare ContEncoding:deflate, gzip, x-gzip, identity, *;q=0 01/08 16:26:17.78 [946] 0+0: HCKA:[0] c:client's will 01/08 16:26:17.78 [946] 0+0: #HT11 (-114452) Range: bytes=114452-^M 01/08 16:26:17.78 [946] 0+0: Accept-Language: en 01/08 16:26:17.78 [946] 0+0: HTTP Relay_request_head (396 bytes/9 lines) 01/08 16:26:17.78 [946] 0+0: Proxy: host=192.168.12.2; User-Agent: Opera/7.52 (Windows NT 5.1; U) [en]; DIRECT 01/08 16:26:17.78 [946] 0+0: HCKA:[0] close; host=192.168.12.2; (User-Agent: Opera/7.52 (Windows NT 5.1; U) [en]) 01/08 16:26:17.78 [946] 0+0: HTTP Relay_request done (396 bytes/9 lines) 01/08 16:26:17.78 [946] 0+0: #HT11 Don't use chunked encoding for Range: 114452--1 01/08 16:26:17.78 [946] 0+0: REQUEST - GET ftp://ftp.lcard.ru/pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:17.78 [946] 0+0: ImMaster? 0 <http://-:80> <http://ftp.lcard.ru:80/> 01/08 16:26:17.78 [946] 0+0: To another server or proxy, THRU >>> ftp://ftp.lcard.ru/pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:17.78 [946] 0+0: gethostbyname(ftp.lcard.ru). 01/08 16:26:17.78 [946] 0+0: *** gethostbyname(ftp.lcard.ru): ns.lcard.ru / 0.00 secs. has_alias:1 01/08 16:26:17.78 [946] 0+0: HOSTS[5]={ns.lcard.ru,ftp.lcard.ru}/217.69.216.146 01/08 16:26:17.78 [946] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:17.78 [946] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:17.78 [946] 0+0: REMOTE > GET /pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:17.78 [946] 0+0: **** add_input: GET /pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:17.78 [946] 0+0: HTTP GateWay > ftp://ftp.lcard.ru:21/GET /pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:17.78 [946] 0+0: PATH> ftp://ftp.lcard.ru:21!192.168.12.1:3128!192.168.12.2:3524!anonymous@192.168.12.2;1105230377 01/08 16:26:17.78 [946] 0+0: REQUEST = [ftp://ftp.lcard.ru:21/] GET /pub/sybase/asentlnx.exe HTTP/1.0^M 01/08 16:26:17.78 [946] 0+0: #### newRoute[REACHABLE] 0/16 01/08 16:26:17.78 [946] 0+0: [0] REACHABLE=://:0-_-{}:{} 01/08 16:26:17.78 [946] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:17.78 [946] 0+0: PERMITTED: ftp://ftp.lcard.ru 01/08 16:26:17.78 [946] 0+0: Host: ftp.lcard.ru <= ftp.lcard.ru 01/08 16:26:17.78 [946] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:17.78 [946] 0+0: PERMITTED: ftp://ftp.lcard.ru 01/08 16:26:17.78 [946] 0+0: tryProxyOnly:NO PROXY/MASTER 01/08 16:26:17.78 [946] 0+0: FTP/HTTP: GET ftp://ftp.lcard.ru:21/pub/sybase/asentlnx.exe HTTP/1.0 01/08 16:26:17.78 [946] 0+0: CACHE: `/var/spool/delegate-nobody/cache/$[server:%P/%L/%p]' 01/08 16:26:17.78 [946] 0+0: CACHE: `/var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe' 01/08 16:26:17.78 [946] 0+0: authorization user[anonymous] pass[root@zipslack(FTP/HTTP-DeleGate/8.10.4-pre8)] 01/08 16:26:17.78 [946] 0+0: *** gethostbyname(192.168.12.2) -> byaddr(4,2) 01/08 16:26:17.78 [946] 0+0: PERMITTED: ftp://ftp.lcard.ru 01/08 16:26:17.78 [946] 0+0: dirfopen(/var/spool/delegate-nobody/act/servers/cc/ftp-anonymous-ftp.lcard.ru-21-0,r+): 0 [-1] 01/08 16:26:17.78 [946] 0+0: ConnectToServer connect ftp://ftp.lcard.ru:21 01/08 16:26:17.82 [946] 0+0: ConnectToServer connected [16] {217.69.216.146:21 <- 83.237.29.78:1141} [0.042s] 01/08 16:26:17.82 [946] 0+0: KeepAlive[16] = 1 01/08 16:26:17.82 [946] 0+0: FTP/HTTP: server opened [16] 01/08 16:26:17.97 [946] 0+0: FTP-SERVER-SAYS: 220-^M 01/08 16:26:17.99 [946] 0+0: I-SAY: USER anonymous^M 01/08 16:26:17.99 [946] 0+0: I-SAY: PASS root@zipslack(FTP/HTTP-DeleGate/8.10.4-pre8)^M 01/08 16:26:18.04 [946] 0+0: I-SAY: TYPE I^M 01/08 16:26:18.04 [946] 0+0: FTP-SERVER-SAYS: 331 Anonymous login ok, send your complete email address as your password.^M 01/08 16:26:18.09 [946] 0+0: FTP-SERVER-SAYS: 230 Now upload/download files^M 01/08 16:26:18.14 [946] 0+0: FTP-SERVER-SAYS: 200 Type set to I^M 01/08 16:26:18.14 [946] 0+0: CACHE: `/var/spool/delegate-nobody/cache/$[server:%P/%L/%p]' 01/08 16:26:18.14 [946] 0+0: CACHE: `/var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe' 01/08 16:26:18.14 [946] 0+0: (don't determin expire here) 01/08 16:26:18.14 [946] 0+0: expfopen: /var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe 01/08 16:26:18.14 [946] 0+0: [0.00,-1][FTP/HTTP cache-NONE] /var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe 01/08 16:26:18.14 [946] 0+0: FTP-CACHE: RETR [pub/sybase/asentlnx.exe] = [/var/spool/delegate-nobody/cache/ftp/ftp.lcard.ru/pub/sybase/asentlnx.exe][]:0 01/08 16:26:18.14 [946] 0+0: I-SAY: PASV^M 01/08 16:26:18.18 [946] 0+0: FTP-SERVER-SAYS: 227 Entering Passive Mode (217,69,216,146,7,83).^M 01/08 16:26:18.18 [946] 0+0: ##NOT ViaSocks-B## 217.69.216.146:1875 01/08 16:26:18.23 [946] 0+0: ftp_conndata: connected 83.237.29.78:1140->ns.lcard.ru/217.69.216.146:1875 [17] 01/08 16:26:18.23 [946] 0+0: KeepAlive[17] = 1 01/08 16:26:18.23 [946] 0+0: I-SAY: CWD pub/sybase/asentlnx.exe^M 01/08 16:26:18.28 [946] 0+0: FTP-SERVER-SAYS: 550 pub/sybase/asentlnx.exe: Not a directory^M 01/08 16:26:18.28 [946] 0+0: I-SAY: CWD pub/sybase^M 01/08 16:26:18.34 [946] 0+0: FTP-SERVER-SAYS: 250 CWD command successful.^M 01/08 16:26:18.34 [946] 0+0: I-SAY: REST 114452^M 01/08 16:26:18.38 [946] 0+0: FTP-SERVER-SAYS: 350 Restarting at 114452. Send STORE or RETRIEVE to initiate transfer^M 01/08 16:26:18.38 [946] 0+0: I-SAY: RETR asentlnx.exe^M 01/08 16:26:18.44 [946] 0+0: FTP-SERVER-SAYS: 150 Opening BINARY mode data connection for asentlnx.exe (38942771 bytes)^M 01/08 16:26:18.44 [946] 0+0: TMPFILE(ident_copy) = (18) /var/spool/delegate-nobody/tmp/dg946.3.1105230378 01/08 16:26:18.44 [946] 0+0: >>>TMPFILE(ident_copy)>>>8208e58[18] 01/08 16:26:18.60 [948] 0+0: -- Fork(openFilter): 946 -> 948 01/08 16:26:25.60 [948] 0+0: ## got SIGPIPE [1] in HTTP: Gatewaying 01/08 16:26:25.60 [948] 0+0: write_bytes 114600/0000000X 01/08 16:26:25.84 [946] 0+0: ## got SIGPIPE [1] in HTTP: Gatewaying 01/08 16:26:25.84 [946] 0+0: FTP/HTTP DONE: GOT 122880 / 38942771 bytes 01/08 16:26:25.84 [946] 0+0: ## confirm data-conn close(17)=-1 01/08 16:26:26.77 [946] 0+0: HCKA:[0] p:premature client EOF on gatewaying 01/08 16:26:26.77 [946] 0+0: ClientEOF: gatewaying_ftp.SIGPIPE 01/08 16:26:26.77 [946] 0+0: ## [38] don't flush to cause SIGPIPE 01/08 16:26:26.77 [946] 0+0: dirfopen(/var/spool/delegate-nobody/act/clients/23/192.168.12.2:192.168.12.2,r+): 8208e58 [16] 01/08 16:26:26.77 [946] 0+0: disconnected [38] -@[192.168.12.2]192.168.12.2:3524 (9.047s)(0) 01/08 16:26:26.77 [946] 0+0: StickyKill(1): 0/0 killed 01/08 16:26:26.77 [946] 0+0: unlinked /var/spool/delegate-nobody/work/3128/946 01/08 16:26:26.77 [946] 0+0: removed /var/spool/delegate-nobody/work/3128/ -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/