www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Ford <sf...@geeky-boy.com>
Subject mod_proxy/9655: apache_1.3.23 proxy bug with multiple cookies
Date Wed, 30 Jan 2002 22:48:30 GMT

>Number:         9655
>Category:       mod_proxy
>Synopsis:       apache_1.3.23 proxy bug with multiple cookies
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jan 30 14:50:00 PST 2002
>Originator:     sford@geeky-boy.com
>Release:        apache_1.3.23
Sun Ultra 5
uname -a:
SunOS prometheus 5.7 Generic_106541-06 sun4u sparc SUNW,Ultra-5_10

gcc -v:
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
When running apache 1.3.23 as a proxy, it does not properly pass multiple
"Set-Cookie:" headers to the client.  I tried to log into mail.yahoo.com and
it responded with three cookies.  Apache discarded the first two and only
passed the third "Set-Cookie:" header line to the client.  (This was verified
by packet snooping.)

As a check, I built and configured apache_1.3.22 exactly the same way.  It
appears to work properly.

I built apache with:
  ./configure --prefix=/home/sford/apache --enable-module=rewrite --enable-module=proxy --disable-rule=SHARED_CORE

I configured the proxy with:
    ProxyRequests On
    <Directory proxy:*>
        Order deny,allow
        Deny from all
        Allow from
    ProxyVia On
    CacheRoot "/home/sford/apache/proxy"
    CacheSize 1
    CacheGcInterval 4
    CacheMaxExpire 24
    CacheLastModifiedFactor 0.1
    CacheDefaultExpire 1
Build 1.3.23 as above and configure a client to proxy through it.  Then try to
log into mail.yahoo.com.  (Make sure the client doesn't already have cookies
set.)  It helps to do a packet dump of both sides of apache.

 [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!     ]

View raw message