Headers Spanning in multiple TCP segment.

--0016363b843ebea2e50483eca228
Content-Type: text/plain; charset=ISO-8859-1

Good Evening Everybody,

I am trying to send a authorization header where token in pretty big( around
2.5 kb).
It is going in form of
Authorization: Custom value<Big Token>

However apache responds me with bad request. looking at the tcpdump I see
the header spanning in two tcp packets. I was wondering if that is the
reason apache is giving me back bad request?
Can I specify some special options to take care this kind of scenerio?

Any clue will be highly appreciated.

Thank you.
rn

--0016363b843ebea2e50483eca228
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Good Evening Everybody,<div><br></div><div>I am trying to send a authorizat=
ion header where token in pretty big( around 2.5 kb).</div><div>It is going=
in form of=A0</div><div>Authorization: =A0Custom value<Big Token></d=
iv>
<div><br></div><div>However apache responds me with bad request. looking at=
the tcpdump I see the header spanning in two tcp packets. I was wondering =
if that is the reason apache is giving me back bad request?</div><div>Can I=
specify some special options to take care this kind of scenerio?</div>
<div><br></div><div>Any clue will be highly appreciated.</div><div><br></di=
v><div>Thank you.</div><div>rn</div>

--0016363b843ebea2e50483eca228--
rangeli nepal [ So, 11 April 2010 04:17 ] [ ID #2038459 ]

Re: Headers Spanning in multiple TCP segment.

On Sat, Apr 10, 2010 at 10:17 PM, rangeli nepal <rangeli.nepal [at] gmail.com> w=
rote:
> Good Evening Everybody,
> I am trying to send a authorization header where token in pretty big( aro=
und
> 2.5 kb).
> It is going in form of
> Authorization: =A0Custom value<Big Token>
> However apache responds me with bad request. looking at the tcpdump I see
> the header spanning in two tcp packets. I was wondering if that is the
> reason apache is giving me back bad request?

2.5k shouldn't be a problem, unless you've limited beyone the default
with LimitRequestFeldSize. Try adding %{error-notes}n to your
logformat and check your errorlog.

--
Eric Covener
covener [at] gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Eric Covener [ So, 11 April 2010 04:33 ] [ ID #2038460 ]

Re: Headers Spanning in multiple TCP segment.

--00163630fd5b502e710483f46a15
Content-Type: text/plain; charset=ISO-8859-1

will %{error-notes}n work on https too. I am asking it as I am getting
following statement in ssl_error.log

[Sun Apr 11 07:34:40 2010] [error] [client 192.168.128.122] request failed:
error reading the headers
[Sun Apr 11 07:34:40 2010] [debug] ssl_engine_kernel.c(1884): OpenSSL:
Write: SSL negotiation finished successfully

Thank you.
Santos

On Sat, Apr 10, 2010 at 10:33 PM, Eric Covener <covener [at] gmail.com> wrote:

> On Sat, Apr 10, 2010 at 10:17 PM, rangeli nepal <rangeli.nepal [at] gmail.com>
> wrote:
> > Good Evening Everybody,
> > I am trying to send a authorization header where token in pretty big(
> around
> > 2.5 kb).
> > It is going in form of
> > Authorization: Custom value<Big Token>
> > However apache responds me with bad request. looking at the tcpdump I see
> > the header spanning in two tcp packets. I was wondering if that is the
> > reason apache is giving me back bad request?
>
> 2.5k shouldn't be a problem, unless you've limited beyone the default
> with LimitRequestFeldSize. Try adding %{error-notes}n to your
> logformat and check your errorlog.
>
> --
> Eric Covener
> covener [at] gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>
>

--00163630fd5b502e710483f46a15
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

will=A0%{error-notes}n work on https too. I am asking it as I am getting fo=
llowing statement in ssl_error.log<div><br></div><div><div>[Sun Apr 11 07:3=
4:40 2010] [error] [client 192.168.128.122] request failed: error reading t=
he headers</div>
<div>[Sun Apr 11 07:34:40 2010] [debug] ssl_engine_kernel.c(1884): OpenSSL:=
Write: SSL negotiation finished successfully</div><div><br></div><div>Than=
k you.</div><div>Santos</div><br><div class=3D"gmail_quote">On Sat, Apr 10,=
2010 at 10:33 PM, Eric Covener <span dir=3D"ltr"><<a href=3D"mailto:cov=
ener [at] gmail.com">covener [at] gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><div class=3D"im">On Sat, Apr 10, 2010 at 1=
0:17 PM, rangeli nepal <<a href=3D"mailto:rangeli.nepal [at] gmail.com">range=
li.nepal [at] gmail.com</a>> wrote:<br>

> Good Evening Everybody,<br>
> I am trying to send a authorization header where token in pretty big( =
around<br>
> 2.5 kb).<br>
> It is going in form of<br>
> Authorization: =A0Custom value<Big Token><br>
> However apache responds me with bad request. looking at the tcpdump I =
see<br>
> the header spanning in two tcp packets. I was wondering if that is the=
<br>
> reason apache is giving me back bad request?<br>
<br>
</div>2.5k shouldn't be a problem, unless you've limited beyone the=
default<br>
with LimitRequestFeldSize. =A0Try adding %{error-notes}n to your<br>
logformat and check your errorlog.<br>
<br>
--<br>
Eric Covener<br>
<a href=3D"mailto:covener [at] gmail.com">covener [at] gmail.com</a><br>
<br>
------------------------------------------------------------ ---------<br>
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:<a href=3D"http://httpd.apache.org/userslist.html" target=3D"_b=
lank">http://httpd.apache.org/userslist.html</a>> for more info.<br>
To unsubscribe, e-mail: <a href=3D"mailto:users-unsubscribe [at] httpd.apache.or=
g">users-unsubscribe [at] httpd.apache.org</a><br>
=A0 " =A0 from the digest: <a href=3D"mailto:users-digest-unsubscribe=
[at] httpd.apache.org">users-digest-unsubscribe [at] httpd.apache.org</a><br>
For additional commands, e-mail: <a href=3D"mailto:users-help [at] httpd.apache.=
org">users-help [at] httpd.apache.org</a><br>
<br>
</blockquote></div><br></div>

--00163630fd5b502e710483f46a15--
rangeli nepal [ So, 11 April 2010 13:34 ] [ ID #2038461 ]
Webserver » gmane.comp.apache.user » Headers Spanning in multiple TCP segment.

Vorheriges Thema: Deny from all force
Nächstes Thema: use ssi to enforce Content-disposition header