Article delegate-en/1606 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]
[Reference:<_A1605@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: HTTP CGI Problem.
16 Apr 2002 07:12:38 GMT Corley Kinnane <piqdabdyi-hugik5vqznxr.ml@ml.delegate.org>
University Of Technology, Sydney


Yutaka Sato wrote:

>Hi,
>
>On 04/16/02(15:33) you Corley Kinnane <piqdabdyi-hugik5vqznxr.ml@ml.delegate.org> wrote
>in <_A1604@delegate-en.ML_>
> |04/16 15:46:10 [2689]-P7778 ####! EMERGENCY STOP !####
> |04/16 15:46:10 [2689]-P7778 #### setStopService [/home/delegate/adm/shutout/0.0.0.0]
> |
> |It looks like my upload.cgi script is doing things that your origin 
> |server does not allow.
> |Is there a way for a CGI script to do things locally without being 
> |stopped prior to file access ?
>
>Maybe it is an unknown bug of current DeleGate or known and fixed
>bug in old version of DeleGate.
>Could you show me the version of DeleGate you are using, the mail
>notification from the DeleZate to you (ADMIN), or the stack trace
>of the dumped core if you have ? 
>
>Cheers,
>Yutaka
>--
>  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
> ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
>_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
>
This is the best I can do at the moment Yutaka, it doesn't send me email 
(I notice it's trying to send email from me to me - it might need my 
SMTP password)
Is this a bug or a security feature that this script (a simple http 
upload file script) does not finish and fails to upload a file to a path 
that is writeable by anyone at this stage.

04/16 18:05:24.26 [2854] 0+0: --INITIALIZATION START: 7.7.1 on Linux/2.2.19--
04/16 18:05:24.27 [2855] 0+0: -- Fork(daemon): 1 -> 2855
04/16 18:05:24.27 [2855] 0+0: server_open(delegate,:7778,listen=20)
04/16 18:05:24.27 [2855] 0+0: server_open(delegate,:7778) BOUND
04/16 18:05:24.27 [2855] 0+0: DGROOT=/home/delegate^M
04/16 18:05:24.27 [2855] 0+0: <DeleGate/7.7.1 by ysato@delegate.org> [2855] -P7778 READY^M
04/16 18:05:24.27 [2855] 0+0: PORT= 7778/7 (30,98)
04/16 18:05:24.27 [2855] 0+0: OWNER=nobody => OWNER=nobody/nogroup(nobody/nogroup)
04/16 18:05:24.27 [2855] 0+0: REMITTABLE = file,cgi
04/16 18:05:24.29 [2855] 0+0: LIBPATH: sslway -> /home/delegate/lib/sslway
04/16 18:05:24.29 [2855] 0+0: ADMIN=Corley.Kinnane@uts..au protocol=http(specialist)
04/16 18:05:24.29 [2855] 0+0: #### CACHE DISABLED #### Cache directory seems not exist: /home/delegate/cache
04/16 18:05:24.29 [2855] 0+0: WORKDIR=/home/delegate/work/7778
04/16 18:05:24.29 [2855] 0+0: MOUNT[0]=[0] /-* =
04/16 18:05:24.29 [2855] 0+0: MOUNT[1]=[1] /=* =
04/16 18:05:24.29 [2855] 0+0: MOUNT[2]=[2] /* file:///home/delegate/http/*
04/16 18:05:24.31 [2855] 0+0: Stay open PIDFILE for accept() lock[fd=13]
04/16 18:05:24.31 [2855] 0+0: env[16] LIBPATH=.:/home/delegate:/home/delegate/lib:.
04/16 18:05:24.31 [2855] 0+0: arg[2] ADMIN=Corley.Kinnane@uts..au
04/16 18:05:24.31 [2855] 0+0: arg[3] FCL=sslway
04/16 18:05:24.31 [2855] 0+0: arg[4] SERVER=http
04/16 18:05:24.31 [2855] 0+0: arg[5] REMITTABLE=file,cgi
04/16 18:05:24.31 [2855] 0+0: arg[6] MOUNT=/* /home/delegate/http/*
04/16 18:05:24.31 [2855] 0+0: arg[7] RELIABLE=gummo,138.25.82.220
04/16 18:05:24.31 [2855] 0+0: DELEGATE_Modified[1]: 3cbbdb44
04/16 18:05:24.31 [2855] 0+0: --INITIALIZATION DONE--
04/16 18:05:32.05 [2856] 1+0: -- Fork(SequentialServer): 2855 -> 2856
04/16 18:05:32.06 [2856] 1+1: (0) accepted [41] -@[138.25.82.220]138.25.82.220:4128 (0.006s)(1)
04/16 18:05:32.06 [2857] 1+1: -- Fork(FCL): 2856 -> 2857
04/16 18:05:32.06 [2857] 1+1: #### execFilter[FCL] [/home/delegate/lib/sslway]sslway
04/16 18:05:32.13 [2856] 1+1: Proxy: host=138.25.82.220; User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1; Via: 1.1 - (DeleGate/7.7.1);
04/16 18:05:32.14 [2856] 1+1: *** / => file://localhost/home/delegate/http/ ***
04/16 18:05:32.14 [2856] 1+1: REQUEST - GET / HTTP/1.1^M
04/16 18:05:32.14 [2856] 1+1: *** / => file://localhost/home/delegate/http/ ***
04/16 18:05:32.14 [2856] 1+1: REQUEST +M file://localhost/home/delegate/http/ HTTP/1.1^M
04/16 18:05:32.14 [2856] 1+1: HTTP GateWay > file://localhost:-21/GET /home/delegate/http/ HTTP/1.1^M
04/16 18:05:32.14 [2856] 1+1: PATH> file://localhost:-21!chico.science.uts.edu.au:7778!138.25.82.220:4128!anonymous@138.25.82.220;1018944332
04/16 18:05:32.14 [2856] 1+1: REQUEST = (no-cache)[file://localhost:-21/] GET /home/delegate/http/ HTTP/1.1^M
04/16 18:05:32.14 [2856] 1+1: checking delegate-internal: self=0 GET /home/delegate/http/ HTTP/1.1^M
04/16 18:05:32.14 [2856] 1+1: ## openHttpResponseFilter: clnt=1 will=0 chunk=1
04/16 18:05:32.14 [2858] 1+1: -- Fork(openFilter): 2856 -> 2858
04/16 18:05:32.15 [2858] 1+1: #HT11 SERVER ver[HTTP/1.1] conn[close]
04/16 18:05:32.15 [2858] 1+1: HTTP/1.1 200 Content-{Type:text/html Encoding:[/] Leng:212} Server:DeleGate/7.7.1
04/16 18:05:32.15 [2858] 1+1: Content-Length: 212 -> 195 (419 - 224)
04/16 18:05:32.15 [2858] 1+1: HTTP transmitted: 241head+212/212body=>0txt+0bin->195/195, 10i/2o/0f/0.0
04/16 18:05:32.15 [2856] 1+1/1: HCKA:[1] closed -- v:via proxy
04/16 18:05:32.16 [2856] 1+1/1: disconnected [41] -@[138.25.82.220]138.25.82.220:4128 (0.104s)(0)
04/16 18:05:32.16 [2856] 1+1/1: CFI process [2857] done (1/1 AFT-0)
04/16 18:05:34.49 [2855] 1+0: AcceptByMain: locked out*1/0 by Sticky*1 0/0
04/16 18:05:34.49 [2856] 1+2: (0) accepted [18] -@[138.25.82.220]138.25.82.220:4129 (0.001s)(1)
04/16 18:05:34.49 [2859] 1+2: -- Fork(FCL): 2856 -> 2859
04/16 18:05:34.49 [2859] 1+2: #### execFilter[FCL] [/home/delegate/lib/sslway]sslway
04/16 18:05:34.56 [2856] 1+2: Proxy: host=138.25.82.220; User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1; Via: 1.1 - (DeleGate/7.7.1);
04/16 18:05:34.56 [2856] 1+2: *** /upload.cgi => file://localhost/home/delegate/http/upload.cgi ***
04/16 18:05:34.56 [2856] 1+2: REQUEST - GET /upload.cgi HTTP/1.1^M
04/16 18:05:34.57 [2856] 1+2: *** /upload.cgi => file://localhost/home/delegate/http/upload.cgi ***
04/16 18:05:34.57 [2856] 1+2: REQUEST +M file://localhost/home/delegate/http/upload.cgi HTTP/1.1^M
04/16 18:05:34.57 [2856] 1+2: HTTP GateWay > file://localhost:-21/GET /home/delegate/http/upload.cgi HTTP/1.1^M
04/16 18:05:34.57 [2856] 1+2: PATH> file://localhost:-21!chico.science.uts.edu.au:7778!138.25.82.220:4129!anonymous@138.25.82.220;1018944334
04/16 18:05:34.57 [2856] 1+2: REQUEST = [file://localhost:-21/] GET /home/delegate/http/upload.cgi HTTP/1.1^M
04/16 18:05:34.57 [2856] 1+2: checking delegate-internal: self=0 GET /home/delegate/http/upload.cgi HTTP/1.1^M
04/16 18:05:34.57 [2856] 1+2: chdir(/home/delegate/http)
04/16 18:05:34.57 [2860] 1+2: -- Fork(CGI): 2856 -> 2860
04/16 18:05:34.88 [2856] 1+2: simple_relayf [22 -> 14] = 364
04/16 18:05:34.88 [2856] 1+2: simple_relay [22 -> 14] = (0 -> 0) / 0
04/16 18:05:34.90 [2856] 1+2: Wait*0 CGI-program exit: 2860 / 2860 (0)
04/16 18:05:34.90 [2856] 1+2/1: HCKA:[1] closed -- v:via proxy
04/16 18:05:34.90 [2856] 1+2/1: disconnected [18] -@[138.25.82.220]138.25.82.220:4129 (0.415s)(0)
04/16 18:05:34.90 [2856] 1+2/1: CFI process [2859] done (1/1 AFT-0)
04/16 18:05:34.90 [2856] 1+2: StickyServer done [nonStickyProtocol(http:file:file)] 2 req / 2 conn / 2 sec
04/16 18:05:42.21 [2861] 2+0: -- Fork(SequentialServer): 2855 -> 2861
04/16 18:05:42.22 [2861] 2+1: (0) accepted [37] -@[138.25.82.220]138.25.82.220:4130 (0.006s)(1)
04/16 18:05:42.22 [2862] 2+1: -- Fork(FCL): 2861 -> 2862
04/16 18:05:42.22 [2862] 2+1: #### execFilter[FCL] [/home/delegate/lib/sslway]sslway
04/16 18:05:42.30 [2861] 2+1: Proxy: host=138.25.82.220; User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1; Via: 1.1 - (DeleGate/7.7.1);
04/16 18:05:42.30 [2861] 2+1: *** /upload.cgi => file://localhost/home/delegate/http/upload.cgi ***
04/16 18:05:42.30 [2861] 2+1: REQUEST - POST /upload.cgi HTTP/1.1^M
04/16 18:05:42.30 [2861] 2+1: *** /upload.cgi => file://localhost/home/delegate/http/upload.cgi ***
04/16 18:05:42.30 [2861] 2+1: REQUEST +M file://localhost/home/delegate/http/upload.cgi HTTP/1.1^M
04/16 18:05:42.31 [2861] 2+1: HTTP GateWay > file://localhost:-21/POST /home/delegate/http/upload.cgi HTTP/1.1^M
04/16 18:05:42.31 [2861] 2+1: PATH> file://localhost:-21!chico.science.uts.edu.au:7778!138.25.82.220:4130!anonymous@138.25.82.220;1018944342
04/16 18:05:42.31 [2861] 2+1: REQUEST = [file://localhost:-21/] POST /home/delegate/http/upload.cgi HTTP/1.1^M
04/16 18:05:42.31 [2861] 2+1: checking delegate-internal: self=0 POST /home/delegate/http/upload.cgi HTTP/1.1^M
04/16 18:05:42.31 [2861] 2+1: *** /upload.cgi => file://localhost/home/delegate/http/upload.cgi ***
04/16 18:05:42.31 [2861] 2+1: chdir(/home/delegate/http)
04/16 18:05:42.31 [2863] 2+1: -- Fork(CGI): 2861 -> 2863
04/16 18:05:42.67 [2861] 2+1: ####! EMERGENCY STOP !####
04/16 18:05:42.67 [2861] 2+1: #### setStopService [/home/delegate/adm/shutout/0.0.0.0]
04/16 18:05:42.67 [2861] 2+1: Kill(2864,9)
04/16 18:05:42.68 [2861] 2+1: ConnectToServer connected [22] {138.25.22.58:25 <- 138.25.83.225:1233} [0.001s]
04/16 18:05:42.69 [2861] 2+1: SMTP > 220 homer -- Server ESMTP (iPlanet Messaging Server 5.2 (built Feb 21 2002))^M
04/16 18:05:42.69 [2861] 2+1: getting FQDN of chico.science.uts.edu.au ...
04/16 18:05:42.69 [2861] 2+1: SMTP < HELO chico.science.uts.edu.au^M
04/16 18:05:42.69 [2861] 2+1: SMTP > 250 homer OK, chico.science.uts.edu.au [138.25.83.225].^M
04/16 18:05:42.69 [2861] 2+1: SMTP : From: <Corley.Kinnane@uts..au> -- Corley.Kinnane@..au^M
04/16 18:05:42.69 [2861] 2+1: SMTP < MAIL From: <Corley.Kinnane@uts..au>^M
04/16 18:05:42.69 [2861] 2+1: SMTP > 250 2.5.0 Address Ok.^M
04/16 18:05:42.69 [2861] 2+1: SMTP : <Corley.Kinnane@uts..au>: To -- Corley.Kinnane@..au^M
04/16 18:05:42.69 [2861] 2+1: SMTP < RCPT To: <Corley.Kinnane@uts..au>^M
04/16 18:05:42.69 [2861] 2+1: SMTP > 250 2.1.5 Corley.Kinnane@uts..au OK.^M
04/16 18:05:42.69 [2861] 2+1: SMTP < DATA^M
04/16 18:05:42.70 [2861] 2+1: SMTP > 354 Enter mail, end with a single ".".^M
04/16 18:05:42.72 [2866] 2+1: -- Fork(FATAL): 2861 -> 2866
04/16 18:05:42.73 [2866] 2+1: E-A: ABORT: caught SIGSEGV [11]
04/16 18:05:42.73 [2866] 2+1: E-A: core will be at /home/delegate/work/7778

-- 
Time keeps turning round,
It knows little of it's past,
Stay upon your path.
+----------------\
| Corley Kinnane,
| Systems Administrator,
| Faculty Of Science,
| University Of Technology,
| Sydney. Phone: x1742, (00) 0000 0001
| Homepage: http://orac.tripod.com/ 8^)
+--------------------------------/







UTS CRICOS Provider Code:  00099F

DISCLAIMER
=====================================================================
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
====================================================================




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