tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrés González" <ang...@gmail.com>
Subject Re: Can Tomcat expose original HTTP request?
Date Tue, 29 Aug 2006 08:34:53 GMT
Can ethereal be executed without a screen? (automated "on the server" sniffing).

I use tcpdump for that matter. If you are using https you may also try ssldump.

On 8/29/06, Santosh Puranshettiwar <santosh@wirkle.com> wrote:
> A sniffer may help in that matter.
> I used Ethreal. Its a pain to use it on windows since you cannot catch
> the packets on the loopback interface.
>
> bill cao wrote:
> > Thanks, I looked RequestDumperValve, seems to me that
> > it logs request url
> > and other info, but you can not retrieve the raw http
> > request.
> >
> >
> > ----- Original Message -----
> > From: "Santosh Puranshettiwar" <santosh@wirkle.com>
> > To: "Tomcat Users List" <users@tomcat.apache.org>
> > Sent: Friday, August 25, 2006 1:04 AM
> > Subject: Re: Can Tomcat expose original HTTP request?
> >
> >
> >
> >> Checkout the RequestDumperValve. It should help.
> >>
> >> bill cao wrote:
> >>
> >>> Hi there, see if anyone knows how to do this.
> >>>  When a http request is sent to Tomcat, Tomcat
> >>>
> > manufactures a
> >
> >>> HTTPServletRequest object based on the raw http
> >>>
> > request.
> >
> >>> HTTPServletRequest has easy method to retrieve the
> >>>
> > request information,
> >
> >>> but I want to see the original raw request. Is
> >>>
> > there a way to have Tomcat
> >
> >>> expose or return the orginal http request, i.e.
> >>>  GET /server/path/file-name.jsp HTTP/1.1
> >>> Accept: */*
> >>> Accept-Language: en-us
> >>> Accept-Encoding: gzip, deflate
> >>> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0;
> >>>
> > Windows NT 5.1; SV1; .NET
> >
> >>> CLR 1.1.4322)
> >>> Host: localhost
> >>> Connection: Keep-Alive
> >>> Cookie: JSESSIONID=2e307e3cd554$02Ub$1A
> >>>
> >>>
> >>>  ---------------------------------
> >>> Stay in the know. Pulse on the new Yahoo.com.
> >>>
> > Check it out.
> >
> >>
> >>
> > ---------------------------------------------------------------------
> >
> >> To start a new topic, e-mail:
> >>
> > users@tomcat.apache.org
> >
> >> To unsubscribe, e-mail:
> >>
> > users-unsubscribe@tomcat.apache.org
> >
> >> For additional commands, e-mail:
> >>
> > users-help@tomcat.apache.org
> >
> >>
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 

-=-=-=-=-=-=-=-=-=-=-=-=-
Andrés González.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message