www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Keller <kel...@bfg.com>
Subject mod_proxy/5972: Proxy cannot connect to many IIS 4.0 sites
Date Sun, 09 Apr 2000 01:37:40 GMT

>Number:         5972
>Category:       mod_proxy
>Synopsis:       Proxy cannot connect to many IIS 4.0 sites
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Apr 08 18:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     keller@bfg.com
>Release:        1.3.9
>Organization:
apache
>Environment:
Solaris 2.7
GCC-2.95.2
SunOS ns2.bfg.com 5.7 Generic_106541-05 sun4u sparc SUNW,Ultra-4
>Description:
Recently, we've noted a growing number of IIS 4.0 sites which we cannot connect to.  The server
gets hung in a read state which eventually times out.

snoops of the connection show that data is transfered - however on the failed sites, the final
0a0d character sequence is missing.

Browers direct or through socks do not have the problem.  However, socks5 indicates the read
completed abnormally.

Attached is a small snoop snippit...

ns1.bfg.com# ns1.bfg.com% more tric.lis
  1   0.00000 gateway.bfg.com -> 141.110.21.7 TCP D=80 S=62088 Syn Seq=146627370
3 Len=0 Win=64240

           0: 00d0 bbd3 16a0 0800 208c f386 0800 4500    ........ .....E.
          16: 002c 79a5 4000 ff06 def2 83bb fd02 8d6e    .,y.@..........n
          32: 1507 f288 0050 5765 8fa7 0000 0000 6002    .....PWe......`.
          48: faf0 a01c 0000 0204 05b4                   ..........

  2   0.00925 141.110.21.7 -> gateway.bfg.com TCP D=62088 S=80 Syn Ack=146627370
4 Seq=96813986 Len=0 Win=8760

           0: 0800 208c f386 00d0 bbd3 16a0 0800 4500    .. ...........E.
          16: 002c 667a 4000 7806 791e 8d6e 1507 83bb    .,fz@.x.y..n....
          32: fd02 0050 f288 05c5 43a2 5765 8fa8 6012    ...P....C.We..`.
          48: 2238 2f5d 0000 0204 05b4 0000              "8/]........

  3   0.00004 gateway.bfg.com -> 141.110.21.7 TCP D=80 S=62088     Ack=96813987 
Seq=1466273704 Len=0 Win=64240

           0: 00d0 bbd3 16a0 0800 208c f386 0800 4500    ........ .....E.
          16: 0028 79a6 4000 ff06 def5 83bb fd02 8d6e    .(y.@..........n
          32: 1507 f288 0050 5765 8fa8 05c5 43a3 5010    .....PWe....C.P.
          48: faf0 6e61 0000                             .na..

  4   0.00136 gateway.bfg.com -> 141.110.21.7 TCP D=80 S=62088     Ack=96813987 
Seq=1466273704 Len=254 Win=64240

           0: 00d0 bbd3 16a0 0800 208c f386 0800 4500    ........ .....E.
          16: 0126 79a7 4000 ff06 ddf6 83bb fd02 8d6e    .&y.@..........n
          32: 1507 f288 0050 5765 8fa8 05c5 43a3 5018    .....PWe....C.P.
          48: faf0 8485 0000 4745 5420 2f6d 7962 622e    ......GET /mybb.
          64: 6874 6d6c 2048 5454 502f 312e 300d 0a48    html HTTP/1.0..H
          80: 6f73 743a 2064 6c63 6262 2e74 7269 2d63    ost: dlcbb.tri-c
          96: 2e63 632e 6f68 2e75 730d 0a41 6363 6570    .cc.oh.us..Accep
         112: 743a 2069 6d61 6765 2f67 6966 2c20 696d    t: image/gif, im
         128: 6167 652f 782d 7862 6974 6d61 702c 2069    age/x-xbitmap, i
         144: 6d61 6765 2f6a 7065 672c 2069 6d61 6765    mage/jpeg, image
         160: 2f70 6a70 6567 2c20 696d 6167 652f 706e    /pjpeg, image/pn
         176: 672c 202a 2f2a 0d0a 4163 6365 7074 2d43    g, */*..Accept-C
         192: 6861 7273 6574 3a20 6973 6f2d 3838 3539    harset: iso-8859
         208: 2d31 2c2a 2c75 7466 2d38 0d0a 4163 6365    -1,*,utf-8..Acce
         224: 7074 2d45 6e63 6f64 696e 673a 2067 7a69    pt-Encoding: gzi
         240: 700d 0a41 6363 6570 742d 4c61 6e67 7561    p..Accept-Langua
         256: 6765 3a20 656e 0d0a 5573 6572 2d41 6765    ge: en..User-Age
         272: 6e74 3a20 4d6f 7a69 6c6c 612f 342e 3631    nt: Mozilla/4.61
         288: 205b 656e 5d20 2857 696e 3935 3b20 5529     [en] (Win95; U)
         304: 0d0a 0d0a                                  ....

  5   0.02458 141.110.21.7 -> gateway.bfg.com TCP D=62088 S=80 Fin Ack=146627395
8 Seq=96815114 Len=0 Win=8506

           0: 0800 208c f386 00d0 bbd3 16a0 0800 4500    .. ...........E.
          16: 0028 687a 4000 7806 7722 8d6e 1507 83bb    .(hz@.x.w".n....
          32: fd02 0050 f288 05c5 480a 5765 90a6 5011    ...P....H.We..P.
          48: 213a 42b2 0000 0000 0000 0000              !:B.........

  6   0.00780 141.110.21.7 -> gateway.bfg.com TCP D=62088 S=80     Ack=146627395
8 Seq=96813987 Len=1127 Win=8506

           0: 0800 208c f386 00d0 bbd3 16a0 0800 4500    .. ...........E.
          16: 048f 677a 4000 7806 73bb 8d6e 1507 83bb    ..gz@.x.s..n....
          32: fd02 0050 f288 05c5 43a3 5765 90a6 5018    ...P....C.We..P.
          48: 213a 7bf6 0000 4854 5450 2f31 2e31 2032    !:{...HTTP/1.1 2
          64: 3030 204f 4b0d 0a53 6572 7665 723a 204d    00 OK..Server: M
          80: 6963 726f 736f 6674 2d49 4953 2f34 2e30    icrosoft-IIS/4.0
          96: 0d0a 4461 7465 3a20 5765 642c 2030 3520    ..Date: Wed, 05 
         112: 4170 7220 3230 3030 2032 323a 3332 3a35    Apr 2000 22:32:5
         128: 3820 474d 540d 0a43 6f6e 7465 6e74 2d54    8 GMT..Content-T
         144: 7970 653a 2074 6578 742f 6874 6d6c 0d0a    ype: text/html..
         160: 4163 6365 7074 2d52 616e 6765 733a 2062    Accept-Ranges: b
         176: 7974 6573 0d0a 4c61 7374 2d4d 6f64 6966    ytes..Last-Modif
         192: 6965 643a 2046 7269 2c20 3139 204e 6f76    ied: Fri, 19 Nov
         208: 2031 3939 3920 3230 3a35 303a 3534 2047     1999 20:50:54 G
         224: 4d54 0d0a 4554 6167 3a20 2230 3862 3535    MT..ETag: "08b55
         240: 6335 6366 3332 6266 313a 3161 3036 220d    c5cf32bf1:1a06".
         256: 0a43 6f6e 7465 6e74 2d4c 656e 6774 683a    .Content-Length:
         272: 2039 3031 0d0a 0d0a 3c68 746d 6c3e 0d0a     901....<html>..
         288: 3c68 6561 643e 0d0a 3c74 6974 6c65 3e43    <head>..<title>C
         304: 6f75 7273 6549 6e66 6f20 7634 2e30 3c2f    ourseInfo v4.0</
         320: 7469 746c 653e 0d0a 3c2f 6865 6164 3e0d    title>..</head>.
         336: 0a20 2020 3c66 7261 6d65 7365 7420 626f    .   <frameset bo
         352: 7264 6572 3d30 2063 6f6c 733d 2231 3535    rder=0 cols="155
         368: 2c20 2a22 3e0d 0a20 2020 093c 6672 616d    , *">..   .<fram
         384: 6520 7372 633d 222f 6269 6e2f 636f 6d6d    e src="/bin/comm
         400: 6f6e 2f6d 7962 625f 746f 632e 706c 2220    on/mybb_toc.pl" 
         416: 6e61 6d65 3d22 6d79 6262 746f 6322 2062    name="mybbtoc" b
         432: 6f72 6465 723d 3020 6d61 7267 696e 7769    order=0 marginwi
         448: 6474 683d 3220 6d61 7267 696e 6865 6967    dth=2 marginheig
         464: 6874 3d30 2074 6974 6c65 3d22 426c 6163    ht=0 title="Blac
         480: 6b62 6f61 7264 2043 6f75 7273 6549 6e66    kboard CourseInf
         496: 6f20 342e 3022 3e0d 0a20 2020 2020 203c    o 4.0">..      <
         512: 6672 616d 6573 6574 2062 6f72 6465 723d    frameset border=
         528: 3020 726f 7773 3d22 3535 2c20 2a22 3e0d    0 rows="55, *">.
         544: 0a20 2020 2020 2020 2020 3c66 7261 6d65    .         <frame
         560: 2073 7263 3d22 2f62 696e 2f63 6f6d 6d6f     src="/bin/commo
         576: 6e2f 6d79 6262 5f74 6f70 2e70 6c22 206e    n/mybb_top.pl" n
         592: 616d 653d 226d 7962 6274 6f70 2220 626f    ame="mybbtop" bo
         608: 7264 6572 3d30 206d 6172 6769 6e77 6964    rder=0 marginwid
         624: 7468 3d30 206d 6172 6769 6e68 6569 6768    th=0 marginheigh
         640: 743d 3020 7469 746c 653d 2242 6c61 636b    t=0 title="Black
         656: 626f 6172 6420 436f 7572 7365 496e 666f    board CourseInfo
         672: 2034 2e30 223e 0d0a 2020 2009 2020 203c     4.0">..   .   <
         688: 6672 616d 6520 7372 633d 222f 6269 6e2f    frame src="/bin/
         704: 636f 6d6d 6f6e 2f6d 7962 625f 686f 6d65    common/mybb_home
         720: 2e70 6c22 206e 616d 653d 226d 7962 626d    .pl" name="mybbm
         736: 6169 6e22 2062 6f72 6465 723d 3020 6d61    ain" border=0 ma
         752: 7267 696e 7769 6474 683d 3020 6d61 7267    rginwidth=0 marg
         768: 696e 6865 6967 6874 3d30 2074 6974 6c65    inheight=0 title
         784: 3d22 426c 6163 6b62 6f61 7264 2043 6f75    ="Blackboard Cou
         800: 7273 6549 6e66 6f20 342e 3022 3e0d 0a20    rseInfo 4.0">.. 
         816: 2020 093c 2f66 7261 6d65 7365 743e 0d0a      .</frameset>..
         832: 2020 203c 2f66 7261 6d65 7365 743e 0d0a       </frameset>..
         848: 3c62 6f64 7920 6267 636f 6c6f 723d 2223    <body bgcolor="#
         864: 6666 6666 6666 2220 7465 7874 3d22 2330    ffffff" text="#0
         880: 3030 3030 3022 3e0d 0a3c 4e4f 4652 414d    00000">..<NOFRAM
         896: 4553 3e0d 0a43 6f75 7273 6573 2062 7920    ES>..Courses by 
         912: 436f 7572 7365 496e 666f 2076 342e 3020    CourseInfo v4.0 
         928: 6172 6520 6265 7374 2076 6965 7765 6420    are best viewed 
         944: 7769 7468 203c 6120 6872 6566 3d22 6874    with <a href="ht
         960: 7470 3a2f 2f68 6f6d 652e 6e65 7473 6361    tp://home.netsca
         976: 7065 2e63 6f6d 2220 7461 7267 6574 3d5f    pe.com" target=_
         992: 746f 703e 4e65 7473 6361 7065 204e 6176    top>Netscape Nav
        1008: 6967 6174 6f72 3c2f 613e 206f 7220 3c61    igator</a> or <a
        1024: 2068 7265 663d 2268 7474 703a 2f2f 7777     href="http://ww
        1040: 772e 6d69 6372 6f73 6f66 742e 636f 6d22    w.microsoft.com"
        1056: 2074 6172 6765 743d 5f74 6f70 223e 4d69     target=_top">Mi
        1072: 6372 6f73 6f66 7420 496e 7465 726e 6574    crosoft Internet
        1088: 2045 7870 6c6f 7265 723c 2f61 3e2e 0d0a     Explorer</a>...
        1104: 506c 6561 7365 2064 6f77 6e6c 6f61 6420    Please download 
        1120: 6f6e 6520 696e 206f 7264 6572 2074 6f20    one in order to 
        1136: 636f 6e74 696e 7565 2e0d 0a3c 2f62 6f64    continue...</bod
        1152: 793e 0d0a 3c2f 4e4f 4652 414d 4553 3e20    y>..</NOFRAMES> 
        1168: 2020 2020 0d0a 3c2f 6874 6d6c 3e            ..</html>

  7   0.04829 gateway.bfg.com -> 141.110.21.7 TCP D=80 S=62088     Ack=96815114 
Seq=1466273958 Len=0 Win=64240

           0: 00d0 bbd3 16a0 0800 208c f386 0800 4500    ........ .....E.
          16: 0028 79a8 4000 ff06 def3 83bb fd02 8d6e    .(y.@..........n
          32: 1507 f288 0050 5765 90a6 05c5 480a 5010    .....PWe....H.P.
          48: faf0 68fc 0000                             .h..

ns1


>How-To-Repeat:
support.dell.com  (this one is pretty important)
>Fix:
Process gets hung in buff_read while reading to the socket.  It appears that the read doesn't
complete (no EOF is sent) hence always returns negative return.

One idea is to return any data read regardless of the final IO status.  Timeouts will still
be an issue.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message